ActionCodeSettings class

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

Constructors

ActionCodeSettings.new({String? androidPackageName, String? androidMinimumVersion, bool androidInstallApp = false, @Deprecated('Firebase Dynamic Links is deprecated and will be shut down as early as August * 2025. ' 'Instead, use ActionCodeSettings.linkDomain to set a a custom domain. ' 'Learn more at: https://firebase.google.com/support/dynamic-links-faq') String? dynamicLinkDomain, String? linkDomain, bool handleCodeInApp = false, String? iOSBundleId, required String url})

Properties

androidInstallApp bool
The default is false. Whether or not the user should be automatically prompted to install the app via the Play Store if it is not already installed.
final
androidMinimumVersion String?
The minimum app version which must be installed on the device.
final
androidPackageName String?
The Android package name of the application to open when the URL is pressed.
final
dynamicLinkDomain String?
Sets an optional Dynamic Link domain.
final
handleCodeInApp bool
The default is false. When true, the action code link will be sent as a Universal Link or Android App Link and will be opened by the app if installed.
final
hashCode int
The hash code for this object.
no setterinherited
iOSBundleId String?
The iOS app to open if it is installed on the device.
final
linkDomain String?
The optional custom Firebase Hosting domain to use when the link is to be opened via a specified mobile app. The domain must be configured in Firebase Hosting and owned by the project. This cannot be a default Hosting domain (web.app or firebaseapp.com).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
Sets the link continue/state URL
final

Methods

asMap() Map<String, dynamic>
Returns the current instance as a Map.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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