Anyone using Firebase UI? What are you using as redirect URL for iOS?
I’m following the Google documentation https://firebase.google.com/docs/auth/web/cordova and I was able to set everything correctly for Android but on iOS I either face an empty screen or a “Dynamic Link not found” error on redirect once the login as been proceeded
Concretely, on iOS, what value are you assigning to your config for signInSuccessUrl
?
custom url
or dynamic link
or ionic://localhost
?
const uiConfig = {
signInFlow: 'redirect',
signInSuccessUrl: 'com.mypackage.app://',
signInOptions: [firebase.auth.EmailAuthProvider.PROVIDER_ID],
tosUrl: 'com.mypackage.app://terms',
privacyPolicyUrl: 'com.mypackage.app://privacy',
credentialHelper: firebaseui.auth.CredentialHelper.GOOGLE_YOLO
};
p.s.:
on the web, signInSuccessUrl = your pwa url, https://…com
on Android, if wkwebview is used, signInSuccessUrl = http://localhost