mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 00:12:53 +08:00
feat(native-storage): add initWithSuiteName (#3365)
* feat(native-storage): add initWithSuiteName * feat(native-storage): add initWithSuiteName Co-authored-by: Colin Tatham <colin.tatham@melbournewater.com.au>
This commit is contained in:
parent
3e0b0750d8
commit
a391e37f90
@ -36,6 +36,18 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
})
|
||||
@Injectable()
|
||||
export class NativeStorage extends IonicNativePlugin {
|
||||
/**
|
||||
* Initialises shared storage with the suite name when using app groups in iOS
|
||||
* @param reference {string}
|
||||
* @returns {Promise<void>}
|
||||
*/
|
||||
@Cordova({
|
||||
platforms: ['iOS']
|
||||
})
|
||||
initWithSuiteName(reference: string): Promise<void> {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Stores a value
|
||||
* @param reference {string}
|
||||
|
Loading…
Reference in New Issue
Block a user