/capacitor-referrer

Utility to get the referrer of the installation on Google Play.

Primary LanguageJavaMIT LicenseMIT

capacitor-referrer

Utility to get the referrer of the installation on Google Play.

Install

npm install capacitor-referrer
npx cap sync

API

getReferrerDetails()

getReferrerDetails() => Promise<ReferrerDetails>

Returns: Promise<ReferrerDetails>


Interfaces

ReferrerDetails

Prop Type Description
referrerUrl string The install referrer passed to the store when installing the app, if any.
referrerClickTime number The install referrer click time.
appInstallTime number The app install time.
instantExperienceLaunched boolean If the instant experience was launched.