Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The SDK has not been initialized, make sure to call FacebookSdk.sdkInitialize() first. #25

Closed
tim-teacher opened this issue Apr 3, 2020 · 3 comments

Comments

@tim-teacher
Copy link

I receive The SDK has not been initialized, make sure to call FacebookSdk.sdkInitialize() first for version ^0.5.2.

I am looking to the example and as I understand the initialisation is done in
static final facebookAppEvents = FacebookAppEvents(); but it is not work.

@tim-teacher
Copy link
Author

Is this lib still supported?

@chhota89
Copy link

@tim-teacher Same error here. How you have solved this issue?

@raviganwal
Copy link

raviganwal commented Oct 27, 2020

I had the same issue because, I declared facebook_app_id like this,

        <meta-data
            android:name="com.facebook.sdk.ApplicationId"
            android:value="8*9*7*5**1*5***" />

but I will have to delcare facebook_app_id inside string.xml and then declare it in manifest.xml like this,

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

and error was gone:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants