mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-22 21:58:08 +00:00
re-add registration for messages
This commit is contained in:
parent
2b2af02943
commit
4ae0e2bee1
1 changed files with 2 additions and 0 deletions
|
|
@ -452,6 +452,7 @@
|
|||
- (void)pushRegistry:(PKPushRegistry *)registry
|
||||
didInvalidatePushTokenForType:(NSString *)type {
|
||||
LOGI(@"PushKit Token invalidated");
|
||||
[LinphoneManager.instance setPushNotificationToken:nil];
|
||||
}
|
||||
|
||||
- (void)pushRegistry:(PKPushRegistry *)registry
|
||||
|
|
@ -469,6 +470,7 @@ didInvalidatePushTokenForType:(NSString *)type {
|
|||
LOGI(@"PushKit credentials updated");
|
||||
LOGI(@"voip token: %@", (credentials.token));
|
||||
LOGI(@"%@ : %@", NSStringFromSelector(_cmd), credentials.token);
|
||||
[LinphoneManager.instance setPushNotificationToken:credentials.token];
|
||||
}
|
||||
|
||||
#pragma mark - User notifications
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue