Merge remote-tracking branch 'origin/master' into v5

This commit is contained in:
Daniel 2018-04-04 11:02:38 +02:00
commit 0b08ce4395
7 changed files with 15 additions and 16 deletions

View File

@ -4,7 +4,7 @@ import { Injectable } from '@angular/core';
/** /**
* @name Autostart * @name Autostart
* @description * @description
* This plugin will start automatically your Android app after the every boot or the auto-update of your application. * This plugin automatically starts your Android app after every boot or auto-update.
* You can enable or disable the autostart function in your app. * You can enable or disable the autostart function in your app.
* *
* @usage * @usage

View File

@ -101,7 +101,7 @@ export interface BLEScanOptions {
* ``` * ```
* *
* ## Advertising Data * ## Advertising Data
* Bluetooth advertising data is returned in when scanning for devices. The format format varies depending on your platform. On Android advertising data will be the raw advertising bytes. iOS does not allow access to raw advertising data, so a dictionary of data is returned. * Bluetooth advertising data is returned in when scanning for devices. The format varies depending on your platform. On Android advertising data will be the raw advertising bytes. iOS does not allow access to raw advertising data, so a dictionary of data is returned.
* *
* The advertising information for both Android and iOS appears to be a combination of advertising data and scan response data. * The advertising information for both Android and iOS appears to be a combination of advertising data and scan response data.
* *

View File

@ -39,6 +39,9 @@ export interface CameraPreviewOptions {
/** Tap to set specific focus point. Note, this assumes the camera is full-screen. default false */ /** Tap to set specific focus point. Note, this assumes the camera is full-screen. default false */
tapToFocus?: boolean; tapToFocus?: boolean;
/** On Android disable automatic rotation of the image and stripping of Exif header. default false */
disableExifHeaderStripping?: boolean;
} }
export interface CameraPreviewPictureOptions { export interface CameraPreviewPictureOptions {

View File

@ -20,7 +20,7 @@ export interface CardIOOptions {
/** /**
* Removes the keyboard button from the scan screen. * Removes the keyboard button from the scan screen.
*/ */
supressManual?: boolean; suppressManual?: boolean;
/** /**
* The postal code will only collect numeric input. Set this if you know the expected country's postal code has only numeric postal codes. * The postal code will only collect numeric input. Set this if you know the expected country's postal code has only numeric postal codes.

View File

@ -24,7 +24,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
@Plugin({ @Plugin({
pluginName: 'iOS File Picker', pluginName: 'iOS File Picker',
plugin: 'cordova-plugin-filepicker', plugin: 'cordova-plugin-filepicker',
pluginRef: 'filePicker', pluginRef: 'FilePicker',
repo: 'https://github.com/jcesarmobile/FilePicker-Phonegap-iOS-Plugin', repo: 'https://github.com/jcesarmobile/FilePicker-Phonegap-iOS-Plugin',
platforms: ['iOS'] platforms: ['iOS']
}) })

View File

@ -187,7 +187,7 @@ export class Firebase extends IonicNativePlugin {
/** /**
* Fetch Remote Config parameter values for your app * Fetch Remote Config parameter values for your app
* @param cacheExpirationSeconds * @param cacheExpirationSeconds {number}
* @return {Promise<any>} * @return {Promise<any>}
*/ */
@Cordova({ @Cordova({
@ -210,7 +210,7 @@ export class Firebase extends IonicNativePlugin {
/** /**
* Retrieve a Remote Config value * Retrieve a Remote Config value
* @param key {string} * @param key {string}
* @param namespace {string} * @param [namespace] {string}
* @return {Promise<any>} * @return {Promise<any>}
*/ */
@Cordova({ @Cordova({
@ -224,13 +224,11 @@ export class Firebase extends IonicNativePlugin {
/** /**
* Retrieve a Remote Config byte array * Retrieve a Remote Config byte array
* @param key {string} * @param key {string}
* @param namespace {string} * @param [namespace] {string}
* @return {Promise<any>} * @return {Promise<any>}
*/ */
@Cordova({ @Cordova({
platforms: ['Android'], platforms: ['Android']
successIndex: 2,
errorIndex: 3
}) })
getByteArray(key: string, namespace?: string): Promise<any> { getByteArray(key: string, namespace?: string): Promise<any> {
return; return;
@ -262,15 +260,13 @@ export class Firebase extends IonicNativePlugin {
/** /**
* Set defaults in the Remote Config * Set defaults in the Remote Config
* @param defaults {Object} * @param defaults {Object}
* @param namespace {string} * @param [namespace] {string}
* @return {Promise<any>} * @return {Promise<any>}
*/ */
@Cordova({ @Cordova({
platforms: ['Android'], platforms: ['Android']
successIndex: 2,
errorIndex: 3
}) })
setDefaults(defaults: any, namespace: string): Promise<any> { setDefaults(defaults: any, namespace?: string): Promise<any> {
return; return;
} }

View File

@ -22,7 +22,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
* *
* if(this.launchReview.isRatingSupported()){ * if(this.launchReview.isRatingSupported()){
* this.launchReview.rating() * this.launchReview.rating()
* .then(() => console.log('Successfully launched rating dialog'); * .then(() => console.log('Successfully launched rating dialog'));
* } * }
* ``` * ```
*/ */