fix(app-preferences): suite is sync

closes #1321
This commit is contained in:
Ibby Hadeed 2017-05-17 07:53:20 -04:00
parent ca7659378f
commit 3cb83831c1

View File

@ -108,14 +108,16 @@ export class AppPreferences extends IonicNativePlugin {
* @returns {Object} Custom object, bound to that suite
*/
@Cordova({
platforms: ['Android']
platforms: ['Android'],
sync: true
})
suite(suiteName: string): Object { return; }
suite(suiteName: string): any { return; }
@Cordova({
platforms: ['iOS']
platforms: ['iOS'],
sync: true
})
iosSuite(suiteName: string): Object { return; }
iosSuite(suiteName: string): any { return; }
/**
* Return cloud synchronized configuration context