Jump to top

DynamicLinkAndroidParameters

interface

The DynamicLinkAndroidParameters interface provides functionality to configure the behaviour of dynamic links for Android devices.

If any parameter is declared then the Android package name must also be set via setPackageName

Example
 const link = await firebase.dynamicLinks().buildLink({
   link: 'https://invertase.io',
   domainUriPrefix: 'https://xyz.page.link',
   android: {
     packageName: 'io.invertase.testing',
     minimumVersion: '18',
   }
 });

Properties

fallbackUrl

</>

Sets the link to open when the app isn't installed. Specify this to do something other than install your app from the Play Store when the app isn't installed, such as open the mobile web version of the content, or display a promotional page for your app.

fallbackUrl: undefined | string;

minimumVersion

</>

Sets the version code of the minimum version of your app that can open the link.

minimumVersion: undefined | string;

packageName

</>

The package name of the Android app to use to open the link. The app must be connected to your project from the Overview page of the Firebase console.

packageName: string;