Skip to content

A simple script to send an iOS Location Push Service request to a device directly through APNS. This is a demo of how your server might send an iOS Location Push Service request

Notifications You must be signed in to change notification settings

transistorsoft/location-push-service-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iOS Location Push Service Demo

This is just a simple node script to send an APNS notification for the iOS Location Push Service Extension.

Installation

yarn install

Configuration

Edit the file config/apns.json.sample and save as config/apns.json

  • The token.key comes from your Apple Developer Console APNS_KEY.p8, the one created with [x] Apple Push Notifications service (APNs). enabled
  • The token.keyId can be obtained by selecting the APNS KEY above in Apple Developer Console.

{
  "token": {
    "key": "/path/to/your/apns-key.p8",
    "keyId": "<10-character KEY ID>",
    "teamId": "<Apple Developer Team ID>"
  },
  "bundleIdentifier": "com.transistorsoft.locationPushServiceExtension"
}

node send.js <apns_location_push_token>




About

A simple script to send an iOS Location Push Service request to a device directly through APNS. This is a demo of how your server might send an iOS Location Push Service request

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published