Firebase Dynamic Links
It helps your application to be installed from your dynamic links from anywhere on the internet.
#
RequirementsWooStore Pro
application versionv1.12.0
or above.
#
Key Features implementedThe 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.
#
SetupYou 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.
#
iOS integration- Open the
Runner.xcodeproj
in Xcode located inwoostore_pro / lib / ios
directory. - In the
Info
tab of your iOS app's Xcode project, scroll down to theURL Types
section and add yourbundle id
of your iOS application in theURL Schemes
field. This is the same bundle id that you created while settings up the application in Renaming the package.
- In the
Capabilities
tab of your app's Xcode project, edit theAssociated Domains
value with your firebase dynamic link url prefix.
caution
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.
#
Android integrationTo open the android application when your dynamic link is clicked then you need to add your dynamic link url prefix in AndroidManifest.xml
file.
Open the
AndroidManifest.xml
fromwoostore_pro / android / app / src / main / AndroidManifest.xml
in android studio.Scroll down to the following section:
Approximate line number is: 35 - 42.
- Replace the
your-host.page.link
with your dynamic link url prefix you got from Firebase Dynamic Links dashboard.
#
Application ConfigurationOpen App Builder
Select
Firebase Dynamic Links
from the left menu underGlobal App Settings
Edit the following fields:
Uri Prefix
- From Firebase Dynamic Link dashboardAndroid Package Name
iOS Bundle Id
App Store Id
- You need to add your app store id for iOS to open the links in the application and not in a browser.
You can also enable or disable other supported settings from the same settings page.
You can now use Firebase Dynamic Links in your application.