SDK: Expo プラグイン
ステップ1: PushSDKライブラリをインポートする
yarn add @pushly/push-sdk-exponpm install --save @pushly/push-sdk-expo手順 2: Expo 設定へのプラグイン追加
手順 2.1: Google Services
手順 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,
},
},
],
],
},
};プロパティ
定義
ステップ3: iOSのセットアップ
ステップ3.1: Podsをインストールする
ステップ4: SDKの初期化
次のステップ
最終更新