Open costimuraru opened 5 years ago
After some good old debugging, seems to work fine after I add:
FacebookSdk.setApplicationId(getString(R.string.facebook_app_id));
in my class AndroidLauncher extends com.badlogic.gdx.backends.android.AndroidApplication
Shouldn't FacebookSdk.setApplicationId
be performed by the gdx-facebook
library or by the facebook android library itself?
Or should we add this to the wiki.
Perhaps I'm missing something here... :D
No idea what might be wrong. Did you add the app id to the AndroidManifest.xml?
If you provide a working project example I can look further into it.
Awesome job on this library! I managed to get it work on Desktop, but on Android I'm getting a NullPointerException.
in
com.facebook.login.LoginClient.getLogger
pendingRequest.getApplicationId()
seems to be null.The code I'm using:
Did I miss something
Full stack trace:
Am I doing something wrong?