From 3286166e56de86d008fe166d456f03f23071f73c Mon Sep 17 00:00:00 2001 From: Yoel Nunez Date: Thu, 7 May 2020 18:46:46 -0400 Subject: [PATCH] fixed notification handler override fix for issues #627 and #682 --- ios/CDVBackgroundGeolocation/CDVBackgroundGeolocation.m | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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];