Android Referrer
설치 단계와 이 플러그인의 전체 마크다운 가이드와 함께 설정 프롬프트를 복사합니다.
Google Play Install Referrer
Google Play Install Referrer구글 플레이 설치 참조자 서비스와 연결하여 플레이 스토어 설치 기록에서 데이터를 반환합니다. getReferrer() Android에서
const result = await InstallReferrer.getReferrer();
console.log(result.referrer);console.log(result.clickTimestampSeconds);console.log(result.installBeginTimestampSeconds);console.log(result.googlePlayInstantParam);반환된 Field
반환된 Field| Field | 설명 |
|---|---|
platform | 항상 android. |
referrer | 원본 Play 설치 유도 문자열. |
clickTimestampSeconds | 클라이언트 측 참조 클릭 시간(초). |
installBeginTimestampSeconds | 클라이언트 측 설치 시작 시간(초). |
googlePlayInstantParam | 사용자가 앱의 즉시 경험을 시작했는지 여부. |
요구 사항
요구 사항- Google Play에서 앱을 설치해야만 실제 설치 참조 데이터를 얻을 수 있습니다.
- Play Store 버전이 Install Referrer 서비스를 지원하는 기기가 있어야 합니다.
- Android 런타임 권한이 필요하지 않습니다.
오류 사례
오류 사례 제목Play Store 서비스가 사용 불가, 지원되지 않음, 결과를 반환하기 전에 연결이 끊겼거나 예상치 못한 응답을 반환할 때 플러그인은 거부합니다.
Android Referrer에서 계속하기
Android Referrer에서 계속하기 제목__CAPGO_KEEP_0__와 __CAPGO_KEEP_1__를 사용하여 __CAPGO_KEEP_0__/__CAPGO_KEEP_1__-install-referrer을 연결합니다. __CAPGO_KEEP_0__는 __CAPGO_KEEP_1__를 사용하여 native plugin 작업을 계획하고 있습니다. __CAPGO_KEEP_0__를 __CAPGO_KEEP_1__와 연결합니다. capgo는 capacitor를 사용하여 native plugin 작업을 계획하고 있습니다. capgo를 capacitor와 연결합니다. native 기능을 위한 @capgo/capacitor-install-referrer Capgo 플러그인 디렉토리 Capgo 플러그인에 대한 __CAPGO_KEEP_1__ native 기능을 위한 Capacitor 플러그인에 대한 Capgo Capacitor 플러그인에 대한 Capgo 구현 세부 사항 플러그인 추가 또는 업데이트 플러그인 추가 또는 업데이트 구현 세부 사항 Ionic Enterprise 플러그인 대체 Ionic Enterprise 플러그인 대체 제품 워크플로우