I am trying to create a push notification app using the phonegap-plugin-push plugin in Ionic 2. I have imported push from ionic-native. I am able to generate a registrationId using push.on(‘registration’).
Although, I am unable to use push.subscribe() which I need for devices to be subscribed to topics. I receive an error ‘subscribe’ does not exist on type ‘PushNotification’.
The ionic-native version I am using is 2.2.6. Is the subscribe method unsupported in ionic-native?