메뉴로 이동

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);

반환된 Field

반환된 Field
Field설명
platform항상 android.
referrerRaw Play 설치 권한 문자열.
clickTimestampSeconds클라이언트 측 권한 클릭 시간(초).
installBeginTimestampSeconds클라이언트 측 설치 시작 시간(초).
googlePlayInstantParam사용자가 앱의 즉시 경험을 시작했는지 여부.
  • 앱이 Google Play에서 설치된 경우에만 실제 설치 권한 데이터를 얻을 수 있습니다.
  • Play Store 버전이 Install Referrer 서비스를 지원하는 기기가 있어야 합니다.
  • Android 런타임 권한이 필요하지 않습니다.

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

안드로이드 리퍼러에서 계속

안드로이드 리퍼러에서 계속 섹션

이러한 경우 안드로이드 리퍼러 native 플러그인 작업을 계획하는 경우 Using @capgo/capacitor-install-referrer Using @capgo/capacitor-install-referrer Capgo 플러그인 디렉토리 Capgo 플러그인 디렉토리 Capacitor 플러그인들에 의해 Capgo Capacitor 플러그인들에 의해 Capgo의 구현 세부 사항에 대해 플러그인 추가 또는 업데이트 플러그인 추가 또는 업데이트의 구현 세부 사항에 대해, 및 아이오닉 엔터프라이즈 플러그인 대체 아이오닉 엔터프라이즈 플러그인 대체의 제품 워크플로에 대해.