peerwaya / flutter_voip_push_notification

Flutter VoIP Push Notification - Currently iOS >= 8.0 only
BSD 2-Clause "Simplified" License
28 stars 32 forks source link

Add support for handling invalidated PushKit tokens #11

Open VictorUvarov opened 3 years ago

VictorUvarov commented 3 years ago

@peerwaya I'm not sure If i should have included the cached token or not when calling invalidate token on the dart side. Perhaps I am calling invalidate token on a valid token?

VictorUvarov commented 3 years ago

Turns out this method can be ignored, because once the token gets changed then didInvalidatePushTokenForType and didUpdatePushCredentials are both called. Source