| Package | com.myflashlab.air.extensions.firebase.dynamicLinks |
| Class | public class DynamicLinks |
| Inheritance | DynamicLinks Object |
Firebase Dynamic Links are links that work the way you want, on multiple platforms, and whether or not your app is already installed.
| Property | Defined By | ||
|---|---|---|---|
| listener : EventDispatcher [static] [read-only]
Use this listener after initializing the DynamicLinks class and listen to
DynamicLinksEvents.INVOKE events. | DynamicLinks | ||
| Method | Defined By | ||
|---|---|---|---|
build($domain:String, $link:String, $androidParams:AndroidParams, $iosParams:IosParams, $socialMediaParams:SocialMediaParams, $analyticsParams:AnalyticsParams, $otherPlatformsParams:OtherPlatformParams, $navigationParams:NavigationParams, $invitationId:String = null):String [static]
first create your URL Prefix from your Firebase Console: https://console.firebase.google.com/project/_/durablelinks/links/
| DynamicLinks | ||
init():void [static]
Initialize the Dynamic links using this method. | DynamicLinks | ||
share($title:String, $deepLink:String):void [static] | DynamicLinks | ||
toMakeShort($longUrl:String, $callback:Function):void [static] | DynamicLinks | ||
| Constant | Defined By | ||
|---|---|---|---|
| EXTENSION_ID : String = com.myflashlab.air.extensions.firebase.dynamicLinks [static] | DynamicLinks | ||
| VERSION : String = 9.9.0 [static] | DynamicLinks | ||
| listener | property |
listener:EventDispatcher [read-only]
Use this listener after initializing the DynamicLinks class and listen to
DynamicLinksEvents.INVOKE events. These events will tell you if the app has
been invoked by a Google DynamicLink or not.
public static function get listener():EventDispatcher| build | () | method |
public static function build($domain:String, $link:String, $androidParams:AndroidParams, $iosParams:IosParams, $socialMediaParams:SocialMediaParams, $analyticsParams:AnalyticsParams, $otherPlatformsParams:OtherPlatformParams, $navigationParams:NavigationParams, $invitationId:String = null):Stringfirst create your URL Prefix from your Firebase Console: https://console.firebase.google.com/project/_/durablelinks/links/
Parameters
$domain:String — 'your_subdomain.page.link' or 'myflashlabs.com'
| |
$link:String | |
$androidParams:AndroidParams | |
$iosParams:IosParams | |
$socialMediaParams:SocialMediaParams | |
$analyticsParams:AnalyticsParams | |
$otherPlatformsParams:OtherPlatformParams | |
$navigationParams:NavigationParams | |
$invitationId:String (default = null) |
String |
| init | () | method |
public static function init():void
Initialize the Dynamic links using this method. Make sure you are calling this method as soon as possible right
after Firebase.init(true);
| share | () | method |
public static function share($title:String, $deepLink:String):voidParameters
$title:String | |
$deepLink:String |
| toMakeShort | () | method |
public static function toMakeShort($longUrl:String, $callback:Function):voidParameters
$longUrl:String | |
$callback:Function |
| EXTENSION_ID | Constant |
public static const EXTENSION_ID:String = com.myflashlab.air.extensions.firebase.dynamicLinks| VERSION | Constant |
public static const VERSION:String = 9.9.0