Last active
April 23, 2020 18:46
-
-
Save sweldon/757608823d203074c933349335a882c7 to your computer and use it in GitHub Desktop.
Example APNS for Testing IOS Push
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"aps": { | |
"alert": { | |
"title": "Comment mention", | |
"body": "Comment mention body", | |
}, | |
"badge": 1 | |
}, | |
"Simulator Target Bundle": "bundle_id.com", | |
"push_type": "comment", | |
"holiday_id": 234, | |
"comment_id": 275, | |
"comment_user": "john", | |
} | |
// Find device id with: xcrun instruments -s devices | |
// Send push with: xcrun simctl push <device_id> <bundle_id> ~/path/to/example_test_ios_push.apns | |
// In Xamarin access nested keys with: "aps.alert.body" for example. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment