diff --git a/ios/App/App/AppDelegate.swift b/ios/App/App/AppDelegate.swift index 33223ff2ee..3f97d03cad 100644 --- a/ios/App/App/AppDelegate.swift +++ b/ios/App/App/AppDelegate.swift @@ -58,22 +58,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate { // tracking app url opens, make sure to keep this call return ApplicationDelegateProxy.shared.application(application, continue: userActivity, restorationHandler: restorationHandler) } - - - func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) { - Messaging.messaging().apnsToken = deviceToken - Messaging.messaging().token(completion: { (token, error) in - if let error = error { - NotificationCenter.default.post(name: .capacitorDidFailToRegisterForRemoteNotifications, object: error) - } else if let token = token { - NotificationCenter.default.post(name: .capacitorDidRegisterForRemoteNotifications, object: token) - } - }) - } - - func application(_ application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: Error) { - NotificationCenter.default.post(name: .capacitorDidFailToRegisterForRemoteNotifications, object: error) - } } diff --git a/ios/App/Podfile b/ios/App/Podfile index f61045efa4..c0992971f4 100644 --- a/ios/App/Podfile +++ b/ios/App/Podfile @@ -31,14 +31,6 @@ def capacitor_pods pod 'CordovaPluginsResources', :path => '../capacitor-cordova-ios-plugins' end -target 'App' do - capacitor_pods - # Add your Pods here - pod 'FirebaseCore' - pod 'Firebase/Messaging' -end - - post_install do |installer| assertDeploymentTarget(installer) end