deleteFirebaseToken method
Deletes the Firebase FCM token. This is primarily useful for testing and debugging scenarios. After deletion, a new token will be generated on the next app launch.
Implementation
Future<NotificationFailure?> deleteFirebaseToken() async {
if (!_isInitialized) {
return NotificationFailure.initialization(
details: 'Notification manager not initialized',
);
}
return _firebaseRepository.deleteToken();
}