In app.component.ts, I’m initializing the OneSignal setup (is that the right place? I can’t make that up from the docs). Everything is working fine and I’m receiving notifications.
When a notification is received and opened, the app must go to a specific page, but I can’t use NavController.
Can anyone help me with this? this.app.getComponent(‘nav’) is not in use anymore. I’m using the latest version of Ionic 2, see the list.
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.2
Ionic CLI Version: 2.1.8
Ionic App Lib Version: 2.1.4
Ionic App Scripts Version: 0.0.43
ios-deploy version: 1.9.0
ios-sim version: 5.0.11
OS: OS X El Capitan
Node Version: v6.9.0
Xcode version: Xcode 8.1 Build version 8B62
Thanks in advance!