Hello guys.
Im following this link:
to do some push notifications. With Android I had no problems. But ios is giving me headache.
Also following this link:
Im sure my certificate is ok.
Or at least almost sure, since I need to create a .pem file while Ionic ask for the .p12 file.
Anyway, I tried uploading both in ionic.io without success.
But I was able to send and retrive the notification with houston
So, it is some mess in my Ionic project.
I tried ionic config dev_push true / false.
none work in real device.
Im sending this for testing, via postman:
{
“tokens”: [“mytoken”],
“profile”: “myprofile”,
“notification”: {
“title”: “Hello”,
“message”: “How are you?”,
“style”: “inbox”,
“android”: {
“data”: {
“title”: “aasd”,
“message”: “asaaasddd”,
“notId”: 3.21
}
},
“ios”: {
“data”: {
“title”: “Hello ios”,
“message”: “aasdasdasd”,
“notId”: 3
}
},
“payload”:{
"$state": “app.config”
}
}
In my initial controller I got the token for the device. but still no notification.
Any idea what can I check or missing?
thanks