ActionCodeSettings class

This is the interface that defines the required continue/state URL with optional Android and iOS bundle identifiers.

Constructors

ActionCodeSettings({required String url, bool? handleCodeInApp, ActionCodeSettingsIos? iOS, ActionCodeSettingsAndroid? android, String? dynamicLinkDomain})

Properties

android ActionCodeSettingsAndroid?
Defines the Android package name. This will try to open the link in an android app if it is installed. If installApp is passed, it specifies whether to install the Android app if the device supports it and the app is not already installed. If this field is provided without a packageName, an error is thrown explaining that the packageName must be provided in conjunction with this field. If minimumVersion is specified, and an older version of the app is installed, the user is taken to the Play Store to upgrade the app.
final
dynamicLinkDomain String?
Defines the dynamic link domain to use for the current link if it is to be opened using Firebase Dynamic Links, as multiple dynamic link domains can be configured per project. This field provides the ability to explicitly choose configured per project. This fields provides the ability explicitly choose one. If none is provided, the oldest domain is used by default.
final
handleCodeInApp bool?
Whether to open the link via a mobile app or a browser. The default is false. When set to true, the action code link is sent as a Universal Link or Android App Link and is opened by the app if installed. In the false case, the code is sent to the web widget first and then redirects to the app if installed.
final
hashCode int
The hash code for this object.
no setterinherited
iOS ActionCodeSettingsIos?
Defines the iOS bundle ID. This will try to open the link in an iOS app if it is installed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
Defines the link continue/state URL, which has different meanings in different contexts:
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited