Skip to content Skip to sidebar Skip to footer

Facebook Provider Unconfigured. Make Sure To Add A `facebook_application_id` String

I'm using Firebase UI Sign In and trying to implement Facebook sign in into my android app. When launching the firebase ui activity I get: 'java.lang.IllegalStateException: Facebo

Solution 1:

Add Facebook Provider in Manifest as mentioned here.

Append your app id to the end of the authorities value. For example if your Facebook app id is 1234, the declaration looks like:

<providerandroid:authorities="com.facebook.app.FacebookContentProvider1234"android:name="com.facebook.FacebookContentProvider"android:exported="true" />

Solution 2:

Use this is AndroidManifest.xml

<meta-data
        android:name="com.facebook.sdk.ApplicationId"
        android:value="@string/FACEBOOK_FB_APP_ID" />

and in strings.xml

    <string name="FACEBOOK_FB_APP_ID">{application id}</string>

Post a Comment for "Facebook Provider Unconfigured. Make Sure To Add A `facebook_application_id` String"