Standalone Android facebook login not working, no errors (gif attached)

Hi all,

I’m trying to get the standalone expo android app to work with native facebook login.
I’ve followed the documentation and made sure that the appid and android facebook hashes are correct.

However, when i tap the login button, nothing happens and Sentry isn’t reporting any errors.

What’s going on? See gif: Screen capture - 090e485f969297e139104303bd295fd8 - Gyazo

Using Expo 27.0.0.1

Hey @johnzondr,

Can you try running the project with an android device connected via usb in Android Studio and see what adb logcat has to say? Device logs usually provide more information that can help us get to the bottom of the issue.

Cheers,

Adam

Hi @adamjnav,

Thanks for helping with this.

Here is the logs when I try to login:

06-30 03:52:30.962   921  8432 I ActivityManager: START u0 {act=NATIVE_WITH_FALLBACK cmp=co.weddingtogether.app/com.facebook.FacebookActivity (has extras)} from uid 10191
06-30 03:52:30.971 17624 17624 D i       : WARNING: getPackageName called on ScopedContext
06-30 03:52:30.972 17624 17624 D i       : WARNING: getPackageName called on ScopedContext
06-30 03:52:30.973 17624 17787 D i       : WARNING: getPackageName called on ScopedContext
06-30 03:52:30.974   921  9378 I MediaFocusControl:  AudioFocus  abandonAudioFocus() from uid/pid 10191/17624 clientId=android.media.AudioManager@2f21389abi27_0_0.host.exp.exponent.modules.api.av.AVModule@7fc3f8e
06-30 03:52:30.996 17624 17789 D i       : WARNING: getPackageName called on ScopedContext
06-30 03:52:31.041  1414  1414 I GoogleInputMethod: onFinishInput() : Dummy InputConnection bound
06-30 03:52:31.041  1414  1414 I GoogleInputMethod: onStartInput() : Dummy InputConnection bound
06-30 03:52:31.066   921  1012 I ActivityManager: Displayed co.weddingtogether.app/com.facebook.FacebookActivity: +68ms
06-30 03:52:31.535  1414  1414 I GoogleInputMethod: onFinishInput() : Dummy InputConnection bound
06-30 03:52:31.535  1414  1414 I GoogleInputMethod: onStartInput() : Dummy InputConnection bound
06-30 03:52:31.547 17624 17624 E i       : java.lang.ClassNotFoundException: abi27_0_0.com.facebook.soloader.SoLoader
06-30 03:52:31.547 17624 17624 E i       : Runtime exception in RNObject when calling method init: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.reflect.Method[] java.lang.Class.getMethods()' on a null object reference
06-30 03:52:31.562 17624 17938 W a       : Could not find listener for key: devicePushToken
06-30 03:52:31.563 17624 17938 I b       : gcm Registration Token: e_SK4udI-IE:APA91bFR9GQ_FTroPvApmqql1q86qdv0_MLLBa_OQcHuv_D7YGk7AJ_MSPPfpMfIsnkhWUsu5dtssZQr7ovdyczmm4-x1q1VavG95HizfuxSq-R_v5m1FJ7CKKEIt7iNFDsW4fW1y87F1SsKjDX5WlVXDTu1j1iXig

@adamjnav Any ideas on how I should move forward?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.