1
Firebase auth not working on preview app
complete
M
Matheus Zeuch
Hello,
I have two apps that uses Firebase authentication. On Web Preview both are working correctly. But on iPhone (using SAP AppGyver Preview app) I'm having issues authenticating the app 2, which is trying to authenticate using app 1's Firebase auth accounts.
- Client runtime version: iPhone 11 with iOS 15.3.1
- App 1 ID: 350622 (ok)
- App 2 ID: 364282 (issue authenticating on iPhone)
- Page in app the issue is happening: page.Page3 (App ID 364282)
- Build type: preview
It's like SAP AppGyver Preview app is mixing up the two Firebase Auth settings, keeping the first one on a cache or something.
I tried the following already:
- Disabling the auth settings from app 1.
- Log out and log in again on SAP AppGyver Preview app for iPhone.
- Delete the SAP AppGyver Preview app, installing it and log in again.
- Using the Debugger (couldn't make it work, it's not connecting the device).
Can you please help? I need to develop these two apps and I need both of them using Firebase authentication.
Thanks,
Matheus
Log In
Activity
Newest
Oldest
T
Timo Kapanen
complete
T
Timo Kapanen
Closing this ticket as there is no further information and solution has been proposed. Please create a new ticket if the issue is still present. Best Regards, Timo Kapanen
T
Timo Kapanen
under review
T
Timo Kapanen
Hi Matheus Zeuch and thanks for your report. Something worth checking are the iOS connector settings for the app 364282. See the screenshot, appID format is especially something to check if it is correct. Best Regards, Timo Kapanen

M
Matheus Zeuch
Hi Timo, I've created a new identifier in Apple account named "com.brabov.dev", deleted the iOS app in Firebase and created a new one using the correct and newly created iOS app ID. Then I adjusted the new iOS app info in my AppGyver project. Same issue. The first time the AppGyver even crashes. So I have to open the app 350622 first, close it, open the app 364282, then. when I try to put the credentials it fails. It only works when I put the credentials of the Firebase Auth that is linked to app 350622.
T
Timo Kapanen
Matheus Zeuch: For iOS, the correct values like iOS app ID can be found under the following keys in the GoogleService-Info.plist file:
iOS API key: API_KEY
iOS app ID: GOOGLE_APP_ID
iOS client ID key: CLIENT_ID
It seems to me that for iOS app ID you haven't used the one in this file. More instruction here: https://docs.appgyver.com/data/google-firebase
Hopefully this helps you to move forward. Best Regards, Timo Kapanen