본문 바로가기

Android Referrer

GitHub

Google Play Install Referrer

“Google Play Install Referrer” 섹션

Android에서는, getReferrer() Google Play Install Referrer 서비스에 연결하여 Play Store 설치 기록에서 데이터를 반환합니다.

const result = await InstallReferrer.getReferrer();
console.log(result.referrer);
console.log(result.clickTimestampSeconds);
console.log(result.installBeginTimestampSeconds);
console.log(result.googlePlayInstantParam);
필드설명
platform항상 android.
referrerPlay 설치 리퍼러 원시 문자열입니다.
clickTimestampSeconds클라이언트 측 리퍼러 클릭 타임스탬프(초 단위).
installBeginTimestampSeconds클라이언트 측 설치 시작 타임스탬프(초 단위).
googlePlayInstantParam사용자가 앱의 인스턴트 경험을 실행했는지 여부입니다.
  • 실제 설치 리퍼러 데이터를 얻으려면 앱이 Google Play에서 설치되어야 합니다.
  • 설치 리퍼러 서비스를 지원하는 Play Store 버전이 설치된 기기여야 합니다.
  • Android 런타임 권한이 필요하지 않습니다.

Play Store 서비스가 사용 불가능하거나, 지원되지 않거나, 결과를 반환하기 전에 연결이 끊기거나, 예상치 못한 응답을 반환할 경우 플러그인이 거부됩니다.

Android Referrer에서 계속

“Android Referrer에서 계속” 섹션

사용 중이라면 Android Referrer 네이티브 플러그인 작업을 계획하려면, 이를 다음 항목과 연결하세요: @capgo/capacitor-install-referrer 사용하기 @capgo/capacitor-install-referrer 사용하기의 네이티브 기능은, Capgo 플러그인 디렉토리 Capgo Plugin Directory의 제품 워크플로우에 맞춰, Capgo의 Capacitor 플러그인 Capgo의 Capacitor 플러그인 구현 상세 내용에 대해서는, 플러그인 추가 또는 업데이트 플러그인 추가 또는 업데이트 구현 상세 내용에 대해서는, Ionic Enterprise 플러그인 대안 Ionic Enterprise 플러그인 대안의 제품 워크플로우에 대해서는.