Repository navigation
FCM token handling on depersonalization
Dorijan Gegač edited this page Nov 19, 2026
·
1 revision
On Android, set AndroidSettings.appManagedFcmTokenLifecycle to true to let your application manage FCM token deletion and renewal during depersonalization and repersonalization.
import 'package:infobip_mobilemessaging/infobip_mobilemessaging.dart';
import 'package:infobip_mobilemessaging/models/configurations/configuration.dart';
await InfobipMobilemessaging.init(
Configuration(
applicationCode: 'your-application-code',
androidSettings: AndroidSettings(
appManagedFcmTokenLifecycle: true,
),
),
);This setting is Android-only and defaults to false. Passing null or omitting it also uses the SDK-managed behavior. The value is applied on every init() call.
For token lifecycle behavior and application responsibilities, see the native Android SDK guide: FCM token handling on depersonalization.