Android Referrer
이 플러그인의 설치 단계와 전체 마크다운 가이드를 포함한 설정 프롬프트를 복사하세요.
__CAPGO_KEEP_3__
__CAPGO_KEEP_4____CAPGO_KEEP_5__ getReferrer() __CAPGO_KEEP_6__
const result = await InstallReferrer.getReferrer();
console.log(result.referrer);console.log(result.clickTimestampSeconds);console.log(result.installBeginTimestampSeconds);console.log(result.googlePlayInstantParam);__CAPGO_KEEP_8__
__CAPGO_KEEP_9__| __CAPGO_KEEP_10__ | __CAPGO_KEEP_11__ |
|---|---|
platform | 항상 android. |
referrer | Google Play 설치 참조자 문자열. |
clickTimestampSeconds | 클라이언트 측 참조자 클릭 시간(초). |
installBeginTimestampSeconds | 클라이언트 측 설치 시작 시간(초). |
googlePlayInstantParam | 사용자가 앱의 즉시 경험을 시작했는지 여부. |
요구 사항
제목 '요구 사항'- Google Play에서 앱을 실제로 설치해야 하는 경우 설치 참조자 데이터를 얻을 수 있습니다.
- Play Store 버전이 Install Referrer 서비스를 지원하는 기기가 있어야 합니다.
- Android 런타임 권한이 필요하지 않습니다.
오류 사례
제목 '오류 사례'The plugin rejects when the Play Store service is unavailable, unsupported, disconnected before returning a result, or returns an unexpected response.
안드로이드 리퍼러에서 계속
제목: 안드로이드 리퍼러에서 계속If you are using 안드로이드 리퍼러 to plan native plugin work, connect it with Using @capgo/capacitor-install-referrer for the native capability in Using @capgo/capacitor-install-referrer Capgo Plugin Directory for the product workflow in Capgo Plugin Directory Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo 플러그인 추가 또는 업데이트 플러그인 추가 또는 업데이트 구현 세부 정보에 대해, 아이오닉 엔터프라이즈 플러그인 대체 아이오닉 엔터프라이즈 플러그인 제품 워크플로에 대해,