diff --git a/ios/CDVBackgroundGeolocation/CDVBackgroundGeolocation.m b/ios/CDVBackgroundGeolocation/CDVBackgroundGeolocation.m index 30375aec5..02cfbc9b6 100644 --- a/ios/CDVBackgroundGeolocation/CDVBackgroundGeolocation.m +++ b/ios/CDVBackgroundGeolocation/CDVBackgroundGeolocation.m @@ -448,12 +448,7 @@ - (void) onHttpAuthorization { * on UIApplicationDidFinishLaunchingNotification */ -(void) onFinishLaunching:(NSNotification *)notification -{ - if (@available(iOS 10, *)) { - UNUserNotificationCenter *center = [UNUserNotificationCenter currentNotificationCenter]; - center.delegate = self; - } - +{ NSDictionary *dict = [notification userInfo]; MAURConfig *config = [facade getConfig];