Open asamuga opened 7 years ago
Could you please file a bug in JIRA https://crosswalk-project.org/jira? We will verify it.
You can refer here for more details, but the conclusion is that OneSignal and Crosswalk dont work together when use in Ionic 2 and TS.
https://forum.ionicframework.com/t/onesignal-doesnt-work-when-using-crosswalk/69440
So I have this code in my app.component.ts
and this worked, but when I installed crosswalk, functions "handleNotificationReceived" or "handleNotificationOpened" dont get called at all.
I receive push notificaiton in my status bar, but this code is not executed.
I also get this warning in Console
Native: deviceready did not fire within 2000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.
So I ran
ionic state reset
but still nothing.Any idea why is this happening?