cordova-plugin-installreferrer
This plugin is used for get the information sent from Play Store after install app
Supported platforms
- Android
Installation
- From cordova plugins registry:
cordova-plugin-installreferrer
- From github repository:
cordova plugin add https://github.com/DualH/cordova-plugin-installreferrer.git
First of all
Add InstallReferrer to modules and providers
Usage
; ... { this_installReferrer ;}
Test
In console
$ adb shell
$ am broadcast -a com.android.vending.INSTALL_REFERRER -n <package-name>/cordova.plugin.installreferrer.Receiver --es referrer "test_referrer=test&test_referrer1=test"
Credits
Currently maintained by @DualH
Created by @DualH - Donate with PayPal