SDK: Expo plugin
Step 1: Import the PushSDK Library
yarn add @pushly/push-sdk-exponpm install --save @pushly/push-sdk-expoStep 2: Adding plugin to Expo config
Step 2.1: Google Services
Step 2.2: app.config.js
export default {
expo: {
...,
plugins: [
[
'@pushly/push-sdk-expo',
{
ios: {
enableNse: true,
nseTargetName: 'NotificationServiceExtension',
nseBundleIdSuffix: '.NotificationServiceExtension',
appGroupId: 'group.com.pushly.PushSdkReactNativeExample',
iosDeploymentTarget: '15.0',
swiftVersion: '5.0',
},
android: {
applicationId: 'com.example.myapp',
googleServicesFile: './app/google-services.json',
applyGoogleServicesPlugin: true,
},
},
],
],
},
};Property
Definition
Step 3: iOS Setup
Step 3.1: Install Pods
Step 4: SDK Initialization
Next Steps
Last updated