Skip to content

@capgo/capacitor-install-referrer

안드로이드 플레이 설치 참조 데이터 및 iOS 애플 AdServices 어트리뷰션 토큰을 Capacitor에서 읽습니다.

@capgo/capacitor-install-referrer Capacitor과 API을 통해 설치 인식 신호를 노출합니다.

안드로이드에서 Google Play Install Referrer 세부 정보를 읽습니다: raw referrer 문자열, 클릭 시간 스탬프, 설치 시간 스탬프 및 즉시 앱 플래그. iOS에서 Apple AdServices 인식 토큰을 반환하고 Apple의 AdServices 인식 엔드포인트를 호출하여 Apple Search Ads 인식 데이터를 옵션으로 검색할 수 있습니다.

  • getReferrer - 현재 플랫폼의 네이티브 설치 인식 세부 정보를 반환합니다.
  • GetReferrer - deprecated compatibility alias는 앱이 Cloudflare에서 Capgo로 마이그레이션하는 동안 사용됩니다. cap-play-install-referrer.
  • getPluginVersion - 네이티브 플러그인 구현 버전 마커를 반환합니다.
  • - iOS에서 Apple 인식 조회를 옵션으로 사용할 수 있습니다. AdServices 응답이 지연될 경우 재시도 지원이 가능합니다.

플랫폼 지원

플랫폼 지원 섹션
플랫폼지원
안드로이드Google Play 설치 참조 API
iOSApple AdServices Attribution 토큰 및 선택적 Apple Attribution 페이로드
지원되지 않는 스텁
메서드설명
getReferrer(options?)Android 또는 iOS 에서 설치ATTRIBUTION 세부 정보를 반환합니다.
GetReferrer(options?)deprecated compatibility alias for getReferrer.
getPluginVersion()native 플러그인 버전 마커를 반환합니다.

진실의 근원

Source Of Truth

이 참조는 src/definitions.ts 에서 capacitor-install-referrer.