@Dorado, pls, list all steps, that you do to install & configure ios push. May be you missed something.
Also code examples would be very helpful.
@Jukov first of all want to say… after some digging I found that my provision profile not includes PushNotifications
I already have an existing app in appStore, what I need is add PushNotification in it. So I also got an app ID in my certificate center.
- I followed the steps from here iOS setup
- Pass
'dev_push': false to $ionicAppProvider.identify() - Switch to prod ssl cert by ionic push --production-mode=y
- Archive app for Ad Hoc development using custom xcode provision profile and install app to your connected device via iTunes.
And here he not showed me token. It was unregistered. Why?
Hey guys my problem ended up being a Provisioning Profile that wasn’t hooked up.
Ionic Push now gives you better error codes that should help you solve your issue.
Same problem here…
Once I do: ionic config set dev_push false
the register command doesn’t work:
push.register(function(token) { // This register to listen to push events, and returns the device ID
console.log("Device token: "+token.token);
});
The same problem when using notification in product mode, This issue is made in Jun '15, but Nobody know it, nobody handle it, nobody solve it, wtf ?
Hi. Do you correctly configure provision profile (it should include PushNotifications) ?