-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Push IOS #172
Comments
@deluxeuo from my knowledge, you do not need to use Google's Sender ID for iOS. Instead, you need to set up your app id, certificates and provisioning profile accordingly. Try checking out this tutorial to do so. http://code.tutsplus.com/tutorials/setting-up-push-notifications-on-ios--cms-21925 Cheers |
I already set up the certificates to push, and he is ok to push. |
@deluxeuo I'm using phonegap-plugin-push for this one. It's a phonegap plugin but I'm building it with Ionic + Cordova Are you able to receive your notification? |
It must use this setting for ios? would look like? var push = PushNotification.init({ When you open the emulator, it request permission to push, but my console have it active My SenderID, this on google console |
@deluxeuo Yes my settings are similar to yours. Have a look below. var push = PushNotification.init({
"android": {
"senderID": "xxxxxxxxxxxxxx"
},
"ios": {
"alert": "true",
"badge": "true",
"sound": "true"
}
}); Have you tried it on a LIVE device? Because I believe you are unable to register your device for push notification on an emulator. I may be wrong so someone correct me if this is the case. |
That was it! on my phone I can have my Key What is your push server? |
@deluxeuo GCM will only be for Google so for iOS you need to set up your certificates like the tutorial I shared with you. I'm using AWS SNS as my push server. |
Leonardo. Ja configurei o projeto no xcode para provisionamento push, também no meu developer apple, ja configurei para push. Entrei no google e configurei o projeto, fiz upload do certificado (p12), e ele gerou um novo key. Existe alguma configuração extra? |
Como o @leonardopaiva disse, esse plugin (e é o mesmo caso pro PushPlugin), não dá suporte ao GCM pra iOS ainda. Acredito que ninguém tenha feito funcionar até agora. |
This thread has been automatically locked. |
friends..
I'm using push for android and is working correctly.
with the same code tried to use in IOS, after setting up my certificates
for IOS I can also use the same SenderID google ??
For IOS configuration is different?
I tried to use the same code and have the error in the console xocde
Push Plugin failed register
The text was updated successfully, but these errors were encountered: