@nextpush/sdk-expo
v0.1.51
Published
This package is meant to be installed in Expo managed projects to communicate with NextPush Server
Downloads
17
Readme
NextPush - SDK Expo
This package is meant to be installed in Expo managed projects to communicate with NextPush Server
Installation
Install the SDK
npm i @nextpush/sdk-expo
//OR
yarn add @nextpush/sdk-expo
Usage/Examples
import NP from '@nextpush/sdk-expo';
NP.initialize(API_KEY, APP_VERSION)
NP.setExpoPushToken(EXPO_PUSH_TOKEN)
NP.setUserId(USER_ID)
NP.logEvent(EVENT_NAME)