Please provide the following:
- SDK Version: 39.0.2
- Platforms(Android/iOS/web/all): Android
see.
This is the first time i’m deploying an app to the play store and i’m finding a lot of things i can’t understand.
I created a react native app using Expo, i tested it in the expo android app and it worked fine, then i built the apk and installed it in my own phone using the adb install
and it worked fine.
BUT, when i uploaded the app to the play store (internal testing) to test the app in more devices i hit the wall with all these things.
- Some users can authenticate using facebook (firebase) some others can’t
- The user that authenticate successfully the first time and log out his account, when they try to login again the app never closes the splash screen (Shows GraphRequest can’t be used when Facebook SDK isn’t fully initialized).
This is what i’ve done, so far…
- Used the android studio to watch the log and found this error (GraphRequest can’t be used when Facebook SDK isn’t fully initialized) Which is really weird, because i have set
await Facebook.initializeAsync({appId: "<AppId>",appName: "<AppName>",});
inApp.js
when starting the app and before callingawait Facebook.logInWithReadPermissionsAsync();
- Have set the Play App Signing Certificate (SHA-1) from Play Store and the Google Certificate Fingerprint given from expo (using
expo fetch:android:hashes
) in my firebase app settings and in my Google Cloud Platform’s Api Keys, downloaded the google-services.json from firebase into my app root folder, compiled and uploaded to play store again. - Converted my Play App Signing Certificate (SHA-1) to base64 string and set it to my facebook app key hashes
After doing all this i can’t make my app work properly once it’s uploaded to the play store, but works like a charm when i compile it using expo and install it to the device via adb
What am i missing? What am i doing wrong?