Skip to main content
Version: 4.3.4

Android configuration


When you install this plugin you need to configure the plugin on Android before run the project again . If you don't do it you will have a No implementation found error because the facebook SDK on Android throws an Exception when the configuration is not defined yet and this locks the other plugins in your project. If you don't need the plugin yet please remove or comment it.

Go to Facebook Login for Android - Quickstart

  1. Select an App or Create a New App
  1. Skip the step 2 (Download the Facebook App)

  2. Skip the step 3 (Integrate the Facebook SDK)

  3. Edit Your Resources and Manifest add this config in your android project

    • Open your /android/app/src/main/res/values/strings.xml file, or create one if it doesn't exists.

    • Add the following (replace {your-app-id} with your facebook app Id) and with your client token:

          <string name="facebook_app_id">{your-app-id}</string>
      <string name="facebook_client_token">YOUR_CLIENT_TOKEN</string>

      Here one example of strings.xml

      <?xml version="1.0" encoding="utf-8"?>
      <string name="facebook_app_id">1365719610250300</string>
      <string name="facebook_client_token">YOUR_CLIENT_TOKEN</string>

      You can find the client token in your facebook developers console

    • Open the /android/app/src/main/AndroidManifest.xml file.

    • Add the following uses-permission element after the application element

      <uses-permission android:name="android.permission.INTERNET"/>
    • Add the following meta-data element, an activity for Facebook, and an activity and intent filter for Chrome Custom Tabs inside your application element

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

      Here one example of AndroidManifest.xml

      <manifest xmlns:android=""
      <uses-permission android:name="android.permission.INTERNET" />
      android:label="facebook auth">

      android:value="@string/facebook_app_id" />

      android:resource="@style/NormalTheme" />
      android:resource="@drawable/launch_background" />
      <action android:name="android.intent.action.MAIN" />
      <category android:name="android.intent.category.LAUNCHER" />
      android:value="2" />
  1. Associate Your Package Name and Default Class with Your App

    1. Provide the Development and Release Key Hashes for Your App

    To find info to how to generate you key hash go to

    Note: if your application uses Google Play App Signing then you should get certificate SHA-1 fingerprint from Google Play Console and convert it to base64

    You should add key hashes for every build variants like release, debug, CI/CD, etc.

  1. Queries Apps that target Android API 30+ (Android 11+) cannot call Facebook native apps unless the package visibility needs are declared. Please follow to make the declaration. To solve it you have to add in the AndroidManifest.xml file:
<manifest package="">
<provider android:authorities="com.facebook.katana.provider.PlatformProvider" />