mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-17 09:01:07 +08:00
Merge branch 'master' of github.com:ionic-team/ionic-native
This commit is contained in:
commit
fb8dbe5fc0
@ -264,7 +264,7 @@ export interface BackgroundGeolocationConfig {
|
|||||||
* BackgroundGeolocation must be called within app.ts and or before Geolocation. Otherwise the platform will not ask you for background tracking permission.
|
* BackgroundGeolocation must be called within app.ts and or before Geolocation. Otherwise the platform will not ask you for background tracking permission.
|
||||||
*
|
*
|
||||||
* ```typescript
|
* ```typescript
|
||||||
* import { BackgroundGeolocation, BackgroundGeolocationConfig } from '@ionic-native/background-geolocation';
|
* import { BackgroundGeolocation, BackgroundGeolocationConfig, BackgroundGeolocationResponse } from '@ionic-native/background-geolocation';
|
||||||
*
|
*
|
||||||
* constructor(private backgroundGeolocation: BackgroundGeolocation) { }
|
* constructor(private backgroundGeolocation: BackgroundGeolocation) { }
|
||||||
*
|
*
|
||||||
|
@ -133,6 +133,11 @@ export interface CardIOResponse {
|
|||||||
* @name Card IO
|
* @name Card IO
|
||||||
* @description
|
* @description
|
||||||
* @usage
|
* @usage
|
||||||
|
* Note: For use with iOS 10 + When building your app with the iOS 10 SDK +, you have to add some info to the info.plist file. This is due to increased security in iOS 10. Go to your app directory and search for the <your app name>Info.plist file. Add the following lines in the main <dict> element.
|
||||||
|
* ```xml
|
||||||
|
*<key>NSCameraUsageDescription</key>
|
||||||
|
*<string>To scan credit cards.</string>
|
||||||
|
*```
|
||||||
* ```typescript
|
* ```typescript
|
||||||
* import { CardIO } from '@ionic-native/card-io';
|
* import { CardIO } from '@ionic-native/card-io';
|
||||||
*
|
*
|
||||||
@ -147,7 +152,7 @@ export interface CardIOResponse {
|
|||||||
* if(res){
|
* if(res){
|
||||||
* let options = {
|
* let options = {
|
||||||
* requireExpiry: true,
|
* requireExpiry: true,
|
||||||
* requireCCV: false,
|
* requireCVV: false,
|
||||||
* requirePostalCode: false
|
* requirePostalCode: false
|
||||||
* };
|
* };
|
||||||
* CardIO.scan(options);
|
* CardIO.scan(options);
|
||||||
|
@ -204,6 +204,12 @@ export class PayPalPayment {
|
|||||||
*/
|
*/
|
||||||
items: Array<PayPalItem>;
|
items: Array<PayPalItem>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Optional payee email, if your app is paying a third-party merchant.
|
||||||
|
* The payee's email. It must be a valid PayPal email address.
|
||||||
|
*/
|
||||||
|
payeeEmail: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Optional customer shipping address, if your app wishes to provide this to the SDK.
|
* Optional customer shipping address, if your app wishes to provide this to the SDK.
|
||||||
*/
|
*/
|
||||||
|
@ -31,8 +31,8 @@ import { Injectable } from '@angular/core';
|
|||||||
* console.log(libraryItem.albumIds); // array of ids of appropriate AlbumItem, only of includeAlbumsData was used
|
* console.log(libraryItem.albumIds); // array of ids of appropriate AlbumItem, only of includeAlbumsData was used
|
||||||
* });
|
* });
|
||||||
* },
|
* },
|
||||||
* error: err => {},
|
* error: err => { console.log('could not get photos'); },
|
||||||
* complete: () => { console.log('could not get photos'); }
|
* complete: () => { console.log('done getting photos'); }
|
||||||
* });
|
* });
|
||||||
* })
|
* })
|
||||||
* .catch(err => console.log('permissions weren\'t granted'));
|
* .catch(err => console.log('permissions weren\'t granted'));
|
||||||
|
@ -29,7 +29,7 @@ export interface SpinnerDialogIOSOptions {
|
|||||||
@Plugin({
|
@Plugin({
|
||||||
pluginName: 'SpinnerDialog',
|
pluginName: 'SpinnerDialog',
|
||||||
plugin: 'cordova-plugin-native-spinner',
|
plugin: 'cordova-plugin-native-spinner',
|
||||||
pluginRef: 'window.plugins.spinnerDialog',
|
pluginRef: 'SpinnerDialog',
|
||||||
repo: 'https://github.com/greybax/cordova-plugin-native-spinner',
|
repo: 'https://github.com/greybax/cordova-plugin-native-spinner',
|
||||||
platforms: ['Android', 'iOS', 'Windows Phone 8', 'Windows']
|
platforms: ['Android', 'iOS', 'Windows Phone 8', 'Windows']
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user