@agrofelgf wrote:
Hello guys.
Im following this link:
http://docs.ionic.io/docs/ios-push-profilesto do some push notifications. With Android I had no problems. But ios is giving me headache.
Also following this link:
https://support.layer.com/hc/en-us/articles/204632870-How-do-I-troubleshoot-issues-with-Push-Notifications-on-iOS-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
https://github.com/nomad/HoustonSo, 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
Posts: 2
Participants: 1