mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-04 00:13:06 +08:00
feat(play-install-referrer): add plugin (#3718)
* Added plugin for cordova-in-app-update android * feat(play-install-referrer) Plugin wrapper for Ionic * Updated play-install-referrer wrapper
This commit is contained in:
parent
68af9eb525
commit
9a1b96462d
17
src/@ionic-native/plugins/play-install-referrer/index.ts
Normal file
17
src/@ionic-native/plugins/play-install-referrer/index.ts
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
import { Injectable } from '@angular/core';
|
||||||
|
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
|
||||||
|
|
||||||
|
@Plugin({
|
||||||
|
pluginName: 'PlayInstallReferrer',
|
||||||
|
plugin: 'cordova-plugin-play-installreferrer',
|
||||||
|
pluginRef: 'installReferrer',
|
||||||
|
repo: 'https://github.com/swayangjit/cordova-plugin-play-installreferrer',
|
||||||
|
platforms: ['Android'],
|
||||||
|
})
|
||||||
|
@Injectable()
|
||||||
|
export class PlayInstallReferrer extends IonicNativePlugin {
|
||||||
|
@Cordova()
|
||||||
|
getReferrer(): Promise<any> {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user