Closed ishandutta2007 closed 8 years ago
Could you post the entire contents of LoginActivity
? Are you sure you're calling all the require methods like ParseFacebookUtils#onActivityResult()
? Does the callback work for the normal case of logging in?
Could you also include all the information outlined in our Contributing Guidelines such as the version you're using, environment this reproduces on, etc?
Thank you for your feedback. We prioritize issues that have clear and concise repro steps. Please see our Bug Reporting Guidelines about what information should be added to this issue.
Please try the latest SDK. Our release notes have details about what issues were fixed in each release.
In addition, you might find the following resources helpful:
This issue has not been updated for 7 days. If you have additional information to help pinpoint this issue as an SDK bug, please comment on this issue. We will close this issue in 7 days if no additional information is provided. Thank you for your feedback.
We are closing this issue due to another 7 days of inactivity. If you have additional information to help pinpoint this issue as an SDK bug, please reopen it with the additional information.Thank you for your feedback.
I copied the code as given in your example to an activity named LoginActivity. When I click "login with facebook" the facebook popup shows up but on canceling the fb popup it's not even reaching the done method inside callback. However if I click the button again, it reaches there directly with user=null, without even showing the popup this time.
The logcat when I click the button for first time is as follows:
Edit: However if I write entire login code inside main activity it works. currently login activity is called from main activity like this: