mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 07:42:40 +00:00
Merge branch 'master' into develop
This commit is contained in:
commit
6f7f18d02e
1 changed files with 1 additions and 0 deletions
|
@ -220,6 +220,7 @@
|
||||||
#pragma mark - APNS methods
|
#pragma mark - APNS methods
|
||||||
|
|
||||||
- (void)registerUserNotificationSettings {
|
- (void)registerUserNotificationSettings {
|
||||||
|
NSLog(@"[AppDelegate] Attempting to get push token...");
|
||||||
if (!isAPNSRegistered) {
|
if (!isAPNSRegistered) {
|
||||||
if ([[UIApplication sharedApplication] respondsToSelector:@selector(registerUserNotificationSettings:)]) {
|
if ([[UIApplication sharedApplication] respondsToSelector:@selector(registerUserNotificationSettings:)]) {
|
||||||
// Registration on iOS 8 and later
|
// Registration on iOS 8 and later
|
||||||
|
|
Loading…
Reference in a new issue