cocos2d-x / plugin-x

Plugin-x is the plugin repository for cocos2d-x, it also provides a unified API for plugins.
71 stars 91 forks source link

Callback is never call on login method in Android #139

Open cmillauriaux opened 9 years ago

cmillauriaux commented 9 years ago

I launch the TestFacebookUser sample for Android and when i click on "login" or "loginWithPermission", the login activity is display but after validate the Facebook connexion nothing is happen. The text never change, but when i close the application et I open it again, after clicking on "login", the Facebook Login Activity is not display. On Facebook Application page, i see my application and permissions asked. So Facebook save my application association. Now, if I call "login", callback method is never call. If I call "IsLoggedIn", false is return. If i call another method (getToken, getUid) there is an error message like "User is not login". I didn't change any line in the example, I just replace the appId with my own appId. Thanks in advance,

Cedric