Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ionic-framework/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ionic 4 FirebaseX推送通知卡在SplashScreen(IOS)上_Ios_Ionic Framework_Push Notification_Firebase Cloud Messaging_Ionic4 - Fatal编程技术网

Ionic 4 FirebaseX推送通知卡在SplashScreen(IOS)上

Ionic 4 FirebaseX推送通知卡在SplashScreen(IOS)上,ios,ionic-framework,push-notification,firebase-cloud-messaging,ionic4,Ios,Ionic Framework,Push Notification,Firebase Cloud Messaging,Ionic4,我在android上有一个可用的推送通知,但当我在IOS(物理设备)上尝试时,我的应用程序只是停留在启动屏幕上。我知道firebase和我的其他插件之间存在冲突,我就是找不到它,因为我的调试没有错误。就像我在黑暗中修缮一样 这是我从Xcode中得到的日志: Apache Cordova native platform version 5.1.1 is starting. Multi-tasking -> Device: YES, App: YES [CDVTimer][console]

我在android上有一个可用的推送通知,但当我在IOS(物理设备)上尝试时,我的应用程序只是停留在启动屏幕上。我知道firebase和我的其他插件之间存在冲突,我就是找不到它,因为我的调试没有错误。就像我在黑暗中修缮一样

这是我从Xcode中得到的日志:

Apache Cordova native platform version 5.1.1 is starting.
 Multi-tasking -> Device: YES, App: YES
 [CDVTimer][console] 0.044942ms
 [CDVTimer][handleopenurl] 0.040054ms
 Unlimited access to network resources
 [CDVTimer][intentand/navigationfilter] 1.261115ms
 [CDVTimer][gesturehandler] 0.039935ms
 [CDVTimer][file] 1.174092ms
 Starting Firebase plugin
 [CDVTimer][firebaseplugin] 1.145005ms
 [CDVTimer][inappbrowser] 0.092983ms
 CDVIonicKeyboard: resize mode 1
 CDVIonicKeyboard: WARNING!!: Keyboard plugin works better with WK
 [CDVTimer][cdvionickeyboard] 0.707030ms
 _hasPermission: NO
 [CDVTimer][splashscreen] 3.234029ms
 [CDVTimer][statusbar] 3.214955ms
 [CDVTimer][keyboard] 0.458956ms
 [CDVTimer][TotalPluginStartup] 12.398005ms
 FirebasePlugin[native] LOG: GoogleService-Info.plist found, setup: [FIRApp configureWithOptions]
 6.23.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60402000 started
 6.23.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled 
 6.23.0 - [Firebase/Messaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:

[Crashlytics] Version 3.14.0 (144)
6.23.0 - [Firebase/Analytics][I-ACS031025] Analytics screen reporting is enabled. Call +[FIRAnalytics setScreenName:setScreenClass:] to set the screen name or override the default screen class name. To disable screen reporting, set the flag FirebaseScreenReportingEnabled to NO (boolean) in the Info.plist
FirebasePlugin[native] LOG: Enter foreground: FCM direct channel = false
FirebasePlugin[native] LOG: didReceiveRegistrationToken: dd9mOdE2pkghisuLiF7qYg:APA91bGC-oZ60V6hvCCzu_1lcJDknQQoeNnGZsh1pONuhQfPzU1fP1vs7xVm_hnuhqihKNdm-GpRtKgDlQf_89_IsOeaTCjQd_F4flXOG4BMUgWegYRM1JDzcUflm2OzPN5U6cx74GCr
FirebasePlugin[native] LOG: tokenRefreshNotification: dd9mOdE2pkghisuLiF7qYg:APA91bGC-oZ60V6hvCCzu_1lcJDknQQoeNnGZsh1pONuhQfPzU1fP1vs7xVm_hnuhqihKNdm-GpRtKgDlQf_89_IsOeaTCjQd_F4flXOG4BMUgWegYRM1JDzcUflm2OzPN5U6cx74GCr
6.23.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
我的插件列表

call-number 0.0.2 "Cordova Call Number Plugin"
cordova-plugin-add-swift-support 2.0.2 "AddSwiftSupport"
cordova-plugin-androidx 2.0.0 "cordova-plugin-androidx"
cordova-plugin-androidx-adapter 1.1.1 "cordova-plugin-androidx-adapter"
cordova-plugin-camera 2.4.1 "Camera"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-console 1.1.0 "Console"
cordova-plugin-device 1.1.7 "Device"
cordova-plugin-file 4.3.3 "File"
cordova-plugin-filepath 1.5.6 "cordova-plugin-filepath"
cordova-plugin-firebasex 9.1.2-cli "Google Firebase Plugin"
cordova-plugin-geolocation 4.0.2 "Geolocation"
cordova-plugin-inappbrowser 3.2.1-dev "InAppBrowser"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-qrscanner 3.0.1 "QRScanner"
cordova-plugin-splashscreen 4.1.0 "Splashscreen"
cordova-plugin-statusbar 2.4.3 "StatusBar"
cordova-plugin-whitelist 1.3.4 "Whitelist"
cordova-plugin-youtube-video-player 2.4.0 "CordovaYoutubeVideoPlayer"
cordova-sms-plugin 1.0.0 "Cordova SMS Plugin"
ionic-plugin-keyboard 2.2.1 "Keyboard"
我的爱奥尼亚信息:

  Ionic:

   Ionic CLI          : 5.4.6 (/usr/local/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.2.4

Capacitor:

   Capacitor CLI   : not installed
   @capacitor/core : not installed

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : android 8.1.0, ios 5.1.1
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, (and 20 other plugins)

Utility:

   cordova-res : 0.15.1 
   native-run  : 0.3.0 (update available: 1.0.0)

System:

   ios-deploy : 1.9.4
   ios-sim    : 8.0.2
   NodeJS     : v12.16.3 (/usr/local/bin/node)
   npm        : 6.14.4
   OS         : macOS Catalina
   Xcode      : Xcode 11.6 Build version 11E708

你解决问题了吗?因为我有完全相同的眼睛,所以我解决了这个问题。我去另一个火箭筒library@aJaysanity请问,你现在在用哪个图书馆?它可以在Android和iOS上运行吗?