Merge in v5 code

This commit is contained in:
Ibby Hadeed
2017-12-28 07:28:44 -05:00
parent d43fe72f7b
commit 0f9c21ab42
255 changed files with 11473 additions and 6501 deletions
@@ -1,5 +1,5 @@
import { Injectable } from '@angular/core';
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
/**
* @name Launch Review
@@ -45,7 +45,9 @@ export class LaunchReview extends IonicNativePlugin {
* @returns {Promise<void>}
*/
@Cordova({ platforms: ['Android', 'iOS'], callbackOrder: 'reverse' })
launch(appId?: string): Promise<void> { return; }
launch(appId?: string): Promise<void> {
return;
}
/**
* Invokes the native in-app rating dialog which allows a user to rate your app without needing to open the App Store.
@@ -57,7 +59,9 @@ export class LaunchReview extends IonicNativePlugin {
* @returns {Promise<string>}
*/
@Cordova({ platforms: ['iOS'] })
rating(): Promise<string> { return; }
rating(): Promise<string> {
return;
}
/**
* Indicates if the current platform/version supports in-app ratings dialog, i.e. calling LaunchReview.rating().
@@ -65,6 +69,8 @@ export class LaunchReview extends IonicNativePlugin {
* @returns {boolean}
*/
@Cordova({ platforms: ['Android', 'iOS'], sync: true })
isRatingSupported(): boolean { return; }
isRatingSupported(): boolean {
return;
}
}