@mohammed2raja wrote:
I am new to ionic framework. I developing an app using ionic 2. I have a requirement to show alert message when a new message arrives. I need help to write a code to show notification/alert.
I went though ionic 2 doc about native-push.
var push = Push.init({
android: {
senderID: "12345679"
},
ios: {
alert: "true",
badge: true,
sound: 'false'
},
windows: {}
});
But, it give error as "Push" is not defined.
Do I missed some configuration or do I need to include some cardova JavaScript file in to my index.html?
Posts: 1
Participants: 1