Packagecom.myflashlab.air.extensions.firebase.auth
Classpublic class ActionCodeSettings
InheritanceActionCodeSettings Inheritance Object

Structure that contains the required continue/state URL with optional Android and iOS bundle identifiers. The stateUrl used to initialize this class is the link/deep link/fallback url used while constructing the Firebase dynamic link.



Public Properties
 PropertyDefined By
  androidInstallIfNotAvailable : Boolean
Indicates whether the Android app should be installed on a device where it is not available.
ActionCodeSettings
  androidMinVersion : String
The minimum Android version supported, if available.
ActionCodeSettings
  androidPackageName : String
The Android package name, if available.
ActionCodeSettings
  dynamicLinkDomain : String
Sets the optional FirebaseDynamicLink domain, overriding the default FDL domain that would be used.
ActionCodeSettings
  handleCodeInApp : Boolean
Indicates whether the action code link will open the app directly or after being redirected from a Firebase owned web widget.The default is false.
ActionCodeSettings
  iOSBundleID : String
The iOS bundle ID, if available.
ActionCodeSettings
  url : String
[read-only] Indicates the URL when initializing this instance.
ActionCodeSettings
Public Methods
 MethodDefined By
  
ActionCodeSettings($url:String)
Initializing the class by passing the URL, which has different meanings in different contexts.
ActionCodeSettings
Property Detail
androidInstallIfNotAvailableproperty
androidInstallIfNotAvailable:Boolean

Indicates whether the Android app should be installed on a device where it is not available. If set to true and the link is opened on an android device, it will try to install the app if not already available. Otherwise the web URL is used.


Implementation
    public function get androidInstallIfNotAvailable():Boolean
    public function set androidInstallIfNotAvailable(value:Boolean):void
androidMinVersionproperty 
androidMinVersion:String

The minimum Android version supported, if available. If the installed app is an older version, the user is taken to the Play Store to upgrade the app.


Implementation
    public function get androidMinVersion():String
    public function set androidMinVersion(value:String):void
androidPackageNameproperty 
androidPackageName:String

The Android package name, if available. The default value is the current app's package name as "air." + NativeApplication.nativeApplication.applicationID


Implementation
    public function get androidPackageName():String
    public function set androidPackageName(value:String):void
dynamicLinkDomainproperty 
dynamicLinkDomain:String

Sets the optional FirebaseDynamicLink domain, overriding the default FDL domain that would be used. Must be one of the 5 domains configured in the Firebase console.


Implementation
    public function get dynamicLinkDomain():String
    public function set dynamicLinkDomain(value:String):void
handleCodeInAppproperty 
handleCodeInApp:Boolean

Indicates whether the action code link will open the app directly or after being redirected from a Firebase owned web widget.The default is false. When set to true, the action code link will be sent as a universal link and will be open by the app if installed. In the false case, the code will be sent to the web widget first and then on continue will redirect to the app if installed.


Implementation
    public function get handleCodeInApp():Boolean
    public function set handleCodeInApp(value:Boolean):void
iOSBundleIDproperty 
iOSBundleID:String

The iOS bundle ID, if available. The default value is the current app's bundle ID as NativeApplication.nativeApplication.applicationID


Implementation
    public function get iOSBundleID():String
    public function set iOSBundleID(value:String):void
urlproperty 
url:String  [read-only]

Indicates the URL when initializing this instance.


Implementation
    public function get url():String
Constructor Detail
ActionCodeSettings()Constructor
public function ActionCodeSettings($url:String)

Initializing the class by passing the URL, which has different meanings in different contexts. For email actions, this is the state/continue URL. When the app is not installed, this is the web continue URL with any developer provided state appended (the continueURL query parameter). When the app is installed, this is contained in the Firebase dynamic link payload. In the case where the code is sent directly to the app and the app is installed, this is the continueURL query parameter in the dynamic link payload. Otherwise, when the code is handled by the widget itself, it is the payload itself.

Parameters
$url:String