Parse Push Notifications working with Corona SDK

Hi @nappa,

We provide a very basic example for PushWoosh (recently tested) in our guide. However, we can not provide an example for every 3rd-party push notification service, so you’ll need to contact them or seek out if they’ve provided any documentation on their side for using their service with Corona.

Thanks,

Brent

Brent,

That makes sence. I’m going to ask parse.com about it.

Thanks.

This problem were easily resolved using gamethrive.com. I give parse.com up as a bad job.

Im not sure because I haven’t tried it out on android my self yet. But don’t you need “google cloud messages” tag in your installation for android devices so that pushes can work like supposed to? that is in conjunction with the project number from google?

  • pushType : This field is reserved for directing Parse to the push delivery network to be used. If the device is registered to receive pushes via GCM, this field will be marked “gcm”. If this device is not using GCM, and is using Parse’s push notification service, it will be blank (readonly).

Hi sam.bavi,

When using parse.com, If you do not set “gcm” to ‘pushType’ field, a notification does not reach android devices.

And even if you set “gcm”, ‘alert’ and ‘custom’ fields in a notification is empty.

BTW, if you do not set ‘undefined’(not blank string) to ‘pushType’ field, a notification does not reach iphone.

Thank you.

Hi nappa, dont understand that last part, i just checked my tables at parse and ‘pushType’ is automatically set to ‘undefined’ when not set and its working on iOS 8. Or what that what you meant?

sam.bavi,

Never mind. When registering devices using REST API, and I set a blank string(not ‘undefined’) to ‘pushType’, a notification can’t reach devices. 

Thanks.

Hi nappa, were you able to successfully register the android device on parse? At the moment I’m getting an error that installationId is missing, but Im not sure were to get the installationId from. Did you use device id?  

sam.bavi,

>were you able to successfully register the android device on parse? 
>Did you use device id?
yes. you can register a device to parse.com with a registration id that was retrieved by “remoteRegistration” event on android device.

So on a Non-Google Android phone, is that possible to push notification using Parse like you? 

There is no Google Service on that phone and I don’t have a Google  projectNumber.

Hi hexor, I don’t know, haven’t used parse sense after that my self. Moved on to gamethrive plugin. If you by non google you mean amazon then I can highly recommend gamethrive for this. I have my self used gamethrive for amazon and its really easy to setup after you register your app in their developer portal. You need to register the app in google play to get an Google  projectNumber,  I don’t know if you need google services to use push? But for developer purposes I usually install gapps (google services) on my android emulator builds manually.