diff --git a/src/@ionic-native/plugins/call-number/index.ts b/src/@ionic-native/plugins/call-number/index.ts index 73490c38d..78c0611ed 100644 --- a/src/@ionic-native/plugins/call-number/index.ts +++ b/src/@ionic-native/plugins/call-number/index.ts @@ -48,9 +48,7 @@ export class CallNumber extends IonicNativePlugin { * Check if call feature is available * @return {Promise} */ - @Cordova({ - callbackOrder: 'reverse' - }) + @Cordova() isCallSupported(): Promise { return; } diff --git a/src/@ionic-native/plugins/firebase/index.ts b/src/@ionic-native/plugins/firebase/index.ts index fa00d6e5d..a6457c007 100644 --- a/src/@ionic-native/plugins/firebase/index.ts +++ b/src/@ionic-native/plugins/firebase/index.ts @@ -3,7 +3,6 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Observable } from 'rxjs'; /** - * @beta * @name Firebase * @description * This plugin brings push notifications, analytics, event tracking, crash reporting and more from Google Firebase to your Cordova project! Android and iOS supported (including iOS 10). @@ -36,10 +35,10 @@ import { Observable } from 'rxjs'; export class Firebase extends IonicNativePlugin { /** * Get the device token - * @return {Promise} + * @return {Promise} Note that token will be null if it has not been established yet */ @Cordova() - getToken(): Promise { + getToken(): Promise { return; } @@ -270,6 +269,44 @@ export class Firebase extends IonicNativePlugin { return; } + /** + * Start a trace. + * @param {string} trace Trace name + */ + @Cordova() + startTrace(trace: string): Promise { + return; + } + + /** + * To count the performance-related events that occur in your app (such as cache hits or retries), add a line of code + * similar to the following whenever the event occurs, using a string other than retry to name that event if you are + * counting a different type of event: + * @param {string} trace Trace name + * @param {string} counter Counter + */ + @Cordova() + incrementCounter(trace: string, counter: string): Promise { + return; + } + + /** + * Stop the trace + * @param {string} trace Trace name + */ + @Cordova() + stopTrace(trace: string): void {} + + /** + * Allows the user to enable/disable analytics collection + * @param {boolean} enabled value to set collection + * @returns {Promise} + */ + @Cordova() + setAnalyticsCollectionEnabled(enabled: boolean): Promise { + return; + } + /** * Sends an SMS to the user with the SMS verification code and returns the Verification ID required to sign in using phone authentication * @param {string} phoneNumber @@ -299,14 +336,4 @@ export class Firebase extends IonicNativePlugin { ): Promise { return; } - - /** - * Allows the user to enable/disable analytics collection - * @param {boolean} enabled value to set collection - * @returns {Promise} - */ - @Cordova() - setAnalyticsCollectionEnabled(enabled: boolean): Promise { - return; - } } diff --git a/src/@ionic-native/plugins/in-app-browser/index.ts b/src/@ionic-native/plugins/in-app-browser/index.ts index cfa6282d6..33369f877 100644 --- a/src/@ionic-native/plugins/in-app-browser/index.ts +++ b/src/@ionic-native/plugins/in-app-browser/index.ts @@ -55,7 +55,9 @@ export interface InAppBrowserOptions { transitionstyle?: 'fliphorizontal' | 'crossdissolve' | 'coververtical'; /** (iOS Only) Set to top or bottom (default is bottom). Causes the toolbar to be at the top or bottom of the window. */ toolbarposition?: 'top' | 'bottom'; - /* (Windows only) Set to yes to create the browser control without a border around it. + /** (iOS Only) Set to yes or no to change the visibility of the loading indicator (defaults to no). */ + hidespinner?: 'yes' | 'no'; + /** (Windows only) Set to yes to create the browser control without a border around it. * Please note that if location=no is also specified, there will be no control presented to user to close IAB window. */ fullscreen?: 'yes'; diff --git a/src/@ionic-native/plugins/uptime/index.ts b/src/@ionic-native/plugins/uptime/index.ts index 4224f4b57..a2458b78e 100644 --- a/src/@ionic-native/plugins/uptime/index.ts +++ b/src/@ionic-native/plugins/uptime/index.ts @@ -4,17 +4,18 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; /** * @name Uptime * @description - * This plugin return the device uptime, without sleep time. + * This plugin provides the time spent in milliseconds since boot (uptime). * * @usage * ```typescript + * ionic cordova plugin add cordova-plugin-uptime * import { Uptime } from '@ionic-native/uptime'; * * constructor(private uptime: Uptime) { } * * ... * - * this.uptime.getUptime() + * this.uptime.getUptime(includeDeepSleep) * .then(uptime => console.log(uptime)) * .catch(error => console.log(error)); * @@ -31,10 +32,11 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; export class Uptime extends IonicNativePlugin { /** * This function return system uptime + * @param {boolean} includeDeepSleep Set to true to include system deep sleep * @return {Promise} Returns a promise that return the uptime in milliseconds */ @Cordova() - getUptime(): Promise { + getUptime(includeDeepSleep: boolean): Promise { return; } }