This repo contains:
- A sample React Native iOs app (
react-native 0.57.2
) - Server-side script to send the push-notification to the iOS app.
- Clone the repo
- Create a developer certificate according to the article
- Build & launch sample iOS app. Allow push notification permission. You will get device token for APN in Alert and console.log. Store it.
- Download it and put it in repo's root folder under
ios_development.cer
- Get your teamId, keyId and appId according to the original article on Medium.
- Pass these params together with token to the
pushServer.js
:node pushServer.js keyId teamId token appId message