It helps your application to be installed from your dynamic links from anywhere on the internet.
WooStore Proapplication version
The features implemented in
WooStore Pro with firebase dynamic links include the following:
Share products information using Firebase dynamic links. Whenever any user will share a product's information when Firebase Dynamic Links is enabled in the application, the receiver will be taken to the exact product screen in the application. Even if the user does not have the application installed, the link will prompt the user to install the application and then take them to the exact product details screen.
Share the application link itself to download the application.
You need to follow some setup steps if you want to enable Firebase Dynamic Links to work in your application.
- In the Firebase Console, open the Dynamic Links section.
- Accept the terms of service if you are prompted to do so.
- Take note of your project's
Dynamic Links URL prefix, which is displayed at the top of the Dynamic Links page. A Dynamic Links URL prefix looks like https://YOUR_SUBDOMAIN.page.link.
- Open the
Runner.xcodeprojin Xcode located in
woostore_pro / lib / iosdirectory.
- In the
Infotab of your iOS app's Xcode project, scroll down to the
URL Typessection and add your
bundle idof your iOS application in the
URL Schemesfield. This is the same bundle id that you created while settings up the application in Renaming the package.
- In the
Capabilitiestab of your app's Xcode project, edit the
Associated Domainsvalue with your firebase dynamic link url prefix.
Make sure that you edit the value above and pattern correctly. If there is a problem with the above setup then your dynamic links will not work on iOS devices.
To open the android application when your dynamic link is clicked then you need to add your dynamic link url prefix in
woostore_pro / android / app / src / main / AndroidManifest.xmlin android studio.
Scroll down to the following section:
Approximate line number is: 35 - 42.
- Replace the
your-host.page.linkwith your dynamic link url prefix you got from Firebase Dynamic Links dashboard.
woostore_pro / lib / constants / config.dartin android studio.
Scroll down to
FirebaseDynamicLinksConfigclass at the bottom.
Edit the following variables:
uriPrefix- From Firebase Dynamic Link dashboard
appStoreId- You need to add your app store id for iOS to open the links in the application and not in a browser.
You can now use Firebase Dynamic Links in your application.