Merge branch 'master' into v5

This commit is contained in:
Daniel
2018-06-22 18:13:47 +02:00
parent f7afd1f066
commit f3ef2a877d
31 changed files with 815 additions and 117 deletions
@@ -46,7 +46,7 @@ import { Injectable } from '@angular/core';
* alert('Store Error ' + JSON.stringify(err));
* });
*
* this.store.ready().then((status) => {
* this.store.ready(() => {
* console.log(JSON.stringify(this.store.get(productId)));
* console.log('Store is Ready: ' + JSON.stringify(status));
* console.log('Products: ' + JSON.stringify(this.store.products));
@@ -427,14 +427,8 @@ export class InAppPurchase2 extends IonicNativePlugin {
return;
}
/**
*
* @return {Promise<any>} returns a promise that resolves when the store is ready
*/
@Cordova()
ready(): Promise<void> {
return;
}
ready(callback: Function): void { return; }
@Cordova({ sync: true })
refresh(): void {