Skip to content

Conversation

ParadimeWeb
Copy link
Contributor

Line 59, the variable noPushPayload is wrong. The variable is true when there is in fact push pay load. You should compare to nil like this:

noPushPayload = options[UIApplicationLaunchOptionsRemoteNotificationKey] == nil;

If options[UIApplicationLaunchOptionsRemoteNotificationKey] is nil, then there is no payload...

Thanks,

Line 59, the variable noPushPayload is wrong. The variable is true when there is in fact push pay load. You should compare to nil like this:

noPushPayload = options[UIApplicationLaunchOptionsRemoteNotificationKey] == nil;

If options[UIApplicationLaunchOptionsRemoteNotificationKey]  is nil, then there is no payload...

Thanks,
@facebook-github-bot
Copy link

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at [email protected]. Thanks!

@nlutsenko nlutsenko self-assigned this Apr 7, 2016
@nlutsenko nlutsenko added this to the 1.14.0 milestone Apr 7, 2016
@nlutsenko nlutsenko merged commit 1a33549 into parse-community:master Apr 7, 2016
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

Successfully merging this pull request may close these issues.

3 participants