Skip to content

Commit 9a1b964

Browse files
author
Nandan B N
authored
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
1 parent 68af9eb commit 9a1b964

File tree

1 file changed

+17
-0
lines changed
  • src/@ionic-native/plugins/play-install-referrer

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { Injectable } from '@angular/core';
2+
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
3+
4+
@Plugin({
5+
pluginName: 'PlayInstallReferrer',
6+
plugin: 'cordova-plugin-play-installreferrer',
7+
pluginRef: 'installReferrer',
8+
repo: 'https://github.com/swayangjit/cordova-plugin-play-installreferrer',
9+
platforms: ['Android'],
10+
})
11+
@Injectable()
12+
export class PlayInstallReferrer extends IonicNativePlugin {
13+
@Cordova()
14+
getReferrer(): Promise<any> {
15+
return;
16+
}
17+
}

0 commit comments

Comments
 (0)