magus / react-native-facebook-login

React Native component wrapping the native Facebook SDK login button and manager
MIT License
1.24k stars 327 forks source link

'Unresolved class CustomTabActivity' in AndroidManifest.xml #224

Open Naoto-Ida opened 7 years ago

Naoto-Ida commented 7 years ago

I am following the tutorials for Android setup, but getting the 'Unresolved class CustomTabActivity' in AndroidManifest.xml, which probably means that there might be something wrong with the FB SDK.

I am not that familiar with the FB SDK for Android, but CustomTabActivity is referring to this name right?

Naoto-Ida commented 7 years ago

OK, did some digging. It seems that version 1.4.0 of react-native-facebook-login relies on com.facebook.android:facebook-android-sdk:4.10.+, but the Android setup instructions for this library references CustomTabActivity which is mentioned after com.facebook.android:facebook-android-sdk:4.11.

Naoto-Ida commented 7 years ago

On another note, the native login doesn't seem to work... I press the login button and it shows a indicator, then just switches the button's text to "logout". Is this the intended behavior?