Skip to content
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

APNs Payload #5

Open
JDandini opened this issue Oct 30, 2017 · 0 comments
Open

APNs Payload #5

JDandini opened this issue Oct 30, 2017 · 0 comments

Comments

@JDandini
Copy link

Hi Friends, I'm new at my current job, they ask me to check some if we can store an element who comes from the push notification sent by localytics, the thing is I have no access to the panel, so they just send the push notification and expect to parse the response, as I said since I have no access to the panel so I can't follow the tutorial, I can achieve this if I can know where is the custom key/values are set on the payload, I mean there are two options
1st the key values are inside the aps dictionary making it look like this:

{"aps" : {
   "message" : "some message",
   "badge" : 1,
   "key" : "value"
 }
}

Or the key/value are at the same level as the aps dictionary making look like this:

{"aps" : {
   "message" : "some message",
   "badge" : 1
 },
 "key" : "value"
}

If you can help me I appreciate, I mean I try anything and I'm desperate

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

1 participant