mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-17 00:51:07 +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()
|
@Injectable()
|
||||||
export class NativeStorage extends IonicNativePlugin {
|
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
|
* Stores a value
|
||||||
* @param reference {string}
|
* @param reference {string}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user