registerNotificationTokenEnabledFlag top-level property
final
Provider for feature flag that enables the registration of notification tokens
This value is backed by a shared preference and will persist after the app closes.
Implementation
final registerNotificationTokenEnabledFlag =
StateNotifierProvider<PreferenceNotifier<bool>, bool>(
(ref) => PreferenceNotifier.watchBool(
ref,
'registerNotificationTokenEnabledv2',
defaultValue: true,
),
);