fix(onesignal): add missing setLocationShared method (#2723)

* fix(onesignal): add missing setLocationShared method

* Update index.ts
This commit is contained in:
Rishi Hindocha 2018-09-18 08:40:55 +01:00 committed by Daniel Sogl
parent 3ef9593704
commit 8bab32173a

View File

@ -668,6 +668,13 @@ export class OneSignal extends IonicNativePlugin {
@Cordova({ sync: true })
setLogLevel(logLevel: { logLevel: number; visualLevel: number }): void {}
/**
* Disable or enable location collection (Defaults to enabled) if your app has location permission.
* @param shared {boolean}
*/
@Cordova({ sync: true })
setLocationShared(shared: boolean): void {}
/**
* The passed in function will be fired when a notification permission setting changes.
* This includes the following events: