Skip to content

iOS does't receive Push notification from Cloud code #502

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kjisoo opened this issue Feb 19, 2016 · 4 comments
Closed

iOS does't receive Push notification from Cloud code #502

kjisoo opened this issue Feb 19, 2016 · 4 comments

Comments

@kjisoo
Copy link

kjisoo commented Feb 19, 2016

When i send push in cloud code, iOS does't receive push but android very well.
also REST API is working both iOS and Android.

My cloudcode

var query = new Parse.Query(Parse.Installation);
  Parse.Push.send({
    where: query,
    data: {
      alert: "Answer",
      sound: "default"
    }
  }, {
    success: function(){
    }, error: function(error){
    }, useMasterKey: true
  });
@KudosGuy
Copy link

KudosGuy commented Mar 9, 2016

@kjisoo @drew-gross how did you resolve this issue, I have the same problem, CURL works but cloud code not...

@kjisoo
Copy link
Author

kjisoo commented Mar 10, 2016

@KudosGuy Did you define ServerURL? I missed it

@KudosGuy
Copy link

@kjisoo yeah I did, I guess I just keep digging...

@otymartin
Copy link

Any answers here?

A lot of us can't get push notifications to work in cloud code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants