Skip to content

Commit

Permalink
fix(app-preferences): suite is sync
Browse files Browse the repository at this point in the history
closes #1321
  • Loading branch information
ihadeed committed May 17, 2017
1 parent ca76593 commit 3cb8383
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/@ionic-native/plugins/app-preferences/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3cb8383

Please sign in to comment.