File tree 1 file changed +0
-12
lines changed
ios/RCTBackgroundGeolocation
1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -375,11 +375,6 @@ -(void) onAppPause:(NSNotification *)notification
375
375
*/
376
376
-(void ) onFinishLaunching : (NSNotification *)notification
377
377
{
378
- if (@available (iOS 10 , *)) {
379
- UNUserNotificationCenter *center = [UNUserNotificationCenter currentNotificationCenter ];
380
- center.delegate = self;
381
- }
382
-
383
378
NSDictionary *dict = [notification userInfo ];
384
379
385
380
if ([dict objectForKey: UIApplicationLaunchOptionsLocationKey]) {
@@ -392,13 +387,6 @@ -(void) onFinishLaunching:(NSNotification *)notification
392
387
}
393
388
}
394
389
395
- -(void ) userNotificationCenter : (UNUserNotificationCenter *)center
396
- willPresentNotification : (UNNotification *)notification
397
- withCompletionHandler : (void (^)(UNNotificationPresentationOptions options))completionHandler
398
- {
399
- completionHandler (UNNotificationPresentationOptionAlert );
400
- }
401
-
402
390
-(void ) onAppTerminate : (NSNotification *)notification
403
391
{
404
392
RCTLogInfo (@" RCTBackgroundGeoLocation appTerminate" );
You can’t perform that action at this time.
0 commit comments