RetenoDeviceTokenHandlingMode enum
Values
- automatic → const RetenoDeviceTokenHandlingMode
-
iOS APNs token handling managed automatically by the Reteno bridge.
Use this when the Reteno mobile app is configured for APN on iOS. Notification callbacks are chained with an existing application delegate.
- manual → const RetenoDeviceTokenHandlingMode
-
iOS Firebase Messaging token handling managed by the Flutter plugin.
Use this when the Reteno mobile app is configured as FCM-only. The plugin observes Firebase token refreshes without replacing the application's Firebase Messaging delegate. Existing integrations may still call
setPushToken, but new code should not mix explicit tokens with this plugin-managed flow. Android always uses native automatic token handling. - external → const RetenoDeviceTokenHandlingMode
-
Push token handling fully owned by the Flutter application.
On iOS, the Reteno plugin does not assign a Firebase Messaging delegate, request an FCM token, or set the APNs token on Firebase. The application must pass its current FCM token using
Reteno().setPushTokenand repeat the call whenever Firebase refreshes the token. Reteno foreground, click, and action callbacks remain enabled because notification handling is independent from token ownership.Android always uses native automatic token handling.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
-
values
→ const List<
RetenoDeviceTokenHandlingMode> - A constant List of the values in this enum, in order of their declaration.