mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-07-16 00:00:04 +08:00
Checkpoint
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Plugin, Cordova } from '@ionic-native/core';
|
||||
|
||||
import { Injectable } from '@angular/core';
|
||||
/**
|
||||
* @name CallNumber
|
||||
* @description
|
||||
@@ -22,6 +22,7 @@ import { Plugin, Cordova } from '@ionic-native/core';
|
||||
repo: 'https://github.com/Rohfosho/CordovaCallNumberPlugin',
|
||||
platforms: ['iOS', 'Android']
|
||||
})
|
||||
@Injectable()
|
||||
export class CallNumber {
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Cordova, Plugin } from '@ionic-native/core';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
import { Injectable } from '@angular/core';
|
||||
export interface CameraPreviewRect {
|
||||
|
||||
x: number;
|
||||
@@ -87,6 +87,7 @@ export interface CameraPreviewSize {
|
||||
repo: 'https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview',
|
||||
platforms: ['Android', 'iOS']
|
||||
})
|
||||
@Injectable()
|
||||
export class CameraPreview {
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from '@ionic-native/core';
|
||||
|
||||
import { Injectable } from '@angular/core';
|
||||
|
||||
export interface CameraOptions {
|
||||
/** Picture quality in range 0-100. Default is 50 */
|
||||
@@ -116,6 +116,7 @@ export interface CameraPopoverOptions {
|
||||
repo: 'https://github.com/apache/cordova-plugin-camera',
|
||||
platforms: ['Android', 'BlackBerry', 'Browser', 'Firefox', 'FireOS', 'iOS', 'Windows', 'Windows Phone 8', 'Ubuntu']
|
||||
})
|
||||
@Injectable()
|
||||
export class Camera {
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Cordova, Plugin } from '@ionic-native/core';
|
||||
|
||||
|
||||
import { Injectable } from '@angular/core';
|
||||
export interface CardIOOptions {
|
||||
|
||||
/**
|
||||
@@ -162,6 +163,7 @@ export interface CardIOResponse {
|
||||
repo: 'https://github.com/card-io/card.io-Cordova-Plugin',
|
||||
platforms: ['iOS', 'Android']
|
||||
})
|
||||
@Injectable()
|
||||
export class CardIO {
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from '@ionic-native/core';
|
||||
|
||||
import { Injectable } from '@angular/core';
|
||||
/**
|
||||
* @name Clipboard
|
||||
* @description
|
||||
@@ -33,6 +33,7 @@ import { Cordova, Plugin } from '@ionic-native/core';
|
||||
repo: 'https://github.com/VersoSolutions/CordovaClipboard',
|
||||
platforms: ['Amazon Fire OS', 'iOS', 'Android', 'BlackBerry 10', 'Windows Phone 7', 'Windows Phone 8', 'Windows', 'Firefox OS', 'Browser']
|
||||
})
|
||||
@Injectable()
|
||||
export class Clipboard {
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Cordova, Plugin } from '@ionic-native/core';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
import { Injectable } from '@angular/core';
|
||||
namespace Http {
|
||||
export const enum Verb {
|
||||
GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, CONNECT, PATCH
|
||||
@@ -422,6 +422,7 @@ export interface DownloadProgress {
|
||||
repo: 'https://github.com/Microsoft/cordova-plugin-code-push',
|
||||
platforms: ['Android', 'iOS']
|
||||
})
|
||||
@Injectable()
|
||||
export class CodePush {
|
||||
|
||||
/**
|
||||
|
||||
@@ -56,6 +56,7 @@ export interface IContactProperties {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class Contact implements IContactProperties {
|
||||
private _objectInstance: any;
|
||||
@InstanceProperty id: string;
|
||||
@@ -141,6 +142,7 @@ export interface IContactName {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class ContactName implements IContactName {
|
||||
constructor(public formatted?: string,
|
||||
public familyName?: string,
|
||||
@@ -162,6 +164,7 @@ export interface IContactField {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class ContactField implements IContactField {
|
||||
constructor(public type?: string,
|
||||
public value?: string,
|
||||
@@ -190,6 +193,7 @@ export interface IContactAddress {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class ContactAddress implements IContactAddress {
|
||||
constructor(public pref?: boolean,
|
||||
public type?: string,
|
||||
@@ -217,6 +221,7 @@ export interface IContactOrganization {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class ContactOrganization implements IContactOrganization {
|
||||
constructor(
|
||||
public type?: string,
|
||||
@@ -244,6 +249,7 @@ export interface IContactFindOptions {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class ContactFindOptions implements IContactFindOptions {
|
||||
constructor(public filter?: string,
|
||||
public multiple?: boolean,
|
||||
@@ -287,6 +293,7 @@ export class ContactFindOptions implements IContactFindOptions {
|
||||
pluginRef: 'navigator.contacts',
|
||||
repo: 'https://github.com/apache/cordova-plugin-contacts'
|
||||
})
|
||||
@Injectable()
|
||||
export class Contacts {
|
||||
|
||||
/**
|
||||
|
||||
@@ -22,6 +22,7 @@ import { Cordova, Plugin } from '@ionic-native/core';
|
||||
pluginRef: 'plugins',
|
||||
repo: 'https://github.com/jeduan/cordova-plugin-crop'
|
||||
})
|
||||
@Injectable()
|
||||
export class Crop {
|
||||
|
||||
/**
|
||||
|
||||
@@ -146,6 +146,7 @@ export interface DatePickerOptions {
|
||||
repo: 'https://github.com/VitaliiBlagodir/cordova-plugin-datepicker',
|
||||
platforms: ['Android', 'iOS', 'Windows']
|
||||
})
|
||||
@Injectable()
|
||||
export class DatePicker {
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,6 +36,7 @@ import { Observable } from 'rxjs/Observable';
|
||||
repo: 'https://github.com/akofman/cordova-plugin-dbmeter',
|
||||
platforms: ['iOS', 'Android']
|
||||
})
|
||||
@Injectable()
|
||||
export class DBMeter {
|
||||
|
||||
/**
|
||||
|
||||
@@ -78,6 +78,7 @@ export interface DeeplinkMatch {
|
||||
platforms: ['iOS', 'Android'],
|
||||
install: 'ionic plugin add ionic-plugin-deeplinks --variable URL_SCHEME=myapp --variable DEEPLINK_SCHEME=https --variable DEEPLINK_HOST=example.com --variable ANDROID_PATH_PREFIX=/'
|
||||
})
|
||||
@Injectable()
|
||||
export class Deeplinks {
|
||||
|
||||
/**
|
||||
|
||||
@@ -31,6 +31,7 @@ import { Plugin, Cordova } from '@ionic-native/core';
|
||||
repo: 'https://github.com/VVelda/device-feedback',
|
||||
platforms: ['Android']
|
||||
})
|
||||
@Injectable()
|
||||
export class DeviceFeedback {
|
||||
|
||||
/**
|
||||
|
||||
@@ -21,6 +21,7 @@ declare var window: any;
|
||||
pluginRef: 'device',
|
||||
repo: 'https://github.com/apache/cordova-plugin-device'
|
||||
})
|
||||
@Injectable()
|
||||
export class Device {
|
||||
|
||||
/** Get the version of Cordova running on the device. */
|
||||
|
||||
@@ -7,6 +7,7 @@ import { Cordova, Plugin } from '@ionic-native/core';
|
||||
repo: 'https://github.com/loicknuchel/cordova-device-accounts',
|
||||
platforms: ['Android']
|
||||
})
|
||||
@Injectable()
|
||||
export class DeviceAccounts {
|
||||
|
||||
/**
|
||||
|
||||
@@ -69,6 +69,7 @@ export interface DeviceMotionAccelerometerOptions {
|
||||
pluginRef: 'navigator.accelerometer',
|
||||
repo: 'https://github.com/apache/cordova-plugin-device-motion'
|
||||
})
|
||||
@Injectable()
|
||||
export class DeviceMotion {
|
||||
|
||||
/**
|
||||
|
||||
@@ -74,6 +74,7 @@ export interface DeviceOrientationCompassOptions {
|
||||
pluginRef: 'navigator.compass',
|
||||
repo: 'https://github.com/apache/cordova-plugin-device-orientation'
|
||||
})
|
||||
@Injectable()
|
||||
export class DeviceOrientation {
|
||||
|
||||
/**
|
||||
|
||||
@@ -35,6 +35,7 @@ import {Cordova, Plugin, CordovaProperty} from '@ionic-native/core';
|
||||
pluginRef: 'cordova.plugins.diagnostic',
|
||||
repo: 'https://github.com/dpa99c/cordova-diagnostic-plugin'
|
||||
})
|
||||
@Injectable()
|
||||
export class Diagnostic {
|
||||
|
||||
static permission = {
|
||||
|
||||
@@ -40,6 +40,7 @@ export interface DialogsPromptCallback {
|
||||
pluginRef: 'navigator.notification',
|
||||
repo: 'https://github.com/apache/cordova-plugin-dialogs.git'
|
||||
})
|
||||
@Injectable()
|
||||
export class Dialogs {
|
||||
|
||||
/**
|
||||
|
||||
@@ -73,6 +73,7 @@ export interface EmailComposerOptions {
|
||||
repo: 'https://github.com/hypery2k/cordova-email-plugin',
|
||||
platforms: ['Android', 'iOS']
|
||||
})
|
||||
@Injectable()
|
||||
export class EmailComposer {
|
||||
|
||||
/**
|
||||
|
||||
@@ -31,6 +31,7 @@ export interface EstimoteBeaconRegion {
|
||||
repo: 'https://github.com/evothings/phonegap-estimotebeacons',
|
||||
platforms: ['iOS', 'Android']
|
||||
})
|
||||
@Injectable()
|
||||
export class EstimoteBeacons {
|
||||
|
||||
/** Proximity value */
|
||||
|
||||
@@ -106,6 +106,7 @@ export interface FacebookLoginResponse {
|
||||
repo: 'https://github.com/jeduan/cordova-plugin-facebook4',
|
||||
install: 'ionic plugin add cordova-plugin-facebook4 --variable APP_ID="123456789" --variable APP_NAME="myApplication"'
|
||||
})
|
||||
@Injectable()
|
||||
export class Facebook {
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,6 +23,7 @@ import { Plugin, Cordova } from '@ionic-native/core';
|
||||
repo: 'https://github.com/don/cordova-filechooser',
|
||||
platforms: ['Android']
|
||||
})
|
||||
@Injectable()
|
||||
export class FileChooser {
|
||||
|
||||
/**
|
||||
|
||||
@@ -19,6 +19,7 @@ import { Plugin, Cordova } from '@ionic-native/core';
|
||||
pluginRef: 'cordova.plugins.fileOpener2',
|
||||
repo: 'https://github.com/pwlin/cordova-plugin-file-opener2'
|
||||
})
|
||||
@Injectable()
|
||||
export class FileOpener {
|
||||
|
||||
/**
|
||||
|
||||
@@ -366,6 +366,7 @@ declare var FileError: {
|
||||
pluginRef: 'cordova.file',
|
||||
repo: 'https://github.com/apache/cordova-plugin-file'
|
||||
})
|
||||
@Injectable()
|
||||
export class File {
|
||||
static cordovaFileError: {} = {
|
||||
1: 'NOT_FOUND_ERR',
|
||||
|
||||
@@ -25,6 +25,7 @@ declare var window: any;
|
||||
repo: 'https://github.com/hiddentao/cordova-plugin-filepath',
|
||||
platforms: ['Android']
|
||||
})
|
||||
@Injectable()
|
||||
export class FilePath {
|
||||
|
||||
/**
|
||||
|
||||
@@ -188,6 +188,7 @@ export interface FileTransferError {
|
||||
pluginRef: 'FileTransfer',
|
||||
repo: 'https://github.com/apache/cordova-plugin-file-transfer'
|
||||
})
|
||||
@Injectable()
|
||||
export class Transfer {
|
||||
|
||||
/**
|
||||
|
||||
@@ -42,6 +42,7 @@ export interface FingerprintOptions {
|
||||
repo: 'https://github.com/NiklasMerz/cordova-plugin-fingerprint-aio',
|
||||
platforms: ['Android', 'iOS']
|
||||
})
|
||||
@Injectable()
|
||||
export class FingerprintAIO {
|
||||
|
||||
/**
|
||||
|
||||
@@ -26,6 +26,7 @@ import { Observable } from 'rxjs/Observable';
|
||||
repo: 'https://github.com/arnesson/cordova-plugin-firebase',
|
||||
platforms: ['Android', 'iOS']
|
||||
})
|
||||
@Injectable()
|
||||
export class Firebase {
|
||||
|
||||
/**
|
||||
|
||||
@@ -20,6 +20,7 @@ import { Cordova, Plugin } from '@ionic-native/core';
|
||||
pluginRef: 'window.plugins.flashlight',
|
||||
repo: 'https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin.git'
|
||||
})
|
||||
@Injectable()
|
||||
export class Flashlight {
|
||||
|
||||
/**
|
||||
|
||||
@@ -82,6 +82,7 @@ declare var window: any;
|
||||
platforms: ['Android', 'iOS', 'Windows Phone 8', 'Windows Phone']
|
||||
})
|
||||
|
||||
@Injectable()
|
||||
export class Geofence {
|
||||
|
||||
public static TransitionType = {
|
||||
|
||||
@@ -148,6 +148,7 @@ export interface GeolocationOptions {
|
||||
pluginRef: 'navigator.geolocation',
|
||||
repo: 'https://github.com/apache/cordova-plugin-geolocation'
|
||||
})
|
||||
@Injectable()
|
||||
export class Geolocation {
|
||||
|
||||
/**
|
||||
|
||||
@@ -17,6 +17,7 @@ import { Cordova, Plugin } from '@ionic-native/core';
|
||||
repo: 'https://github.com/apache/cordova-plugin-globalization',
|
||||
platforms: ['Amazon Fire OS', 'Android', 'BlackBerry 10', 'Firefox OS', 'iOS', 'Windows Phone 8', 'Widnows', 'Browser']
|
||||
})
|
||||
@Injectable()
|
||||
export class Globalization {
|
||||
|
||||
/**
|
||||
|
||||
@@ -21,6 +21,7 @@ import { Cordova, Plugin } from '@ionic-native/core';
|
||||
platforms: ['Web', 'Android', 'iOS'],
|
||||
install: 'ionic plugin add cordova-plugin-googleplus --variable REVERSED_CLIENT_ID=myreversedclientid'
|
||||
})
|
||||
@Injectable()
|
||||
export class GooglePlus {
|
||||
|
||||
/**
|
||||
|
||||
@@ -32,6 +32,7 @@ declare var window;
|
||||
repo: 'https://github.com/danwilson/google-analytics-plugin',
|
||||
platforms: ['Android', 'iOS', 'Browser']
|
||||
})
|
||||
@Injectable()
|
||||
export class GoogleAnalytics {
|
||||
|
||||
/**
|
||||
|
||||
@@ -51,7 +51,8 @@ export const GoogleMapsAnimation = {
|
||||
* GoogleMapsMarker
|
||||
* } from 'ionic-native';
|
||||
*
|
||||
* export class MapPage {
|
||||
* @Injectable()
|
||||
export class MapPage {
|
||||
* constructor() {}
|
||||
*
|
||||
* // Load map only after view is initialize
|
||||
@@ -109,6 +110,7 @@ export const GoogleMapsAnimation = {
|
||||
repo: 'https://github.com/mapsplugin/cordova-plugin-googlemaps',
|
||||
install: 'ionic plugin add cordova-plugin-googlemaps --variable API_KEY_FOR_ANDROID="YOUR_ANDROID_API_KEY_IS_HERE" --variable API_KEY_FOR_IOS="YOUR_IOS_API_KEY_IS_HERE"'
|
||||
})
|
||||
@Injectable()
|
||||
export class GoogleMap {
|
||||
_objectInstance: any;
|
||||
|
||||
@@ -617,6 +619,7 @@ export interface GoogleMapsMarkerIcon {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class GoogleMapsMarker {
|
||||
|
||||
constructor(private _objectInstance: any) { }
|
||||
@@ -892,6 +895,7 @@ export interface GoogleMapsCircleOptions {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class GoogleMapsCircle {
|
||||
|
||||
constructor(private _objectInstance: any) { }
|
||||
@@ -1032,6 +1036,7 @@ export interface GoogleMapsPolylineOptions {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class GoogleMapsPolyline {
|
||||
constructor(private _objectInstance: any) { }
|
||||
|
||||
@@ -1171,6 +1176,7 @@ export interface GoogleMapsPolygonOptions {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class GoogleMapsPolygon {
|
||||
|
||||
constructor(private _objectInstance: any) { }
|
||||
@@ -1313,6 +1319,7 @@ export interface GoogleMapsTileOverlayOptions {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class GoogleMapsTileOverlay {
|
||||
|
||||
constructor(private _objectInstance: any) { }
|
||||
@@ -1442,6 +1449,7 @@ export interface GoogleMapsGroundOverlayOptions {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class GoogleMapsGroundOverlay {
|
||||
|
||||
constructor(private _objectInstance: any) { }
|
||||
@@ -1562,6 +1570,7 @@ export interface GoogleMapsKmlOverlayOptions {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class GoogleMapsKmlOverlay {
|
||||
|
||||
constructor(private _objectInstance: any) { }
|
||||
@@ -1654,6 +1663,7 @@ export class GoogleMapsKmlOverlay {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class GoogleMapsLatLngBounds {
|
||||
private _objectInstance: any;
|
||||
|
||||
@@ -1685,6 +1695,7 @@ export class GoogleMapsLatLngBounds {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class GoogleMapsLatLng {
|
||||
|
||||
lat: number;
|
||||
@@ -1743,6 +1754,7 @@ export interface GeocoderResult {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class Geocoder {
|
||||
/**
|
||||
* Converts position to address and vice versa
|
||||
|
||||
@@ -19,6 +19,7 @@ import { Plugin, Cordova } from '@ionic-native/core';
|
||||
repo: 'https://github.com/tomloprod/cordova-plugin-headercolor',
|
||||
platforms: ['Android']
|
||||
})
|
||||
@Injectable()
|
||||
export class HeaderColor {
|
||||
|
||||
/**
|
||||
|
||||
@@ -129,6 +129,7 @@ export interface HotspotDevice {
|
||||
repo: 'https://github.com/hypery2k/cordova-hotspot-plugin',
|
||||
platforms: ['Android']
|
||||
})
|
||||
@Injectable()
|
||||
export class Hotspot {
|
||||
|
||||
/**
|
||||
|
||||
@@ -59,6 +59,7 @@ export interface HTTPResponse {
|
||||
repo: 'https://github.com/wymsee/cordova-HTTP',
|
||||
platforms: ['Android', 'iOS']
|
||||
})
|
||||
@Injectable()
|
||||
export class HTTP {
|
||||
|
||||
/**
|
||||
|
||||
@@ -48,6 +48,7 @@ export interface HttpdOptions {
|
||||
repo: 'https://github.com/floatinghotpot/cordova-httpd',
|
||||
platforms: ['iOS', 'Android']
|
||||
})
|
||||
@Injectable()
|
||||
export class Httpd {
|
||||
|
||||
/**
|
||||
|
||||
@@ -280,6 +280,7 @@ export interface IBeaconDelegate {
|
||||
repo: 'https://github.com/petermetz/cordova-plugin-ibeacon',
|
||||
platforms: ['Android', 'iOS']
|
||||
})
|
||||
@Injectable()
|
||||
export class IBeacon {
|
||||
|
||||
/**
|
||||
|
||||
@@ -51,6 +51,7 @@ export interface ImagePickerOptions {
|
||||
pluginRef: 'window.imagePicker',
|
||||
repo: 'https://github.com/Telerik-Verified-Plugins/ImagePicker'
|
||||
})
|
||||
@Injectable()
|
||||
export class ImagePicker {
|
||||
/**
|
||||
* Pick pictures from the library.
|
||||
|
||||
@@ -74,6 +74,7 @@ export interface ImageResizerOptions {
|
||||
pluginRef: 'ImageResizer',
|
||||
repo: 'https://github.com/protonet/cordova-plugin-image-resizer'
|
||||
})
|
||||
@Injectable()
|
||||
export class ImageResizer {
|
||||
/**
|
||||
* @returns {Promise<any>}
|
||||
|
||||
@@ -38,6 +38,7 @@ export interface InAppBrowserEvent extends Event {
|
||||
pluginRef: 'cordova.InAppBrowser',
|
||||
repo: 'https://github.com/apache/cordova-plugin-inappbrowser'
|
||||
})
|
||||
@Injectable()
|
||||
export class InAppBrowser {
|
||||
|
||||
private _objectInstance: any;
|
||||
|
||||
@@ -57,6 +57,7 @@ import { Plugin, Cordova } from '@ionic-native/core';
|
||||
platforms: ['Android', 'iOS'],
|
||||
repo: 'https://github.com/AlexDisler/cordova-plugin-inapppurchase'
|
||||
})
|
||||
@Injectable()
|
||||
export class InAppPurchase {
|
||||
|
||||
/**
|
||||
|
||||
@@ -32,6 +32,7 @@ import { Cordova, Plugin } from '@ionic-native/core';
|
||||
repo: 'https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin',
|
||||
platforms: ['Android', 'iOS', 'Windows Phone 8']
|
||||
})
|
||||
@Injectable()
|
||||
export class Insomnia {
|
||||
|
||||
/**
|
||||
|
||||
@@ -20,6 +20,7 @@ import { Plugin, Cordova } from '@ionic-native/core';
|
||||
pluginRef: 'Instagram',
|
||||
repo: 'https://github.com/vstirbu/InstagramPlugin'
|
||||
})
|
||||
@Injectable()
|
||||
export class Instagram {
|
||||
|
||||
/**
|
||||
|
||||
@@ -22,6 +22,7 @@ import { Plugin, Cordova } from '@ionic-native/core';
|
||||
pluginRef: 'cordova.plugins.IsDebug',
|
||||
repo: 'https://github.com/mattlewis92/cordova-plugin-is-debug'
|
||||
})
|
||||
@Injectable()
|
||||
export class IsDebug {
|
||||
|
||||
/**
|
||||
|
||||
@@ -19,6 +19,7 @@ import { Observable } from 'rxjs/Observable';
|
||||
pluginRef: 'cordova.plugins.Keyboard',
|
||||
repo: 'https://github.com/driftyco/ionic-plugin-keyboard'
|
||||
})
|
||||
@Injectable()
|
||||
export class Keyboard {
|
||||
|
||||
/**
|
||||
|
||||
@@ -24,6 +24,7 @@ import { Plugin, Cordova } from '@ionic-native/core';
|
||||
repo: 'https://github.com/dpa99c/cordova-launch-review',
|
||||
platforms: ['Android', 'iOS']
|
||||
})
|
||||
@Injectable()
|
||||
export class LaunchReview {
|
||||
|
||||
/**
|
||||
|
||||
@@ -88,6 +88,7 @@ export interface LaunchNavigatorOptions {
|
||||
pluginRef: 'launchnavigator',
|
||||
repo: 'https://github.com/dpa99c/phonegap-launch-navigator.git'
|
||||
})
|
||||
@Injectable()
|
||||
export class LaunchNavigator {
|
||||
|
||||
/**
|
||||
|
||||
@@ -133,6 +133,7 @@ export interface ILocalNotification {
|
||||
pluginRef: 'cordova.plugins.notification.local',
|
||||
repo: 'https://github.com/katzer/cordova-plugin-local-notifications'
|
||||
})
|
||||
@Injectable()
|
||||
export class LocalNotifications {
|
||||
|
||||
/**
|
||||
|
||||
@@ -28,6 +28,7 @@ import {Plugin, Cordova} from '@ionic-native/core';
|
||||
pluginRef: 'cordova.plugins.locationAccuracy',
|
||||
repo: 'https://github.com/dpa99c/cordova-plugin-request-location-accuracy'
|
||||
})
|
||||
@Injectable()
|
||||
export class LocationAccuracy {
|
||||
/**
|
||||
* Indicates if you can request accurate location
|
||||
|
||||
@@ -18,6 +18,7 @@ import { Plugin, Cordova } from '@ionic-native/core';
|
||||
pluginRef: 'cordova.plugins.market',
|
||||
repo: 'https://github.com/xmartlabs/cordova-plugin-market'
|
||||
})
|
||||
@Injectable()
|
||||
export class Market {
|
||||
|
||||
/**
|
||||
|
||||
@@ -139,6 +139,7 @@ export interface ConfigurationData {
|
||||
pluginRef: 'navigator.device.capture',
|
||||
repo: 'https://github.com/apache/cordova-plugin-media-capture'
|
||||
})
|
||||
@Injectable()
|
||||
export class MediaCapture {
|
||||
/**
|
||||
* The recording image sizes and formats supported by the device.
|
||||
|
||||
@@ -77,6 +77,7 @@ export interface MediaError {
|
||||
plugin: 'cordova-plugin-media',
|
||||
pluginRef: 'Media'
|
||||
})
|
||||
@Injectable()
|
||||
export class MediaPlugin {
|
||||
|
||||
// Constants
|
||||
|
||||
@@ -25,6 +25,7 @@ declare var mixpanel: any;
|
||||
pluginRef: 'mixpanel',
|
||||
repo: 'https://github.com/samzilverberg/cordova-mixpanel-plugin'
|
||||
})
|
||||
@Injectable()
|
||||
export class Mixpanel {
|
||||
/**
|
||||
*
|
||||
@@ -110,6 +111,7 @@ export class Mixpanel {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class MixpanelPeople {
|
||||
/**
|
||||
* @private
|
||||
|
||||
@@ -93,6 +93,7 @@ export interface MusicControlsOptions {
|
||||
pluginRef: 'MusicControls',
|
||||
repo: 'https://github.com/homerours/cordova-music-controls-plugin'
|
||||
})
|
||||
@Injectable()
|
||||
export class MusicControls {
|
||||
|
||||
/**
|
||||
|
||||
@@ -30,6 +30,7 @@ import { Plugin, Cordova } from '@ionic-native/core';
|
||||
pluginRef: 'plugins.NativeAudio',
|
||||
repo: 'https://github.com/floatinghotpot/cordova-plugin-nativeaudio'
|
||||
})
|
||||
@Injectable()
|
||||
export class NativeAudio {
|
||||
/**
|
||||
* Loads an audio file into memory. Optimized for short clips / single shots (up to five seconds). Cannot be stopped / looped.
|
||||
|
||||
@@ -29,6 +29,7 @@ import { Plugin, Cordova } from '@ionic-native/core';
|
||||
repo: 'https://github.com/sebastianbaar/cordova-plugin-nativegeocoder',
|
||||
platforms: ['iOS', 'Android']
|
||||
})
|
||||
@Injectable()
|
||||
export class NativeGeocoder {
|
||||
|
||||
/**
|
||||
|
||||
@@ -49,6 +49,7 @@ export interface NativeTransitionOptions {
|
||||
repo: 'https://github.com/Telerik-Verified-Plugins/NativePageTransitions',
|
||||
platforms: ['iOS', 'Android', 'Windows Phone']
|
||||
})
|
||||
@Injectable()
|
||||
export class NativePageTransitions {
|
||||
/**
|
||||
* Perform a slide animation
|
||||
|
||||
@@ -28,6 +28,7 @@ import { Cordova, Plugin } from '@ionic-native/core';
|
||||
pluginRef: 'NativeStorage',
|
||||
repo: 'https://github.com/TheCocoaProject/cordova-plugin-nativestorage'
|
||||
})
|
||||
@Injectable()
|
||||
export class NativeStorage {
|
||||
/**
|
||||
* Stores a value
|
||||
|
||||
@@ -22,6 +22,7 @@ import { Cordova, Plugin } from '@ionic-native/core';
|
||||
repo: 'https://github.com/cranberrygame/cordova-plugin-navigationbar',
|
||||
platforms: ['Android']
|
||||
})
|
||||
@Injectable()
|
||||
export class NavigationBar {
|
||||
|
||||
/**
|
||||
|
||||
@@ -49,6 +49,7 @@ declare var navigator: any;
|
||||
platforms: ['Amazon Fire OS', 'iOS', 'Android', 'BlackBerry 10', 'Windows Phone 7', 'Windows Phone 8', 'Windows', 'Firefox OS', 'Browser'],
|
||||
pluginRef: 'navigator.connection'
|
||||
})
|
||||
@Injectable()
|
||||
export class Network {
|
||||
|
||||
/**
|
||||
|
||||
@@ -29,6 +29,7 @@ declare let window: any;
|
||||
pluginRef: 'nfc',
|
||||
repo: 'https://github.com/chariotsolutions/phonegap-nfc'
|
||||
})
|
||||
@Injectable()
|
||||
export class NFC {
|
||||
/**
|
||||
* Registers an event listener for any NDEF tag.
|
||||
@@ -178,6 +179,7 @@ export class NFC {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class Ndef {
|
||||
/**
|
||||
* @private
|
||||
|
||||
@@ -302,6 +302,7 @@ export enum OSActionType {
|
||||
repo: 'https://github.com/OneSignal/OneSignal-Cordova-SDK',
|
||||
platforms: ['Android', 'iOS', 'Windows', 'FireOS']
|
||||
})
|
||||
@Injectable()
|
||||
export class OneSignal {
|
||||
|
||||
/**
|
||||
|
||||
@@ -63,6 +63,7 @@ import { Plugin, Cordova } from '@ionic-native/core';
|
||||
pluginRef: 'PayPalMobile',
|
||||
repo: 'https://github.com/paypal/PayPal-Cordova-Plugin'
|
||||
})
|
||||
@Injectable()
|
||||
export class PayPal {
|
||||
/**
|
||||
* Retrieve the version of the PayPal iOS SDK library. Useful when contacting support.
|
||||
@@ -145,6 +146,7 @@ export interface PayPalEnvironment {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class PayPalPayment {
|
||||
constructor(amount: string, currency: string, shortDescription: string, intent: string, details?: PayPalPaymentDetails) {
|
||||
this.amount = amount;
|
||||
@@ -209,6 +211,7 @@ export class PayPalPayment {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class PayPalItem {
|
||||
/**
|
||||
* The PayPalItem class defines an optional itemization for a payment.
|
||||
@@ -252,6 +255,7 @@ export class PayPalItem {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class PayPalPaymentDetails {
|
||||
/**
|
||||
* The PayPalPaymentDetails class defines optional amount details.
|
||||
@@ -379,6 +383,7 @@ export interface PayPalConfigurationOptions {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class PayPalConfiguration implements PayPalConfigurationOptions {
|
||||
/**
|
||||
* You use a PayPalConfiguration object to configure many aspects of how the SDK behaves.
|
||||
@@ -419,6 +424,7 @@ export class PayPalConfiguration implements PayPalConfigurationOptions {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Injectable()
|
||||
export class PayPalShippingAddress {
|
||||
/**
|
||||
* See the documentation of the individual properties for more detail.
|
||||
|
||||
@@ -17,6 +17,7 @@ import { Plugin, Cordova } from '@ionic-native/core';
|
||||
pluginRef: 'PhotoViewer',
|
||||
repo: 'https://github.com/sarriaroman/photoviewer'
|
||||
})
|
||||
@Injectable()
|
||||
export class PhotoViewer {
|
||||
/**
|
||||
* Shows an image in full screen
|
||||
|
||||
@@ -25,6 +25,7 @@ import { Cordova, Plugin } from '@ionic-native/core';
|
||||
pluginRef: 'plugins.pinDialog',
|
||||
repo: 'https://github.com/Paldom/PinDialog'
|
||||
})
|
||||
@Injectable()
|
||||
export class PinDialog {
|
||||
/**
|
||||
* Show pin dialog
|
||||
|
||||
@@ -170,6 +170,7 @@ export interface PinterestPin {
|
||||
install: 'ionic plugin add cordova-plugin-pinterest --variable APP_ID=YOUR_APP_ID',
|
||||
platforms: ['Android', 'iOS']
|
||||
})
|
||||
@Injectable()
|
||||
export class Pinterest {
|
||||
|
||||
/**
|
||||
|
||||
@@ -21,6 +21,7 @@ import { Plugin, Cordova } from '@ionic-native/core';
|
||||
pluginRef: 'powerManagement',
|
||||
repo: 'https://github.com/Viras-/cordova-plugin-powermanagement'
|
||||
})
|
||||
@Injectable()
|
||||
export class PowerManagement {
|
||||
/**
|
||||
* Acquire a wakelock by calling this.
|
||||
|
||||
@@ -69,6 +69,7 @@ export interface PrintOptions {
|
||||
repo: 'https://github.com/katzer/cordova-plugin-printer.git',
|
||||
platforms: ['Android', 'iOS']
|
||||
})
|
||||
@Injectable()
|
||||
export class Printer {
|
||||
|
||||
/**
|
||||
|
||||
@@ -324,6 +324,7 @@ declare var PushNotification: {
|
||||
repo: 'https://github.com/phonegap/phonegap-plugin-push',
|
||||
install: 'ionic plugin add phonegap-plugin-push --variable SENDER_ID=XXXXXXXXX'
|
||||
})
|
||||
@Injectable()
|
||||
export class Push {
|
||||
|
||||
/**
|
||||
|
||||
@@ -22,6 +22,7 @@ import { Plugin, Cordova } from '@ionic-native/core';
|
||||
platforms: ['Android', 'iOS'],
|
||||
install: 'ionic plugin add resgrid-cordova-plugins-rollbar --variable ROLLBAR_ACCESS_TOKEN="YOUR_ROLLBAR_ACCEESS_TOKEN" --variable ROLLBAR_ENVIRONMENT="ROLLBAR_ENVIRONMENT"'
|
||||
})
|
||||
@Injectable()
|
||||
export class Rollbar {
|
||||
|
||||
/**
|
||||
|
||||
@@ -57,6 +57,7 @@ export interface SafariViewControllerOptions {
|
||||
platforms: ['iOS', 'Android'],
|
||||
repo: 'https://github.com/EddyVerbruggen/cordova-plugin-safariviewcontroller'
|
||||
})
|
||||
@Injectable()
|
||||
export class SafariViewController {
|
||||
|
||||
/**
|
||||
|
||||
@@ -43,6 +43,7 @@ declare var window;
|
||||
repo: 'https://github.com/apache/cordova-plugin-screen-orientation',
|
||||
platforms: ['Android', 'iOS', 'Windows Phone 8']
|
||||
})
|
||||
@Injectable()
|
||||
export class ScreenOrientation {
|
||||
|
||||
/**
|
||||
|
||||
@@ -22,6 +22,7 @@ declare var navigator: any;
|
||||
pluginRef: 'navigator.screenshot',
|
||||
repo: 'https://github.com/gitawego/cordova-screenshot.git'
|
||||
})
|
||||
@Injectable()
|
||||
export class Screenshot {
|
||||
|
||||
/**
|
||||
|
||||
@@ -46,6 +46,7 @@ declare var cordova: any;
|
||||
repo: 'https://github.com/Crypho/cordova-plugin-secure-storage',
|
||||
platforms: ['Android', 'iOS', 'Windows Phone', 'Browser']
|
||||
})
|
||||
@Injectable()
|
||||
export class SecureStorage {
|
||||
|
||||
private _objectInstance: any;
|
||||
|
||||
@@ -44,6 +44,7 @@ export interface SerialOpenOptions {
|
||||
repo: 'https://github.com/xseignard/cordovarduino',
|
||||
platforms: ['Android']
|
||||
})
|
||||
@Injectable()
|
||||
export class Serial {
|
||||
|
||||
/**
|
||||
|
||||
@@ -20,6 +20,7 @@ import { Observable } from 'rxjs/Observable';
|
||||
pluginRef: 'shake',
|
||||
repo: 'https://github.com/leecrossley/cordova-plugin-shake'
|
||||
})
|
||||
@Injectable()
|
||||
export class Shake {
|
||||
/**
|
||||
* Watch for shake gesture
|
||||
|
||||
@@ -35,6 +35,7 @@ import { Cordova, Plugin } from '@ionic-native/core';
|
||||
repo: 'https://github.com/pbakondy/cordova-plugin-sim',
|
||||
platforms: ['Android', 'iOS', 'Windows Phone']
|
||||
})
|
||||
@Injectable()
|
||||
export class Sim {
|
||||
/**
|
||||
* Returns info from the SIM card.
|
||||
|
||||
@@ -49,6 +49,7 @@ export interface SmsOptionsAndroid {
|
||||
repo: 'https://github.com/cordova-sms/cordova-sms-plugin',
|
||||
platforms: ['Android', 'iOS', 'Windows Phone 8']
|
||||
})
|
||||
@Injectable()
|
||||
export class SMS {
|
||||
|
||||
/**
|
||||
|
||||
@@ -31,6 +31,7 @@ import { Cordova, Plugin } from '@ionic-native/core';
|
||||
repo: 'https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin',
|
||||
platforms: ['iOS', 'Android', 'Windows Phone']
|
||||
})
|
||||
@Injectable()
|
||||
export class SocialSharing {
|
||||
/**
|
||||
* Shares using the share sheet
|
||||
|
||||
@@ -93,6 +93,7 @@ export interface SpeechRecognitionListeningOptionsAndroid {
|
||||
repo: 'https://github.com/pbakondy/cordova-plugin-speechrecognition',
|
||||
platforms: ['Android', 'iOS']
|
||||
})
|
||||
@Injectable()
|
||||
export class SpeechRecognition {
|
||||
|
||||
/**
|
||||
|
||||
@@ -29,6 +29,7 @@ export interface SpinnerDialogIOSOptions {
|
||||
repo: 'https://github.com/Paldom/SpinnerDialog',
|
||||
platforms: ['Android', 'iOS', 'Windows Phone 8']
|
||||
})
|
||||
@Injectable()
|
||||
export class SpinnerDialog {
|
||||
|
||||
/**
|
||||
|
||||
@@ -20,6 +20,7 @@ import { Cordova, Plugin } from '@ionic-native/core';
|
||||
pluginRef: 'navigator.splashscreen',
|
||||
repo: 'https://github.com/apache/cordova-plugin-splashscreen'
|
||||
})
|
||||
@Injectable()
|
||||
export class Splashscreen {
|
||||
|
||||
/**
|
||||
|
||||
@@ -50,6 +50,7 @@ declare var sqlitePlugin;
|
||||
plugin: 'cordova-sqlite-storage',
|
||||
repo: 'https://github.com/litehelpers/Cordova-sqlite-storage'
|
||||
})
|
||||
@Injectable()
|
||||
export class SQLite {
|
||||
|
||||
private _objectInstance: any;
|
||||
|
||||
@@ -28,6 +28,7 @@ declare var window;
|
||||
repo: 'https://github.com/apache/cordova-plugin-statusbar',
|
||||
platforms: ['iOS', 'Android', 'Windows Phone 8', 'Windows 8', 'Windows 10']
|
||||
})
|
||||
@Injectable()
|
||||
export class StatusBar {
|
||||
/**
|
||||
* Set whether the status bar overlays the main app view. The default
|
||||
|
||||
@@ -26,6 +26,7 @@ import { Plugin, Cordova } from '@ionic-native/core';
|
||||
repo: 'https://github.com/Slidee/cordova-plugin-stepcounter',
|
||||
platforms: ['Android']
|
||||
})
|
||||
@Injectable()
|
||||
export class Stepcounter {
|
||||
|
||||
/**
|
||||
|
||||
@@ -44,6 +44,7 @@ export interface StreamingAudioOptions {
|
||||
repo: 'https://github.com/nchutchind/cordova-plugin-streaming-media',
|
||||
platforms: ['Android', 'iOS']
|
||||
})
|
||||
@Injectable()
|
||||
export class StreamingMedia {
|
||||
/**
|
||||
* Streams a video
|
||||
|
||||
@@ -85,6 +85,7 @@ export interface StripeCardTokenParams {
|
||||
pluginRef: 'cordova.plugins.stripe',
|
||||
repo: 'https://github.com/zyramedia/cordova-plugin-stripe'
|
||||
})
|
||||
@Injectable()
|
||||
export class Stripe {
|
||||
|
||||
/**
|
||||
|
||||
@@ -32,6 +32,7 @@ export interface TTSOptions {
|
||||
pluginRef: 'TTS',
|
||||
repo: 'https://github.com/vilic/cordova-plugin-tts'
|
||||
})
|
||||
@Injectable()
|
||||
export class TextToSpeech {
|
||||
|
||||
/**
|
||||
|
||||
@@ -151,6 +151,7 @@ export interface ThemeableBrowserOptions {
|
||||
pluginRef: 'cordova.ThemeableBrowser',
|
||||
repo: 'https://github.com/initialxy/cordova-plugin-themeablebrowser'
|
||||
})
|
||||
@Injectable()
|
||||
export class ThemeableBrowser {
|
||||
private _objectInstance: any;
|
||||
|
||||
|
||||
@@ -63,6 +63,7 @@ export interface ToastOptions {
|
||||
repo: 'https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin',
|
||||
platforms: ['Android', 'iOS', 'Windows Phone 8']
|
||||
})
|
||||
@Injectable()
|
||||
export class Toast {
|
||||
|
||||
/**
|
||||
|
||||
@@ -51,6 +51,7 @@ import { Cordova, Plugin } from '@ionic-native/core';
|
||||
repo: 'https://github.com/EddyVerbruggen/cordova-plugin-touch-id',
|
||||
platforms: ['iOS']
|
||||
})
|
||||
@Injectable()
|
||||
export class TouchID {
|
||||
|
||||
/**
|
||||
|
||||
@@ -53,6 +53,7 @@ export interface TwitterConnectResponse {
|
||||
repo: 'https://github.com/ManifestWebDesign/twitter-connect-plugin',
|
||||
install: 'ionic plugin add twitter-connect-plugin --variable FABRIC_KEY=fabric_API_key'
|
||||
})
|
||||
@Injectable()
|
||||
export class TwitterConnect {
|
||||
/**
|
||||
* Logs in
|
||||
|
||||
@@ -31,6 +31,7 @@ import { Cordova, Plugin } from '@ionic-native/core';
|
||||
repo: 'https://github.com/apache/cordova-plugin-vibration',
|
||||
platforms: ['Android', 'iOS', 'Windows 8.1 Phone', 'Windows 8.1', 'Windows 10']
|
||||
})
|
||||
@Injectable()
|
||||
export class Vibration {
|
||||
|
||||
/**
|
||||
|
||||
@@ -149,6 +149,7 @@ export interface VideoInfo {
|
||||
repo: 'https://github.com/jbavari/cordova-plugin-video-editor',
|
||||
platforms: ['Android', 'iOS', 'Windows Phone 8']
|
||||
})
|
||||
@Injectable()
|
||||
export class VideoEditor {
|
||||
|
||||
static OptimizeForNetworkUse = {
|
||||
|
||||
@@ -46,6 +46,7 @@ export interface VideoOptions {
|
||||
repo: 'https://github.com/moust/cordova-plugin-videoplayer',
|
||||
platforms: ['Android']
|
||||
})
|
||||
@Injectable()
|
||||
export class VideoPlayer {
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,6 +23,7 @@ declare var window;
|
||||
repo: 'https://github.com/Initsogar/cordova-webintent.git',
|
||||
platforms: ['Android']
|
||||
})
|
||||
@Injectable()
|
||||
export class WebIntent {
|
||||
|
||||
@CordovaProperty
|
||||
|
||||
@@ -19,6 +19,7 @@ import { Plugin, Cordova } from '@ionic-native/core';
|
||||
repo: 'https://github.com/Glitchbone/CordovaYoutubeVideoPlayer',
|
||||
platforms: ['Android', 'iOS']
|
||||
})
|
||||
@Injectable()
|
||||
export class YoutubeVideoPlayer {
|
||||
/**
|
||||
* Plays a YouTube video
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user