Hi! I just installed OneSignal Cordova Plugin and the @ionic-native/onesignal, in my first try I followed step by step the official guide of ionic about OneSignal (OneSignal | OneSignal Cordova SDK Push Notification Plugin), but it doesn’t work because in the xCode console throw me back this message as a warning
tried calling OneSignal.startInit, but the OneSignal plugin is not installed.
And obviously in my panel of OneSignal doesn’t detect any device.
After this try, I reed the official doc of OneSignal and Ionic + Capacitor, and I followed those steps (Ionic & Capacitor SDK Setup) instead of Ionic doc. Now the warning that I got is this:
2021-09-09 20:19:40.146713-0400 App[50104:1022578] WARNING: appId set, but please call setLaunchOptions(launchOptions) to complete OneSignal init! 2021-09-09 20:19:40.736098-0400 App[50104:1022578] KeyboardPlugin: resize mode - native ⚡️ Loading app at capacitor://localhost... 2021-09-09 20:19:41.351849-0400 App[50104:1022578] WF: === Starting WebFilter logging for process App 2021-09-09 20:19:41.352108-0400 App[50104:1022578] WF: _userSettingsForUser : (null) 2021-09-09 20:19:41.352326-0400 App[50104:1022578] WF: _WebFilterIsActive returning: NO ⚡️ [log] - onscript loading complete ⚡️ WebView loaded ⚡️ [log] - constructor SwUpdate no activado... ⚡️ [log] - checkForUpdate catch... ⚡️ To Native -> App addListener 56516527 ⚡️ [log] - deviceready has not fired after 5 seconds. ⚡️ [log] - Channel not fired: onCordovaReady ⚡️ [warn] - Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.
And the issue is the same, I cant see any of my devices connected in OneSignal. Please I need help.
This is my Ionic info:
Ionic: Ionic CLI : 5.4.16 Ionic Framework : @ionic/angular 5.7.0 @angular-devkit/build-angular : 12.0.5 @angular-devkit/schematics : 12.0.5 @angular/cli : 12.0.5 @ionic/angular-toolkit : 4.0.0 Capacitor: Capacitor CLI : 3.1.1 @capacitor/core : 3.2.2 Cordova: Cordova CLI : 6.2.0 Cordova Platforms : none Cordova Plugins : no whitelisted plugins (0 plugins total) Utility: cordova-res : 0.15.3 native-run : 1.4.1 System: ios-sim : ios-sim/9.0.0 darwin-x64 node-v12.18.4 NodeJS : v12.18.4 (/usr/local/bin/node) npm : 6.14.8 OS : macOS Big Sur Xcode : Xcode 12.5.1 Build version 12E507