PushPrimerEventName enum
v1.7-F — Push Primer bridge for Flutter.
The native renderer (iOS InAppPushPrimer.swift / Android
InAppPushPrimer.kt) handles the in-app card UI + the system
permission prompt + cooldown bookkeeping. The Dart layer only needs
to:
- Listen for the 6 canonical events the native side emits via
the
active_reach_sdk/push_primer_eventsEventChannel. - Read / clear cooldown state for admin flows.
- Query
isAlreadyAuthorizedForPushso Dart code can skip showing the primer when the user already granted permission.
Drift-locked by
libs/mobile-sdk/ios-sdk/Tests/drift/push-primer-bridge-contract.json.
Canonical event names the native push primer renderer emits.
Values
- inAppDisplayed → const PushPrimerEventName
- inAppDismissed → const PushPrimerEventName
- allowTapped → const PushPrimerEventName
- laterTapped → const PushPrimerEventName
- permissionGranted → const PushPrimerEventName
- permissionDenied → const PushPrimerEventName
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<
PushPrimerEventName> - A constant List of the values in this enum, in order of their declaration.