跳过内容

@capgo/capacitor-install-referrer

Read Android Play install referrer data and iOS Apple AdServices attribution tokens from Capacitor.

概述

概述

@capgo/capacitor-install-referrer 通过一个 Capacitor API 来暴露安装来源的信号。

在 Android 上,它读取 Google Play 安装来源者详细信息:原始来源字符串、点击时间戳、安装时间戳和即时应用标志。 在 iOS 上,它返回一个 Apple AdServices 属性令牌,并可选地调用 Apple 的 AdServices 属性端点以获取 Apple 搜索广告属性数据。

核心功能

Core Capabilities
  • getReferrer 返回本地安装来源信息
  • GetReferrer 已废弃的兼容性别名,用于从 cap-play-install-referrer.
  • getPluginVersion 返回本地插件实现版本标记
  • 可选的 iOS Apple 来源查找,支持重试和延迟 AdServices 响应

平台支持

平台
支持Android
Google Play 安装来源 __CAPGO_KEEP_0__Google Play Install Referrer API
支持Apple AdServices 属性 token 和可选的 Apple 属性载荷
Web未支持的占位符
方法描述
getReferrer(options?)返回 Android 或 iOS 的安装属性详细信息。
GetReferrer(options?)已废弃的兼容性别名为 getReferrer.
getPluginVersion()返回原生插件版本标记。

本参考文档是从 src/definitions.tscapacitor-install-referrer.

继续阅读请参阅 @capgo/capacitor-install-referrer

标题:继续阅读请参阅 @capgo/capacitor-install-referrer

如果您正在使用 @capgo/capacitor-install-referrer 来规划商店审批和分发,请将其连接到 使用 @capgo/capacitor-install-referrer for the native capability in Using @capgo/capacitor-install-referrer, 使用 @capgo/capacitor-install-referrer @capgo/capacitor-in-app-review 使用@capgo/capacitor-in-app-review 为native能力在使用@capgo/capacitor-in-app-review @capgo/capacitor-native-market 为实现细节在@capgo/capacitor-native-market, 和 使用@capgo/capacitor-native-market 为native能力在使用@capgo/capacitor-native-market.