parse-community / parse-embedded-sdks

The Embedded SDKs for the Parse Platform
http://parseplatform.org
Other
246 stars 118 forks source link

Push Notifications - Yun #26

Closed jeffreyjackson closed 9 years ago

jeffreyjackson commented 9 years ago

The sample project works great, and I'm able to execute "Test". This push is received and it looks like everything is working just fine. However, when I go to send my own push notification from the web panel it says I don't have any registered devices... what gives?

jeffreyjackson commented 9 years ago

Actually - do I need to setup a certificate?

ronaldyang commented 9 years ago

@jeffreyjackson This is probably due to the Parse app finds there is no device(Android/iOS) for push, although you actually have a device(embedded) registered. There are two work arounds here:

  1. run following command in your terminal curl -X POST \ -H "X-Parse-Application-Id: YOUR_APP_ID" \ -H "X-Parse-Client-Key: YOUR_CLIENT_KEY" \ -H "Content-Type: application/json" \ -d '{ "where": {"deviceType": "embedded" }, "data": { "alert": "blink" } }' \ https://api.parse.com/1/push
  2. Manually create an installation object with "deviceType" as "android" or "ios".
embeddedgeeks commented 9 years ago

This does not work ! please fix this issue the embedded parse sdk is worthless withou push notifications!!

ghost commented 9 years ago

Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

stanleyw commented 9 years ago

Same issue as #46