Jump to top

DynamicLinkOtherPlatformParameters

interface

The DynamicLinkOtherPlatformParameters interface provides functionality to open a custom URL on platforms beside Android and iOS. This is useful to specify a different behavior on desktop, like displaying a full web page of the app content/payload (as specified by param link) with another dynamic link to install the app.

Example
 const link = await firebase.dynamicLinks().buildLink({
   link: 'https://invertase.io',
   domainUriPrefix: 'https://xyz.page.link',
   otherPlatform: {
            fallbackUrl: 'https://www.google.com/',
    }
 });

Properties

fallbackUrl

</>

The URL to open on desktop.

fallbackUrl: undefined | string;