mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
fix(onesignal): add missing setLocationShared method (#2723)
* fix(onesignal): add missing setLocationShared method * Update index.ts
This commit is contained in:
parent
3ef9593704
commit
8bab32173a
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user