handle dynamincLink in app using actionCodeSettings
Issue
I have a problem with send correct link to sendPasswordResetEmail.
documentation: https://rnfirebase.io/docs/v4.2.x/auth/reference/auth#sendPasswordResetEmail
I want to handle the link in the application using the dynamic link. I created the actionCodeSettings based on the documentation above:
const actionCodeSettings = {
url: 'http://appName.page.link/forgot',
iOS: {
bundleId: 'com.example.ios',
},
android: {
packageName: 'appName',
installApp: true,
minimumVersion: '12',
},
handleCodeInApp: true,
};
And the link looks like this:
https://?link=http://appName.page.link/forgot?apiKey%3DAIzaSyBr0VG5tnHBfTI7OV2DLfUth8un4gwWutQ%26mode%3DresetPassword%26oobCode%3D0qtO32F1VLweQZsFbvZyzm9DVzaWUOO1uzZD2WDfCpYAAAFkAnLbSw%26continueUrl%3Dhttp://appName.page.link/forgot%26lang%3Dpl&apn=appName&amv=12&ibi=com.example.ios&ifl=http://appName.page.link/forgot?apiKey%3DAIzaSyBr0VG5tnHBfTI7OV2DLfUth8un4gwWutQ%26mode%3DresetPassword%26oobCode%3D0qtO32F1VLweQZsFbvZyzm9DVzaWUOO1uzZD2WDfCpYAAAFkAnLbSw%26continueUrl%3Dhttp://appName.page.link/forgot%26lang%3Dpl
it's too long and few times repeat. How it's the correct way to handle such a problem in the app?
I want to open the link from app browser, open app and redirect the user to my component in APP which provided UI for setting a new password. I added the dynamic link to the dynamic Links in firebase console, but the main problem is how this link looks like, and how to properly settle deep link and handle it in the app?
Environment
Android
- Application Target Platform:
macOS Sierra Emulator, Device with android
- Development Operating System:
Android Studio 3.1 + Android 8.1 (27) + Samsung S8
- Build Tools:
- React Native version:
0.55.4
- RNFirebase Version:
4.0.0 com.google.firebase:firebase-auth:12.0.1 com.google.firebase:firebase-invites:12.0.1 6. Firebase Module: Auth.sendPasswordResetEmail
This issue has been automatically marked as stale because it has not had recent user activity. It will be closed if no further activity occurs. Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this is still present in the latest release, please feel free to create a new issue with up-to-date information.