From 935b8abc3917d897658dcb5e959f258de142d610 Mon Sep 17 00:00:00 2001 From: Dave Alden Date: Thu, 13 Aug 2020 16:46:51 +0100 Subject: [PATCH] (iOS) Revert "co-existence with cordova-plugin-local-notification on iOS" Upon testing, this plugin does not work with `cordova-plugin-local-notification` present in the same project even with this code in place. Therefore removing it should stop the crashes occurring in #385. And the conflict between the 2 plugins will need to be addressed separately under #230. This reverts commit 4e9a0f4a1fd4ceb871af40629e1ddf146f287ca8: > co-existence with cordova-plugin-local-notification on iOS > Local notifications on iOS via cordova-plugin-local-notification are working again. >Click-callback for remote notifications not working right now. >Details: >UNUserNotificationCenter accepts a single delegate that handles the display of notifications. cordova-plugin-firebase now stores a reference to the existing delegate if any and proxies the delegate-calls (cordova-plugin-local-notification is >already doing that in the other direction when applicable). --- src/ios/AppDelegate+FirebasePlugin.m | 29 ---------------------------- 1 file changed, 29 deletions(-) diff --git a/src/ios/AppDelegate+FirebasePlugin.m b/src/ios/AppDelegate+FirebasePlugin.m index 7834480f1..a14c65695 100644 --- a/src/ios/AppDelegate+FirebasePlugin.m +++ b/src/ios/AppDelegate+FirebasePlugin.m @@ -13,7 +13,6 @@ @interface AppDelegate ()