Packagecom.myflashlab.air.extensions.firebase.dynamicLinks
Classpublic class DynamicLinks
InheritanceDynamicLinks Inheritance Object

Firebase Dynamic Links are links that work the way you want, on multiple platforms, and whether or not your app is already installed.



Public Properties
 PropertyDefined By
  listener : EventDispatcher
[static] [read-only] Use this listener after initializing the DynamicLinks class and listen to DynamicLinksEvents.INVOKE events.
DynamicLinks
Public Methods
 MethodDefined 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
Public Constants
 ConstantDefined By
  EXTENSION_ID : String = com.myflashlab.air.extensions.firebase.dynamicLinks
[static]
DynamicLinks
  VERSION : String = 9.9.0
[static]
DynamicLinks
Property Detail
listenerproperty
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.


Implementation
    public static function get listener():EventDispatcher
Method Detail
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):String

first 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)

Returns
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):void

Parameters

$title:String
 
$deepLink:String

toMakeShort()method 
public static function toMakeShort($longUrl:String, $callback:Function):void

Parameters

$longUrl:String
 
$callback:Function

Constant Detail
EXTENSION_IDConstant
public static const EXTENSION_ID:String = com.myflashlab.air.extensions.firebase.dynamicLinks

VERSIONConstant 
public static const VERSION:String = 9.9.0