exponent-server-sdk-node
Server side library for working with Exponent using Node.js
Usage
yarn add exponent-server-sdk
; // To check if something is a push tokenlet isPushToken = Expo; // Create a new Expo SDK clientlet expo = ; // To send push notifications -- note that there is a limit on the number of// notifications you can send at once, use expo.chunkPushNotifications() { try let receipts = await expo; console; catch error console; };
Developing
The source code is in the src/
directory and babel is used to turn it into ES5 that goes in the build/
directory.
To build, npm run build
.
To build and watch for changes, npm run watch
.
TODO
- Need to add tests