インストール/アップデートの区別
MoEngageのappStatus APIを使用して、iOSアプリでアプリのインストールとアップデートを区別します。
ページを読み上げる約1分
アプリがすでにApp Storeで公開されている状態でMoEngageを統合する場合があるため、アプリの更新が実際の UPDATE なのか INSTALL なのかを把握する必要があります。この2つを区別するロジックを用意し、以下のメソッドを使用してSDKにその情報を伝えてください。
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
MoEngageのappStatus APIを使用して、iOSアプリでアプリのインストールとアップデートを区別します。
//For Fresh Install of App
MoEngageSDKAnalytics.sharedInstance.appStatus(.install)
// For Existing user who has updated the app
MoEngageSDKAnalytics.sharedInstance.appStatus(.update)
//For Fresh Install of App
[[MoEngageSDKAnalytics sharedInstance]appStatus:MoEngageAppStatusInstall];
// For Existing user who has updated the app
[[MoEngageSDKAnalytics sharedInstance]appStatus:MoEngageAppStatusUpdate];
Suggestions