I have a dev version of my app that is not published in the Play Store. I would like to test dynamic links with it, but whenever I click a dynamic link, it opens the play store, and I get a not found error (because there is no corresponding package in the Play Store).
What's the recommended way of testing this? It would also apply to staging environments, etc... that are not published.
Firebase Dynamic Links module provides a link which we can share with other apps. The recipient of the link may not have the app. In that case, the dynamic link takes the user to the App Store and prompts the user to install the app. When the app opens after the installation, it receives the link embedded within the Dynamic link.
You can create Dynamic Links programmatically or by using the Firebase console. When your app opens, use the Dynamic Links SDK to check if a Dynamic Link was passed to it. If so, get the deep link from the Dynamic Link data and handle the deep link as necessary.
Or, if you don't have a domain for your app, you can use a free custom page.link subdomain: Create your free subdomain in the Firebase console. All Dynamic Links features, including analytics, post-install attributions, and SDK integrations, work with both custom page.link domains and your own domain.
The dynamic link to test the app will be generated using the Firebase console. Open the Firebase console in a browser window, select the Firebase Examples project and click on the Dynamic Links option. Within the Dynamic Links screen, click on the New Dynamic Link button and configure the link as follows:
I was able to test it like this:
After that, clicking the dynamic link I created on the Firebase console worked as expected, without having my app out in the open.
Caveats:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With