@capgo/capacitor-install-referrer インストール Attribution シグナルを 1 つの Capacitor API を通じて公開します。
Android の場合、Google Play インストールリファラーの詳細を読み取ります: raw referrer string、クリックタイムスタンプ、インストールタイムスタンプ、およびインスタントアプリフラグ。iOS の場合、Apple AdServices 属性トークンを返し、Apple の AdServices 属性エンドポイントを呼び出すこともできます。Apple Search Ads 属性データ。
getReferrer- 現在のプラットフォームのネイティブインストールAttribution詳細を返します。GetReferrer- アプリがCapacitorから移行している場合の非推奨の互換性のためのエイリアスです。cap-play-install-referrer.getPluginVersion- ネイティブプラグイン実装バージョンマーカーを返します。- - iOSのAppleAttributionの検索にオプションのリトライ機能をサポートします。
Platform Support
Platform| サポート | Android |
|---|---|
| Google Play Install Referrer __CAPGO_KEEP_0__ | Google Play Install Referrer API |
| __CAPGO_KEEP_0__ | Apple AdServices 属性トークンとオプションの Apple 属性ペイロード |
| Web | サポートされていないスタブ |
パブリック API
セクション「パブリック API」| メソッド | 説明 |
|---|---|
getReferrer(options?) | Android または iOS に対してインストール属性の詳細を返します。 |
GetReferrer(options?) | 廃止された互換性のあるエイリアス getReferrer. |
getPluginVersion() | ネイティブ プラグインのバージョン マーカーを返します。 |
真実の源
セクション「真実の源」このリファレンスはsynced されています。 src/definitions.ts で capacitor-install-referrer.
Capgoから続きます。@capgo/capacitor-install-referrer
セクションのタイトル “Capgoから続きます。@capgo/capacitor-install-referrer”Capgoを使用している場合 Capgoから続きます。@capgo/capacitor-install-referrer Capgoを使用して、ストアの承認と配布を計画し、Capgoから続きます。@__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-install-referrer Capgoから続きます。@capgo/capacitor-install-referrer Capgoから続きます。@capgo/capacitor-in-app-review Capgoから続きます。@capgo/capacitor-in-app-review Capgoから続きます。@capgo/capacitor-in-app-review Using @capgo/capacitor-in-app-review for the native capability in Using @capgo/capacitor-in-app-review, @capgo/capacitor-native-market for the implementation detail in @capgo/capacitor-native-market, and Using @capgo/capacitor-native-market for the native capability in Using @capgo/capacitor-native-market.