5.0.0 • Published 4 years ago

install-referrer v5.0.0

Weekly downloads
4
License
ISC
Repository
github
Last release
4 years ago

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

import { InstallReferrer } from 'install-referrer';

...

contructor(private installReferrer: InstallReferrer) {
  this.installReferrer.getReferrer()
  .then(data => {
    // data is a array with all parameters received
  })
  .catch(err => {});
}

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

5.0.0

4 years ago

5.11.0

5 years ago

4.3.5

5 years ago

4.3.4

5 years ago

4.3.3

5 years ago