Skip to content

Commit

Permalink
feat(play-install-referrer): add plugin (#3718)
Browse files Browse the repository at this point in the history
* Added plugin for cordova-in-app-update android

* feat(play-install-referrer) Plugin wrapper for Ionic

* Updated play-install-referrer wrapper
  • Loading branch information
Nandan B N committed Aug 20, 2021
1 parent 68af9eb commit 9a1b964
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/@ionic-native/plugins/play-install-referrer/index.ts
@@ -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;
}
}

0 comments on commit 9a1b964

Please sign in to comment.