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:
tatham 2020-05-05 18:59:13 +10:00 committed by GitHub
parent 3e0b0750d8
commit a391e37f90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}