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

FacebookClientManager.Initialize(this); error Android #86

Open
dalinet opened this issue Nov 3, 2020 · 1 comment
Open

FacebookClientManager.Initialize(this); error Android #86

dalinet opened this issue Nov 3, 2020 · 1 comment

Comments

@dalinet
Copy link

dalinet commented Nov 3, 2020

Bug Information

Xamarin.Facebook.FacebookSdkNotInitializedException has been thrown
The SDK has not been initialized, make sure to call FacebookSdk.sdkInitialize() first.

Version Number of Plugin: 2.2.1
Device Tested On:
Simulator Tested On: Pixel 2
Version of VS: 8.7.8
Version of Xamarin: 4.8.0.1560
Versions of other things you are using:

Steps to reproduce the Behavior

Config All requeriments for Xamarin Android

Expected Behavior

Actual Behavior

Code snippet

Screenshotst

Captura de Pantalla 2020-11-02 a la(s) 21 35 58

@dalinet
Copy link
Author

dalinet commented Nov 3, 2020

I solve this issue whit this two lines before the Initialize method

FacebookSdk.ApplicationId = "XXXXXXXXXXXXX"; ///<--- Your App ID
FacebookSdk.SdkInitialize(Android.App.Application.Context);

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

1 participant