Android app crashes when "Continue with Facebook" pressed

Muhmmad Abubakar Ikram

I am implementing Facebook authentication for my android application and the app crashes straight away when I use to press "Continue with Facebook".

  1. No invalid hash key error, I am sure my hash key is correct because when I put the wrong key it gives the invalid hash key error.

  2. No errors and exceptions, There are no exceptions in Logcat. Facebook SDK is also not firing onError or onCancel events

I don't know how to debug it and also I didn't found any solution so far.

Muhmmad Abubakar Ikram

I found the answer https://stackoverflow.com/a/39368284/3701429

The problem was with this android:noHistory="true" attribute in my login activity in manifest.xml file.

After removing this attribute it is working fine.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related