diff --git a/scripts/build/transformers/imports.ts b/scripts/build/transformers/imports.ts index 544983664..ff1c324c2 100644 --- a/scripts/build/transformers/imports.ts +++ b/scripts/build/transformers/imports.ts @@ -44,7 +44,7 @@ function transformImports(file: ts.SourceFile, ctx: ts.TransformationContext, ng const methodNames = methodElements.map(el => el.escapedText); importStatement.importClause.namedBindings.elements = [ - ts.createIdentifier('IonicNativePlugin'), + ts.createIdentifier('AwesomeCordovaNativePlugin'), ...methodElements, ...importStatement.importClause.namedBindings.elements.filter( el => keep.indexOf(el.name.text) !== -1 && methodNames.indexOf(el.name.text) === -1 diff --git a/scripts/templates/wrap-min.tmpl b/scripts/templates/wrap-min.tmpl index 4548c510d..075ac52f7 100644 --- a/scripts/templates/wrap-min.tmpl +++ b/scripts/templates/wrap-min.tmpl @@ -10,7 +10,7 @@ * */ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, CordovaProperty, CordovaInstance, InstanceProperty, IonicNativePlugin } from '@ionic-native/core'; +import { Plugin, Cordova, CordovaProperty, CordovaInstance, InstanceProperty, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; /** @@ -44,7 +44,7 @@ import { Observable } from 'rxjs'; platforms: [] // Array of platforms supported, example: ['Android', 'iOS'] }) @Injectable() -export class {{ PluginName }} extends IonicNativePlugin { +export class {{ PluginName }} extends AwesomeCordovaNativePlugin { /** * This function does something diff --git a/scripts/templates/wrap.tmpl b/scripts/templates/wrap.tmpl index 4548c510d..075ac52f7 100644 --- a/scripts/templates/wrap.tmpl +++ b/scripts/templates/wrap.tmpl @@ -10,7 +10,7 @@ * */ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, CordovaProperty, CordovaInstance, InstanceProperty, IonicNativePlugin } from '@ionic-native/core'; +import { Plugin, Cordova, CordovaProperty, CordovaInstance, InstanceProperty, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; /** @@ -44,7 +44,7 @@ import { Observable } from 'rxjs'; platforms: [] // Array of platforms supported, example: ['Android', 'iOS'] }) @Injectable() -export class {{ PluginName }} extends IonicNativePlugin { +export class {{ PluginName }} extends AwesomeCordovaNativePlugin { /** * This function does something diff --git a/src/@awesome-cordova-plugins/core/ionic-native-plugin.ts b/src/@awesome-cordova-plugins/core/awesome-cordova-plugin.ts similarity index 96% rename from src/@awesome-cordova-plugins/core/ionic-native-plugin.ts rename to src/@awesome-cordova-plugins/core/awesome-cordova-plugin.ts index 27ba4584b..e5110ed55 100644 --- a/src/@awesome-cordova-plugins/core/ionic-native-plugin.ts +++ b/src/@awesome-cordova-plugins/core/awesome-cordova-plugin.ts @@ -1,7 +1,7 @@ import { checkAvailability } from './decorators/common'; import { get } from './util'; -export class IonicNativePlugin { +export class AwesomeCordovaNativePlugin { static pluginName = ''; static pluginRef = ''; static plugin = ''; diff --git a/src/@awesome-cordova-plugins/core/index.ts b/src/@awesome-cordova-plugins/core/index.ts index 3a3740e0d..e21d0e39a 100644 --- a/src/@awesome-cordova-plugins/core/index.ts +++ b/src/@awesome-cordova-plugins/core/index.ts @@ -1,6 +1,6 @@ import { checkReady } from './bootstrap'; -export { IonicNativePlugin } from './ionic-native-plugin'; +export { AwesomeCordovaNativePlugin } from './awesome-cordova-plugin'; // Decorators export { checkAvailability, instanceAvailability, wrap, getPromise } from './decorators/common'; diff --git a/src/@awesome-cordova-plugins/plugins/abbyy-rtr/index.ts b/src/@awesome-cordova-plugins/plugins/abbyy-rtr/index.ts index 29bd118cd..ce817afb7 100644 --- a/src/@awesome-cordova-plugins/plugins/abbyy-rtr/index.ts +++ b/src/@awesome-cordova-plugins/plugins/abbyy-rtr/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { CordovaCheck, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { CordovaCheck, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; declare const AbbyyRtrSdk: any; @@ -302,7 +302,7 @@ export interface DataCaptureResult { platforms: ['Android', 'iOS'], }) @Injectable() -export class AbbyyRTR extends IonicNativePlugin { +export class AbbyyRTR extends AwesomeCordovaNativePlugin { /** * Opens a modal dialog with controls for the Text Capture scenario. * @param {TextCaptureOptions} options diff --git a/src/@awesome-cordova-plugins/plugins/action-sheet/index.ts b/src/@awesome-cordova-plugins/plugins/action-sheet/index.ts index a387b710a..69bba4b98 100644 --- a/src/@awesome-cordova-plugins/plugins/action-sheet/index.ts +++ b/src/@awesome-cordova-plugins/plugins/action-sheet/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface ActionSheetOptions { /** @@ -96,7 +96,7 @@ export interface ActionSheetOptions { platforms: ['Android', 'Browser', 'iOS', 'Windows', 'Windows Phone 8'], }) @Injectable() -export class ActionSheet extends IonicNativePlugin { +export class ActionSheet extends AwesomeCordovaNativePlugin { /** * Convenience property to select an Android theme value */ diff --git a/src/@awesome-cordova-plugins/plugins/adjust/index.ts b/src/@awesome-cordova-plugins/plugins/adjust/index.ts index ff75aece1..98240f5c4 100644 --- a/src/@awesome-cordova-plugins/plugins/adjust/index.ts +++ b/src/@awesome-cordova-plugins/plugins/adjust/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export class AdjustEvent { private eventToken: string; @@ -496,7 +496,7 @@ export enum AdjustAdRevenueSource { platforms: ['Android', 'iOS'], }) @Injectable() -export class Adjust extends IonicNativePlugin { +export class Adjust extends AwesomeCordovaNativePlugin { /** * This method initializes Adjust SDK * @param {AdjustConig} config Adjust config object used as starting options diff --git a/src/@awesome-cordova-plugins/plugins/admob-plus/index.ts b/src/@awesome-cordova-plugins/plugins/admob-plus/index.ts index 89c9d325d..86be2a28d 100644 --- a/src/@awesome-cordova-plugins/plugins/admob-plus/index.ts +++ b/src/@awesome-cordova-plugins/plugins/admob-plus/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable, fromEvent } from 'rxjs'; export type AdUnitIDOption = @@ -75,7 +75,7 @@ export class RewardVideo { repo: 'https://github.com/admob-plus/admob-plus', }) @Injectable() -export class AdMob extends IonicNativePlugin { +export class AdMob extends AwesomeCordovaNativePlugin { banner = new Banner(); interstitial = new Interstitial(); rewardVideo = new RewardVideo(); diff --git a/src/@awesome-cordova-plugins/plugins/admob-pro/index.ts b/src/@awesome-cordova-plugins/plugins/admob-pro/index.ts index 6ac06b977..3f07275c2 100644 --- a/src/@awesome-cordova-plugins/plugins/admob-pro/index.ts +++ b/src/@awesome-cordova-plugins/plugins/admob-pro/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export type AdSize = @@ -142,7 +142,7 @@ export interface AdExtras { platforms: ['Android', 'iOS', 'Windows Phone 8'], }) @Injectable() -export class AdMobPro extends IonicNativePlugin { +export class AdMobPro extends AwesomeCordovaNativePlugin { AD_POSITION: { NO_CHANGE: number; TOP_LEFT: number; diff --git a/src/@awesome-cordova-plugins/plugins/admob/index.ts b/src/@awesome-cordova-plugins/plugins/admob/index.ts index 364d36ed8..85718c84e 100644 --- a/src/@awesome-cordova-plugins/plugins/admob/index.ts +++ b/src/@awesome-cordova-plugins/plugins/admob/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, CordovaProperty, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export interface AdmobBaseOptions { @@ -291,7 +291,7 @@ export interface AdMobEvent { platforms: ['Android', 'iOS', 'Browser'], }) @Injectable() -export class Admob extends IonicNativePlugin { +export class Admob extends AwesomeCordovaNativePlugin { /** * This enum represents AdMob's supported ad sizes. * Use one of these constants as adSize option when calling createBannerView diff --git a/src/@awesome-cordova-plugins/plugins/aes-256/index.ts b/src/@awesome-cordova-plugins/plugins/aes-256/index.ts index 6cfd454f5..9ac35affb 100644 --- a/src/@awesome-cordova-plugins/plugins/aes-256/index.ts +++ b/src/@awesome-cordova-plugins/plugins/aes-256/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name AES256 @@ -55,7 +55,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor install: 'ionic cordova plugin add cordova-plugin-aes256-encryption', }) @Injectable() -export class AES256 extends IonicNativePlugin { +export class AES256 extends AwesomeCordovaNativePlugin { /** * This function used to perform the aes256 encryption * @param {string} secureKey A 32 bytes string, which will used as input key for AES256 encryption. diff --git a/src/@awesome-cordova-plugins/plugins/all-in-one-sdk/index.ts b/src/@awesome-cordova-plugins/plugins/all-in-one-sdk/index.ts index b2f888383..5f1a21426 100644 --- a/src/@awesome-cordova-plugins/plugins/all-in-one-sdk/index.ts +++ b/src/@awesome-cordova-plugins/plugins/all-in-one-sdk/index.ts @@ -5,7 +5,7 @@ import { CordovaProperty, CordovaInstance, InstanceProperty, - IonicNativePlugin, + AwesomeCordovaNativePlugin, } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; @@ -48,7 +48,7 @@ import { Observable } from 'rxjs'; repo: 'https://github.com/paytm/paytm-allinonesdk-ionic-cordova.git', platforms: ['Android', 'iOS'], }) -export class AllInOneSDK extends IonicNativePlugin { +export class AllInOneSDK extends AwesomeCordovaNativePlugin { /** * This function checks if Paytm Application is available on the device. * If Paytm exists then it invokes Paytm Application with the parameters sent and creates an order. diff --git a/src/@awesome-cordova-plugins/plugins/analytics-firebase/index.ts b/src/@awesome-cordova-plugins/plugins/analytics-firebase/index.ts index 62a0e7bd6..535d0ed97 100644 --- a/src/@awesome-cordova-plugins/plugins/analytics-firebase/index.ts +++ b/src/@awesome-cordova-plugins/plugins/analytics-firebase/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, CordovaProperty, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Analytics Firebase @@ -61,7 +61,7 @@ import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-co platforms: ['Android', 'iOS'], }) @Injectable() -export class AnalyticsFirebase extends IonicNativePlugin { +export class AnalyticsFirebase extends AwesomeCordovaNativePlugin { /** * This enum represents AnalyticsFirebase default events. * Use one of these default events or a custom event diff --git a/src/@awesome-cordova-plugins/plugins/android-exoplayer/index.ts b/src/@awesome-cordova-plugins/plugins/android-exoplayer/index.ts index 990d0013e..b036ea548 100644 --- a/src/@awesome-cordova-plugins/plugins/android-exoplayer/index.ts +++ b/src/@awesome-cordova-plugins/plugins/android-exoplayer/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export type AndroidExoPlayerAspectRatio = 'FILL_SCREEN' | 'FIT_SCREEN'; @@ -181,7 +181,7 @@ export interface AndroidExoPlayerControllerConfig { platforms: ['Android'], }) @Injectable() -export class AndroidExoplayer extends IonicNativePlugin { +export class AndroidExoplayer extends AwesomeCordovaNativePlugin { /** * Show the player. * @param {AndroidExoPlayerParams} parameters Parameters diff --git a/src/@awesome-cordova-plugins/plugins/android-full-screen/index.ts b/src/@awesome-cordova-plugins/plugins/android-full-screen/index.ts index f521a794c..8fb813fbb 100644 --- a/src/@awesome-cordova-plugins/plugins/android-full-screen/index.ts +++ b/src/@awesome-cordova-plugins/plugins/android-full-screen/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * Bit flag values for setSystemUiVisibility() @@ -56,7 +56,7 @@ export enum AndroidSystemUiFlags { platforms: ['Android'], }) @Injectable() -export class AndroidFullScreen extends IonicNativePlugin { +export class AndroidFullScreen extends AwesomeCordovaNativePlugin { /** * Is this plugin supported? * @return {Promise} diff --git a/src/@awesome-cordova-plugins/plugins/android-notch/index.ts b/src/@awesome-cordova-plugins/plugins/android-notch/index.ts index 4a2b62927..3da3761f3 100644 --- a/src/@awesome-cordova-plugins/plugins/android-notch/index.ts +++ b/src/@awesome-cordova-plugins/plugins/android-notch/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; /** * @name Android Notch @@ -48,7 +48,7 @@ import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/cor platforms: ['Android'], }) @Injectable() -export class AndroidNotch extends IonicNativePlugin { +export class AndroidNotch extends AwesomeCordovaNativePlugin { /** * Returns true if the android device has cutout * diff --git a/src/@awesome-cordova-plugins/plugins/android-permissions/index.ts b/src/@awesome-cordova-plugins/plugins/android-permissions/index.ts index 94d9b6d7e..3643c30e2 100644 --- a/src/@awesome-cordova-plugins/plugins/android-permissions/index.ts +++ b/src/@awesome-cordova-plugins/plugins/android-permissions/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Android Permissions @@ -37,7 +37,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android'], }) @Injectable() -export class AndroidPermissions extends IonicNativePlugin { +export class AndroidPermissions extends AwesomeCordovaNativePlugin { PERMISSION: any = { ACCESS_CHECKIN_PROPERTIES: 'android.permission.ACCESS_CHECKIN_PROPERTIES', ACCESS_COARSE_LOCATION: 'android.permission.ACCESS_COARSE_LOCATION', diff --git a/src/@awesome-cordova-plugins/plugins/anyline/index.ts b/src/@awesome-cordova-plugins/plugins/anyline/index.ts index 2260a7e87..d26226cbd 100644 --- a/src/@awesome-cordova-plugins/plugins/anyline/index.ts +++ b/src/@awesome-cordova-plugins/plugins/anyline/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface AnylineOptions { // Valid License Key @@ -38,7 +38,7 @@ export interface AnylineOptions { platforms: ['Android', 'iOS'], }) @Injectable() -export class Anyline extends IonicNativePlugin { +export class Anyline extends AwesomeCordovaNativePlugin { /** * Scan * @param options {AnylineOptions} Scanning options diff --git a/src/@awesome-cordova-plugins/plugins/app-availability/index.ts b/src/@awesome-cordova-plugins/plugins/app-availability/index.ts index 5de24481e..7ee12b7f5 100644 --- a/src/@awesome-cordova-plugins/plugins/app-availability/index.ts +++ b/src/@awesome-cordova-plugins/plugins/app-availability/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name App Availability @@ -40,7 +40,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class AppAvailability extends IonicNativePlugin { +export class AppAvailability extends AwesomeCordovaNativePlugin { /** * Checks if an app is available on device * @param {string} app Package name on android, or URI scheme on iOS diff --git a/src/@awesome-cordova-plugins/plugins/app-center-analytics/index.ts b/src/@awesome-cordova-plugins/plugins/app-center-analytics/index.ts index 14edec3c3..376f0a526 100644 --- a/src/@awesome-cordova-plugins/plugins/app-center-analytics/index.ts +++ b/src/@awesome-cordova-plugins/plugins/app-center-analytics/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface StringMap { [s: string]: string; @@ -42,7 +42,7 @@ export interface StringMap { platforms: ['Android', 'iOS'], }) @Injectable() -export class AppCenterAnalytics extends IonicNativePlugin { +export class AppCenterAnalytics extends AwesomeCordovaNativePlugin { /** * Tracks an custom event. * You can send up to 200 distinct event names. Also, there is a maximum limit of 256 characters per event name diff --git a/src/@awesome-cordova-plugins/plugins/app-center-crashes/index.ts b/src/@awesome-cordova-plugins/plugins/app-center-crashes/index.ts index 398823748..b042e5f96 100644 --- a/src/@awesome-cordova-plugins/plugins/app-center-crashes/index.ts +++ b/src/@awesome-cordova-plugins/plugins/app-center-crashes/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface AppCenterCrashReport { id: string; @@ -66,7 +66,7 @@ export interface AppCenterCrashReportDevice { platforms: ['Android', 'iOS'], }) @Injectable() -export class AppCenterCrashes extends IonicNativePlugin { +export class AppCenterCrashes extends AwesomeCordovaNativePlugin { /** * App Center Crashes provides you with an API to generate a test crash for easy testing of the SDK. * This API can only be used in test/beta apps and won't do anything in production apps. diff --git a/src/@awesome-cordova-plugins/plugins/app-center-low-memory/index.ts b/src/@awesome-cordova-plugins/plugins/app-center-low-memory/index.ts index 7e554529f..4c04f1d66 100644 --- a/src/@awesome-cordova-plugins/plugins/app-center-low-memory/index.ts +++ b/src/@awesome-cordova-plugins/plugins/app-center-low-memory/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name App Center Low Memory @@ -28,7 +28,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class LowMemory extends IonicNativePlugin { +export class LowMemory extends AwesomeCordovaNativePlugin { /** * Generates a low memory warning. * For more info, please see: https://github.com/Microsoft/appcenter-sdk-cordova/tree/master/cordova-plugin-appcenter-generate-low-memory diff --git a/src/@awesome-cordova-plugins/plugins/app-center-push/index.ts b/src/@awesome-cordova-plugins/plugins/app-center-push/index.ts index 1d15210ba..ce7952a05 100644 --- a/src/@awesome-cordova-plugins/plugins/app-center-push/index.ts +++ b/src/@awesome-cordova-plugins/plugins/app-center-push/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; /** @@ -33,7 +33,7 @@ import { Observable } from 'rxjs'; platforms: ['Android', 'iOS'], }) @Injectable() -export class AppCenterPush extends IonicNativePlugin { +export class AppCenterPush extends AwesomeCordovaNativePlugin { /** * Subscribe to an event * @param {string} eventName Event name diff --git a/src/@awesome-cordova-plugins/plugins/app-center-shared/index.ts b/src/@awesome-cordova-plugins/plugins/app-center-shared/index.ts index 78c632e98..e61db3cd5 100644 --- a/src/@awesome-cordova-plugins/plugins/app-center-shared/index.ts +++ b/src/@awesome-cordova-plugins/plugins/app-center-shared/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name App Center Shared @@ -38,7 +38,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class AppCenter extends IonicNativePlugin { +export class AppCenter extends AwesomeCordovaNativePlugin { /** * Returns AppCenter UUID. * For more info, please see: https://docs.microsoft.com/en-us/appcenter/sdk/other-apis/cordova#identify-installations diff --git a/src/@awesome-cordova-plugins/plugins/app-preferences/index.ts b/src/@awesome-cordova-plugins/plugins/app-preferences/index.ts index 6434b3462..cea192a0a 100644 --- a/src/@awesome-cordova-plugins/plugins/app-preferences/index.ts +++ b/src/@awesome-cordova-plugins/plugins/app-preferences/index.ts @@ -1,4 +1,4 @@ -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; import { Injectable } from '@angular/core'; @@ -28,7 +28,7 @@ import { Injectable } from '@angular/core'; platforms: ['Android', 'BlackBerry 10', 'Browser', 'iOS', 'macOS', 'Windows 8', 'Windows Phone'], }) @Injectable() -export class AppPreferences extends IonicNativePlugin { +export class AppPreferences extends AwesomeCordovaNativePlugin { /** * Get a preference value * diff --git a/src/@awesome-cordova-plugins/plugins/app-rate/index.ts b/src/@awesome-cordova-plugins/plugins/app-rate/index.ts index 8f6f50527..12b6aa4cb 100644 --- a/src/@awesome-cordova-plugins/plugins/app-rate/index.ts +++ b/src/@awesome-cordova-plugins/plugins/app-rate/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, CordovaProperty, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export enum AppRateReviewTypeIos { /** @@ -252,7 +252,7 @@ export interface AppUrls { platforms: ['Android', 'BlackBerry 10', 'iOS', 'Windows'], }) @Injectable() -export class AppRate extends IonicNativePlugin { +export class AppRate extends AwesomeCordovaNativePlugin { /** * Manager custom locales */ diff --git a/src/@awesome-cordova-plugins/plugins/app-version/index.ts b/src/@awesome-cordova-plugins/plugins/app-version/index.ts index ebcf99d8a..b07d1e348 100644 --- a/src/@awesome-cordova-plugins/plugins/app-version/index.ts +++ b/src/@awesome-cordova-plugins/plugins/app-version/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name App Version @@ -33,7 +33,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS', 'Windows'], }) @Injectable() -export class AppVersion extends IonicNativePlugin { +export class AppVersion extends AwesomeCordovaNativePlugin { /** * Returns the name of the app, e.g.: "My Awesome App" * @returns {Promise} diff --git a/src/@awesome-cordova-plugins/plugins/apple-wallet/index.ts b/src/@awesome-cordova-plugins/plugins/apple-wallet/index.ts index 244588ace..3c25bae6d 100644 --- a/src/@awesome-cordova-plugins/plugins/apple-wallet/index.ts +++ b/src/@awesome-cordova-plugins/plugins/apple-wallet/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface EncryptedCardData { activationData: string; @@ -153,7 +153,7 @@ export interface WatchExistData { platforms: ['iOS'], }) @Injectable() -export class AppleWallet extends IonicNativePlugin { +export class AppleWallet extends AwesomeCordovaNativePlugin { /** * Simple call to determine if the current device supports Apple Pay and has a supported card installed. * @return {Promise} diff --git a/src/@awesome-cordova-plugins/plugins/approov-advanced-http/index.ts b/src/@awesome-cordova-plugins/plugins/approov-advanced-http/index.ts index f73922c68..efdcc209c 100644 --- a/src/@awesome-cordova-plugins/plugins/approov-advanced-http/index.ts +++ b/src/@awesome-cordova-plugins/plugins/approov-advanced-http/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, CordovaProperty, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface HTTPResponse { /** @@ -169,7 +169,7 @@ export interface ApproovLoggableToken { platforms: ['Android', 'iOS'], }) @Injectable() -export class ApproovHttp extends IonicNativePlugin { +export class ApproovHttp extends AwesomeCordovaNativePlugin { /** * This enum represents the internal error codes which can be returned in a HTTPResponse object. * @readonly diff --git a/src/@awesome-cordova-plugins/plugins/appsflyer/index.ts b/src/@awesome-cordova-plugins/plugins/appsflyer/index.ts index 00cc1993d..40f2ae9f0 100644 --- a/src/@awesome-cordova-plugins/plugins/appsflyer/index.ts +++ b/src/@awesome-cordova-plugins/plugins/appsflyer/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface AppsflyerOptions { /** @@ -83,7 +83,7 @@ export interface AppsflyerInviteOptions { install: 'Add to config.xml like stated on github and then start', }) @Injectable() -export class Appsflyer extends IonicNativePlugin { +export class Appsflyer extends AwesomeCordovaNativePlugin { /** * initialize the SDK * @param {AppsflyerOptions} options diff --git a/src/@awesome-cordova-plugins/plugins/background-fetch/index.ts b/src/@awesome-cordova-plugins/plugins/background-fetch/index.ts index 7153c77e0..66d8063c8 100644 --- a/src/@awesome-cordova-plugins/plugins/background-fetch/index.ts +++ b/src/@awesome-cordova-plugins/plugins/background-fetch/index.ts @@ -1,4 +1,4 @@ -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Injectable } from '@angular/core'; export interface BackgroundFetchConfig { @@ -58,7 +58,7 @@ export interface BackgroundFetchConfig { platforms: ['iOS'], }) @Injectable() -export class BackgroundFetch extends IonicNativePlugin { +export class BackgroundFetch extends AwesomeCordovaNativePlugin { /** * Configures the plugin's fetch callbackFn * diff --git a/src/@awesome-cordova-plugins/plugins/background-geolocation/index.ts b/src/@awesome-cordova-plugins/plugins/background-geolocation/index.ts index dba133efd..468951362 100644 --- a/src/@awesome-cordova-plugins/plugins/background-geolocation/index.ts +++ b/src/@awesome-cordova-plugins/plugins/background-geolocation/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export enum BackgroundGeolocationLocationCode { @@ -546,7 +546,7 @@ export declare enum BackgroundGeolocationIOSActivity { platforms: ['Android', 'iOS'], }) @Injectable() -export class BackgroundGeolocation extends IonicNativePlugin { +export class BackgroundGeolocation extends AwesomeCordovaNativePlugin { /** * Configure the plugin. * diff --git a/src/@awesome-cordova-plugins/plugins/background-mode/index.ts b/src/@awesome-cordova-plugins/plugins/background-mode/index.ts index a88aa2b08..7167030d2 100644 --- a/src/@awesome-cordova-plugins/plugins/background-mode/index.ts +++ b/src/@awesome-cordova-plugins/plugins/background-mode/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; /** @@ -77,7 +77,7 @@ export interface BackgroundModeConfiguration { platforms: ['AmazonFire OS', 'Android', 'Browser', 'iOS', 'Windows'], }) @Injectable() -export class BackgroundMode extends IonicNativePlugin { +export class BackgroundMode extends AwesomeCordovaNativePlugin { /** * Enable the background mode. * Once called, prevents the app from being paused while in background. diff --git a/src/@awesome-cordova-plugins/plugins/background-upload/index.ts b/src/@awesome-cordova-plugins/plugins/background-upload/index.ts index af85ffa67..77916a61e 100644 --- a/src/@awesome-cordova-plugins/plugins/background-upload/index.ts +++ b/src/@awesome-cordova-plugins/plugins/background-upload/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, CordovaInstance, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, CordovaInstance, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; declare const window: any; @@ -103,7 +103,7 @@ export class FileTransferManager { platforms: ['Android', 'iOS'], }) @Injectable() -export class BackgroundUpload extends IonicNativePlugin { +export class BackgroundUpload extends AwesomeCordovaNativePlugin { FileTransferManager = FileTransferManager; init(options: FTMOptions): FileTransferManager { diff --git a/src/@awesome-cordova-plugins/plugins/badge/index.ts b/src/@awesome-cordova-plugins/plugins/badge/index.ts index 2be0857e5..9216e2ea2 100644 --- a/src/@awesome-cordova-plugins/plugins/badge/index.ts +++ b/src/@awesome-cordova-plugins/plugins/badge/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Badge @@ -32,7 +32,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'Browser', 'iOS', 'Windows'], }) @Injectable() -export class Badge extends IonicNativePlugin { +export class Badge extends AwesomeCordovaNativePlugin { /** * Clear the badge of the app icon. * @returns {Promise} diff --git a/src/@awesome-cordova-plugins/plugins/barcode-scanner/index.ts b/src/@awesome-cordova-plugins/plugins/barcode-scanner/index.ts index b1ce851df..1b070720e 100644 --- a/src/@awesome-cordova-plugins/plugins/barcode-scanner/index.ts +++ b/src/@awesome-cordova-plugins/plugins/barcode-scanner/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface BarcodeScannerOptions { /** @@ -114,7 +114,7 @@ export interface BarcodeScanResult { platforms: ['Android', 'BlackBerry 10', 'Browser', 'iOS', 'Windows'], }) @Injectable() -export class BarcodeScanner extends IonicNativePlugin { +export class BarcodeScanner extends AwesomeCordovaNativePlugin { Encode: { TEXT_TYPE: string; EMAIL_TYPE: string; diff --git a/src/@awesome-cordova-plugins/plugins/battery-status/index.ts b/src/@awesome-cordova-plugins/plugins/battery-status/index.ts index dcf790fd0..0fc45b259 100644 --- a/src/@awesome-cordova-plugins/plugins/battery-status/index.ts +++ b/src/@awesome-cordova-plugins/plugins/battery-status/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export interface BatteryStatusResponse { @@ -48,7 +48,7 @@ export interface BatteryStatusResponse { platforms: ['iOS', 'Android', 'Windows', 'Browser'], }) @Injectable() -export class BatteryStatus extends IonicNativePlugin { +export class BatteryStatus extends AwesomeCordovaNativePlugin { /** * Watch the change in battery level * @returns {Observable} Returns an observable that pushes a status object diff --git a/src/@awesome-cordova-plugins/plugins/biocatch/index.ts b/src/@awesome-cordova-plugins/plugins/biocatch/index.ts index 0f396bcab..464653cbd 100644 --- a/src/@awesome-cordova-plugins/plugins/biocatch/index.ts +++ b/src/@awesome-cordova-plugins/plugins/biocatch/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name BioCatch @@ -30,7 +30,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['iOS', 'Android'], }) @Injectable() -export class BioCatch extends IonicNativePlugin { +export class BioCatch extends AwesomeCordovaNativePlugin { /** * Start a session * @param customerSessionID {String} Customer session id diff --git a/src/@awesome-cordova-plugins/plugins/biometric-wrapper/index.ts b/src/@awesome-cordova-plugins/plugins/biometric-wrapper/index.ts index 64a8e07c9..5e5a109a1 100644 --- a/src/@awesome-cordova-plugins/plugins/biometric-wrapper/index.ts +++ b/src/@awesome-cordova-plugins/plugins/biometric-wrapper/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; /** * @name BiometricWrapper @@ -34,7 +34,7 @@ import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/cor platforms: ['Android'], }) @Injectable() -export class BiometricWrapper extends IonicNativePlugin { +export class BiometricWrapper extends AwesomeCordovaNativePlugin { /** * This function activate iris activity * @return {Promise} Returns a promise that resolves when iris data captured diff --git a/src/@awesome-cordova-plugins/plugins/ble/index.ts b/src/@awesome-cordova-plugins/plugins/ble/index.ts index d8cbe9a93..85b1bd9cc 100644 --- a/src/@awesome-cordova-plugins/plugins/ble/index.ts +++ b/src/@awesome-cordova-plugins/plugins/ble/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export interface BLEScanOptions { @@ -183,7 +183,7 @@ export interface BLEScanOptions { platforms: ['Android', 'iOS'], }) @Injectable() -export class BLE extends IonicNativePlugin { +export class BLE extends AwesomeCordovaNativePlugin { /** * Scan and discover BLE peripherals for the specified amount of time. * diff --git a/src/@awesome-cordova-plugins/plugins/blinkid/index.ts b/src/@awesome-cordova-plugins/plugins/blinkid/index.ts index 433ac1392..1273bff44 100644 --- a/src/@awesome-cordova-plugins/plugins/blinkid/index.ts +++ b/src/@awesome-cordova-plugins/plugins/blinkid/index.ts @@ -1,4 +1,4 @@ -import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, CordovaProperty, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Injectable } from '@angular/core'; export interface Licenses { @@ -2765,7 +2765,7 @@ export interface BlinkIdRecognizerResultCtor extends RecognizerResultCtor} Returns a promise with result diff --git a/src/@awesome-cordova-plugins/plugins/call-number/index.ts b/src/@awesome-cordova-plugins/plugins/call-number/index.ts index 86c2a0f48..e02a31183 100644 --- a/src/@awesome-cordova-plugins/plugins/call-number/index.ts +++ b/src/@awesome-cordova-plugins/plugins/call-number/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Call Number @@ -30,7 +30,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class CallNumber extends IonicNativePlugin { +export class CallNumber extends AwesomeCordovaNativePlugin { /** * Calls a phone number * @param {string} numberToCall The phone number to call as a string diff --git a/src/@awesome-cordova-plugins/plugins/camera-preview/index.ts b/src/@awesome-cordova-plugins/plugins/camera-preview/index.ts index 8f82f6770..f0eb67937 100644 --- a/src/@awesome-cordova-plugins/plugins/camera-preview/index.ts +++ b/src/@awesome-cordova-plugins/plugins/camera-preview/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface CameraPreviewDimensions { /** The width of the camera preview, default to window.screen.width */ @@ -146,7 +146,7 @@ export interface CameraPreviewPictureOptions { platforms: ['Android', 'iOS'], }) @Injectable() -export class CameraPreview extends IonicNativePlugin { +export class CameraPreview extends AwesomeCordovaNativePlugin { FOCUS_MODE = { FIXED: 'fixed', AUTO: 'auto', diff --git a/src/@awesome-cordova-plugins/plugins/camera/index.ts b/src/@awesome-cordova-plugins/plugins/camera/index.ts index d8991fa34..385ded3f6 100644 --- a/src/@awesome-cordova-plugins/plugins/camera/index.ts +++ b/src/@awesome-cordova-plugins/plugins/camera/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface CameraOptions { /** Picture quality in range 0-100. Default is 50 */ @@ -173,7 +173,7 @@ export enum Direction { platforms: ['Android', 'Browser', 'iOS', 'Windows'], }) @Injectable() -export class Camera extends IonicNativePlugin { +export class Camera extends AwesomeCordovaNativePlugin { /** * Constant for possible destination types */ diff --git a/src/@awesome-cordova-plugins/plugins/checkout/index.ts b/src/@awesome-cordova-plugins/plugins/checkout/index.ts index 8b9e66eb1..a18b6d8cb 100644 --- a/src/@awesome-cordova-plugins/plugins/checkout/index.ts +++ b/src/@awesome-cordova-plugins/plugins/checkout/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; export interface CkoCardTokenRequest { /** @@ -188,7 +188,7 @@ export interface Phone { platforms: ['Android', 'iOS'], }) @Injectable() -export class Checkout extends IonicNativePlugin { +export class Checkout extends AwesomeCordovaNativePlugin { /** * Initialize Frames plugin in Sandbox mode * @param publicKey {string} Merchant's sandbox public key diff --git a/src/@awesome-cordova-plugins/plugins/chooser/index.ts b/src/@awesome-cordova-plugins/plugins/chooser/index.ts index f838cf2f1..5bbad48d5 100644 --- a/src/@awesome-cordova-plugins/plugins/chooser/index.ts +++ b/src/@awesome-cordova-plugins/plugins/chooser/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface ChooserResult { data?: Uint8Array; @@ -53,7 +53,7 @@ export interface ChooserResult { platforms: ['Android', 'iOS'], }) @Injectable() -export class Chooser extends IonicNativePlugin { +export class Chooser extends AwesomeCordovaNativePlugin { /** * Displays native prompt for user to select a file. * @param {string} [accept] Optional MIME type filter (e.g. 'image/gif,video/*'). diff --git a/src/@awesome-cordova-plugins/plugins/clevertap/index.ts b/src/@awesome-cordova-plugins/plugins/clevertap/index.ts index 2e5bf3eb6..d9e101e30 100644 --- a/src/@awesome-cordova-plugins/plugins/clevertap/index.ts +++ b/src/@awesome-cordova-plugins/plugins/clevertap/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; declare var clevertap: any; @@ -24,7 +24,7 @@ declare var clevertap: any; platforms: ['Android', 'iOS'], }) @Injectable() -export class CleverTap extends IonicNativePlugin { +export class CleverTap extends AwesomeCordovaNativePlugin { /** * notify device ready * NOTE: in iOS use to be notified of launch Push Notification or Deep Link diff --git a/src/@awesome-cordova-plugins/plugins/clipboard/index.ts b/src/@awesome-cordova-plugins/plugins/clipboard/index.ts index 8d11cde9b..0d66b2ea0 100644 --- a/src/@awesome-cordova-plugins/plugins/clipboard/index.ts +++ b/src/@awesome-cordova-plugins/plugins/clipboard/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Clipboard * @premier clipboard @@ -38,7 +38,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS', 'Windows Phone 8'], }) @Injectable() -export class Clipboard extends IonicNativePlugin { +export class Clipboard extends AwesomeCordovaNativePlugin { /** * Copies the given text * @param {string} text Text that gets copied on the system clipboard diff --git a/src/@awesome-cordova-plugins/plugins/cloud-settings/index.ts b/src/@awesome-cordova-plugins/plugins/cloud-settings/index.ts index fc7027b78..f621565f6 100644 --- a/src/@awesome-cordova-plugins/plugins/cloud-settings/index.ts +++ b/src/@awesome-cordova-plugins/plugins/cloud-settings/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Cloud Settings @@ -38,7 +38,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class CloudSettings extends IonicNativePlugin { +export class CloudSettings extends AwesomeCordovaNativePlugin { /** * Indicates if any stored cloud settings currently exist for the current user. * @return {Promise} Will be passed a boolean flag which indicates whether an store settings exist for the user. diff --git a/src/@awesome-cordova-plugins/plugins/code-push/index.ts b/src/@awesome-cordova-plugins/plugins/code-push/index.ts index 3b2c027df..765770f51 100644 --- a/src/@awesome-cordova-plugins/plugins/code-push/index.ts +++ b/src/@awesome-cordova-plugins/plugins/code-push/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; namespace Http { @@ -467,7 +467,7 @@ export interface DownloadProgress { platforms: ['Android', 'iOS'], }) @Injectable() -export class CodePush extends IonicNativePlugin { +export class CodePush extends AwesomeCordovaNativePlugin { /** * Get the current package information. * diff --git a/src/@awesome-cordova-plugins/plugins/custom-uisdk/index.ts b/src/@awesome-cordova-plugins/plugins/custom-uisdk/index.ts index 7275b1b7b..03cc1e2a0 100755 --- a/src/@awesome-cordova-plugins/plugins/custom-uisdk/index.ts +++ b/src/@awesome-cordova-plugins/plugins/custom-uisdk/index.ts @@ -5,7 +5,7 @@ import { CordovaProperty, CordovaInstance, InstanceProperty, - IonicNativePlugin, + AwesomeCordovaNativePlugin, } from '@awesome-cordova-plugins/core'; /** @@ -35,7 +35,7 @@ import { platforms: ['Android, iOS'], }) @Injectable() -export class CustomUISDK extends IonicNativePlugin { +export class CustomUISDK extends AwesomeCordovaNativePlugin { /** * This function show dialog to ask user permision to fetch authcode * @param clientId {string} unique id give to each merchant diff --git a/src/@awesome-cordova-plugins/plugins/deeplinks/index.ts b/src/@awesome-cordova-plugins/plugins/deeplinks/index.ts index 86128515e..c280cb3dd 100644 --- a/src/@awesome-cordova-plugins/plugins/deeplinks/index.ts +++ b/src/@awesome-cordova-plugins/plugins/deeplinks/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export interface DeeplinkMatch { @@ -93,7 +93,7 @@ export interface DeeplinkOptions { platforms: ['Android', 'Browser', 'iOS'], }) @Injectable() -export class Deeplinks extends IonicNativePlugin { +export class Deeplinks extends AwesomeCordovaNativePlugin { /** * Define a set of paths to match against incoming deeplinks. * diff --git a/src/@awesome-cordova-plugins/plugins/device-accounts/index.ts b/src/@awesome-cordova-plugins/plugins/device-accounts/index.ts index d914f26fb..1312779dd 100644 --- a/src/@awesome-cordova-plugins/plugins/device-accounts/index.ts +++ b/src/@awesome-cordova-plugins/plugins/device-accounts/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface AndroidAccount { /** Account creator */ @@ -41,7 +41,7 @@ export interface AndroidAccount { platforms: ['Android'], }) @Injectable() -export class DeviceAccounts extends IonicNativePlugin { +export class DeviceAccounts extends AwesomeCordovaNativePlugin { /** * Gets all accounts registered on the Android Device * @returns {Promise} diff --git a/src/@awesome-cordova-plugins/plugins/device-motion/index.ts b/src/@awesome-cordova-plugins/plugins/device-motion/index.ts index 6028e7156..15bc36c86 100644 --- a/src/@awesome-cordova-plugins/plugins/device-motion/index.ts +++ b/src/@awesome-cordova-plugins/plugins/device-motion/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export interface DeviceMotionAccelerationData { @@ -81,7 +81,7 @@ export interface DeviceMotionAccelerometerOptions { ], }) @Injectable() -export class DeviceMotion extends IonicNativePlugin { +export class DeviceMotion extends AwesomeCordovaNativePlugin { /** * Get the current acceleration along the x, y, and z axes. * @returns {Promise} Returns object with x, y, z, and timestamp properties diff --git a/src/@awesome-cordova-plugins/plugins/device-orientation/index.ts b/src/@awesome-cordova-plugins/plugins/device-orientation/index.ts index df3370835..0669b8542 100644 --- a/src/@awesome-cordova-plugins/plugins/device-orientation/index.ts +++ b/src/@awesome-cordova-plugins/plugins/device-orientation/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export interface DeviceOrientationCompassHeading { @@ -87,7 +87,7 @@ export interface DeviceOrientationCompassOptions { ], }) @Injectable() -export class DeviceOrientation extends IonicNativePlugin { +export class DeviceOrientation extends AwesomeCordovaNativePlugin { /** * Get the current compass heading. * @returns {Promise} diff --git a/src/@awesome-cordova-plugins/plugins/device/index.ts b/src/@awesome-cordova-plugins/plugins/device/index.ts index 02b51a1ee..974d7ee01 100644 --- a/src/@awesome-cordova-plugins/plugins/device/index.ts +++ b/src/@awesome-cordova-plugins/plugins/device/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { CordovaProperty, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; declare const window: any; @@ -28,7 +28,7 @@ declare const window: any; platforms: ['Android', 'Browser', 'iOS', 'macOS', 'Windows'], }) @Injectable() -export class Device extends IonicNativePlugin { +export class Device extends AwesomeCordovaNativePlugin { /** Get the version of Cordova running on the device. */ @CordovaProperty() cordova: string; diff --git a/src/@awesome-cordova-plugins/plugins/dfu-update/index.ts b/src/@awesome-cordova-plugins/plugins/dfu-update/index.ts index fd4352b65..aace83d7f 100644 --- a/src/@awesome-cordova-plugins/plugins/dfu-update/index.ts +++ b/src/@awesome-cordova-plugins/plugins/dfu-update/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export interface UpdateOptions { @@ -50,7 +50,7 @@ export interface UpdateOptions { platforms: ['Android', 'iOS'], }) @Injectable() -export class DfuUpdate extends IonicNativePlugin { +export class DfuUpdate extends AwesomeCordovaNativePlugin { /** * Start the Firmware-Update-Process * @param options - Options for the process diff --git a/src/@awesome-cordova-plugins/plugins/diagnostic/index.ts b/src/@awesome-cordova-plugins/plugins/diagnostic/index.ts index 0d7108006..832976667 100644 --- a/src/@awesome-cordova-plugins/plugins/diagnostic/index.ts +++ b/src/@awesome-cordova-plugins/plugins/diagnostic/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, CordovaProperty, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Diagnostic @@ -42,7 +42,7 @@ import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-co platforms: ['Android', 'iOS', 'Windows'], }) @Injectable() -export class Diagnostic extends IonicNativePlugin { +export class Diagnostic extends AwesomeCordovaNativePlugin { permission = { READ_CALENDAR: 'READ_CALENDAR', WRITE_CALENDAR: 'WRITE_CALENDAR', diff --git a/src/@awesome-cordova-plugins/plugins/dialogs/index.ts b/src/@awesome-cordova-plugins/plugins/dialogs/index.ts index 53b9f3a61..469234caf 100644 --- a/src/@awesome-cordova-plugins/plugins/dialogs/index.ts +++ b/src/@awesome-cordova-plugins/plugins/dialogs/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface DialogsPromptCallback { /** @@ -46,7 +46,7 @@ export interface DialogsPromptCallback { platforms: ['Amazon Fire OS', 'Android', 'Browser', 'iOS', 'Windows'], }) @Injectable() -export class Dialogs extends IonicNativePlugin { +export class Dialogs extends AwesomeCordovaNativePlugin { /** * Shows a custom alert or dialog box. * @param {string} message Dialog message. diff --git a/src/@awesome-cordova-plugins/plugins/dns/index.ts b/src/@awesome-cordova-plugins/plugins/dns/index.ts index 7acf8ad1d..d0a5c3d38 100644 --- a/src/@awesome-cordova-plugins/plugins/dns/index.ts +++ b/src/@awesome-cordova-plugins/plugins/dns/index.ts @@ -1,4 +1,4 @@ -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Injectable } from '@angular/core'; /** @@ -29,7 +29,7 @@ import { Injectable } from '@angular/core'; platforms: ['Android'], }) @Injectable() -export class DNS extends IonicNativePlugin { +export class DNS extends AwesomeCordovaNativePlugin { /** * Resolve hostnames into an underlying network address. * @param hostname diff --git a/src/@awesome-cordova-plugins/plugins/document-picker/index.ts b/src/@awesome-cordova-plugins/plugins/document-picker/index.ts index 9447d64ff..5a447d44c 100644 --- a/src/@awesome-cordova-plugins/plugins/document-picker/index.ts +++ b/src/@awesome-cordova-plugins/plugins/document-picker/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name iOS DocumentPicker @@ -30,7 +30,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['iOS'], }) @Injectable() -export class DocumentPicker extends IonicNativePlugin { +export class DocumentPicker extends AwesomeCordovaNativePlugin { /** * Open a file * @param {string} [option] files between 'image', 'pdf' or 'all' diff --git a/src/@awesome-cordova-plugins/plugins/document-scanner/index.ts b/src/@awesome-cordova-plugins/plugins/document-scanner/index.ts index 0761fdca3..2d4201373 100644 --- a/src/@awesome-cordova-plugins/plugins/document-scanner/index.ts +++ b/src/@awesome-cordova-plugins/plugins/document-scanner/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export enum DocumentScannerSourceType { /** @@ -78,7 +78,7 @@ export interface DocumentScannerOptions { platforms: ['Android', 'iOS'], }) @Injectable() -export class DocumentScanner extends IonicNativePlugin { +export class DocumentScanner extends AwesomeCordovaNativePlugin { /** * Scan a document * @param opts {DocumentScannerOptions} optional parameter for controlling scanning diff --git a/src/@awesome-cordova-plugins/plugins/document-viewer/index.ts b/src/@awesome-cordova-plugins/plugins/document-viewer/index.ts index 45ebcd15d..f28c36631 100644 --- a/src/@awesome-cordova-plugins/plugins/document-viewer/index.ts +++ b/src/@awesome-cordova-plugins/plugins/document-viewer/index.ts @@ -1,4 +1,4 @@ -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Injectable } from '@angular/core'; export interface DocumentViewerOptions { @@ -61,7 +61,7 @@ export interface DocumentViewerOptions { platforms: ['Android', 'iOS', 'Windows'], }) @Injectable() -export class DocumentViewer extends IonicNativePlugin { +export class DocumentViewer extends AwesomeCordovaNativePlugin { /** * Displays the email composer pre-filled with data. * diff --git a/src/@awesome-cordova-plugins/plugins/email-composer/index.ts b/src/@awesome-cordova-plugins/plugins/email-composer/index.ts index 2282123cf..cb9893ce8 100644 --- a/src/@awesome-cordova-plugins/plugins/email-composer/index.ts +++ b/src/@awesome-cordova-plugins/plugins/email-composer/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, CordovaCheck, IonicNativePlugin, Plugin, getPromise } from '@awesome-cordova-plugins/core'; +import { Cordova, CordovaCheck, AwesomeCordovaNativePlugin, Plugin, getPromise } from '@awesome-cordova-plugins/core'; export interface EmailComposerOptions { /** @@ -130,7 +130,7 @@ export interface EmailComposerOptions { platforms: ['Amazon Fire OS', 'Android', 'Browser', 'iOS', 'Windows', 'macOS'], }) @Injectable() -export class EmailComposer extends IonicNativePlugin { +export class EmailComposer extends AwesomeCordovaNativePlugin { /** * Checks if the app has a permission to access email accounts information * @return {Promise} returns a promise that resolves with a boolean that indicates if the permission was granted diff --git a/src/@awesome-cordova-plugins/plugins/fabric/index.ts b/src/@awesome-cordova-plugins/plugins/fabric/index.ts index bc26144cb..2eefb85e7 100644 --- a/src/@awesome-cordova-plugins/plugins/fabric/index.ts +++ b/src/@awesome-cordova-plugins/plugins/fabric/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface Attributes { [index: string]: String; @@ -41,7 +41,7 @@ export interface Attributes { platforms: ['Android', 'iOS'], }) @Injectable() -export class Crashlytics extends IonicNativePlugin { +export class Crashlytics extends AwesomeCordovaNativePlugin { /** * Add logging that will be sent with your crash data. This logging will not show up * in the system.log and will only be visible in your Crashlytics dashboard. @@ -164,7 +164,7 @@ export class Crashlytics extends IonicNativePlugin { platforms: ['Android', 'iOS'], }) @Injectable() -export class Answers extends IonicNativePlugin { +export class Answers extends AwesomeCordovaNativePlugin { /** * Sends the Purchase tracking event. * diff --git a/src/@awesome-cordova-plugins/plugins/facebook/index.ts b/src/@awesome-cordova-plugins/plugins/facebook/index.ts index 275a32e1e..06d723d0d 100644 --- a/src/@awesome-cordova-plugins/plugins/facebook/index.ts +++ b/src/@awesome-cordova-plugins/plugins/facebook/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface FacebookLoginResponse { status: string; @@ -112,7 +112,7 @@ export interface FacebookLoginResponse { platforms: ['Android', 'iOS', 'Browser'], }) @Injectable() -export class Facebook extends IonicNativePlugin { +export class Facebook extends AwesomeCordovaNativePlugin { EVENTS = { EVENT_NAME_ACTIVATED_APP: 'fb_mobile_activate_app', EVENT_NAME_DEACTIVATED_APP: 'fb_mobile_deactivate_app', diff --git a/src/@awesome-cordova-plugins/plugins/fcm/index.ts b/src/@awesome-cordova-plugins/plugins/fcm/index.ts index ef36a976c..001abe01e 100644 --- a/src/@awesome-cordova-plugins/plugins/fcm/index.ts +++ b/src/@awesome-cordova-plugins/plugins/fcm/index.ts @@ -1,4 +1,4 @@ -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Injectable } from '@angular/core'; import { Observable } from 'rxjs'; @@ -126,7 +126,7 @@ export interface IChannelConfiguration { platforms: ['Android', 'iOS'], }) @Injectable() -export class FCM extends IonicNativePlugin { +export class FCM extends AwesomeCordovaNativePlugin { /** * Gets ios device's current APNS token * diff --git a/src/@awesome-cordova-plugins/plugins/file-opener/index.ts b/src/@awesome-cordova-plugins/plugins/file-opener/index.ts index 3711b55a0..432d8b230 100644 --- a/src/@awesome-cordova-plugins/plugins/file-opener/index.ts +++ b/src/@awesome-cordova-plugins/plugins/file-opener/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name File Opener @@ -32,7 +32,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS', 'Windows', 'Windows Phone 8'], }) @Injectable() -export class FileOpener extends IonicNativePlugin { +export class FileOpener extends AwesomeCordovaNativePlugin { /** * Open an file * @param {string} filePath File Path diff --git a/src/@awesome-cordova-plugins/plugins/file-path/index.ts b/src/@awesome-cordova-plugins/plugins/file-path/index.ts index a5a064944..c40e8935c 100644 --- a/src/@awesome-cordova-plugins/plugins/file-path/index.ts +++ b/src/@awesome-cordova-plugins/plugins/file-path/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; declare const window: any; @@ -32,7 +32,7 @@ declare const window: any; platforms: ['Android'], }) @Injectable() -export class FilePath extends IonicNativePlugin { +export class FilePath extends AwesomeCordovaNativePlugin { /** * Resolve native path for given content URL/path. * @param {string} path Content URL/path. diff --git a/src/@awesome-cordova-plugins/plugins/file-transfer/index.ts b/src/@awesome-cordova-plugins/plugins/file-transfer/index.ts index 42b41bc6a..364bb8ecb 100644 --- a/src/@awesome-cordova-plugins/plugins/file-transfer/index.ts +++ b/src/@awesome-cordova-plugins/plugins/file-transfer/index.ts @@ -2,7 +2,7 @@ import { Injectable } from '@angular/core'; import { CordovaInstance, InstanceCheck, - IonicNativePlugin, + AwesomeCordovaNativePlugin, Plugin, checkAvailability, } from '@awesome-cordova-plugins/core'; @@ -178,7 +178,7 @@ export interface FileTransferError { platforms: ['Amazon Fire OS', 'Android', 'Browser', 'iOS', 'Ubuntu', 'Windows', 'Windows Phone'], }) @Injectable() -export class FileTransfer extends IonicNativePlugin { +export class FileTransfer extends AwesomeCordovaNativePlugin { /** * Error code rejected from upload with FileTransferError * Defined in FileTransferError. diff --git a/src/@awesome-cordova-plugins/plugins/file/index.ts b/src/@awesome-cordova-plugins/plugins/file/index.ts index 05d0b5f2b..58383e04b 100644 --- a/src/@awesome-cordova-plugins/plugins/file/index.ts +++ b/src/@awesome-cordova-plugins/plugins/file/index.ts @@ -1,5 +1,11 @@ import { Injectable } from '@angular/core'; -import { CordovaCheck, CordovaProperty, IonicNativePlugin, Plugin, getPromise } from '@awesome-cordova-plugins/core'; +import { + CordovaCheck, + CordovaProperty, + AwesomeCordovaNativePlugin, + Plugin, + getPromise, +} from '@awesome-cordova-plugins/core'; export interface IFile extends Blob { /** @@ -675,7 +681,7 @@ declare const window: Window; platforms: ['Android', 'Browser', 'iOS', 'macOS', 'Windows'], }) @Injectable() -export class File extends IonicNativePlugin { +export class File extends AwesomeCordovaNativePlugin { /** * Read-only directory where the application is installed. */ diff --git a/src/@awesome-cordova-plugins/plugins/fingerprint-aio/index.ts b/src/@awesome-cordova-plugins/plugins/fingerprint-aio/index.ts index 278963e44..18b0b5fdc 100644 --- a/src/@awesome-cordova-plugins/plugins/fingerprint-aio/index.ts +++ b/src/@awesome-cordova-plugins/plugins/fingerprint-aio/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface FingerprintOptions { /** @@ -114,7 +114,7 @@ export interface FingerprintSecretOptions extends FingerprintOptions { platforms: ['Android', 'iOS'], }) @Injectable() -export class FingerprintAIO extends IonicNativePlugin { +export class FingerprintAIO extends AwesomeCordovaNativePlugin { /** * Convenience constant * @type {number} diff --git a/src/@awesome-cordova-plugins/plugins/firebase-analytics/index.ts b/src/@awesome-cordova-plugins/plugins/firebase-analytics/index.ts index d396d2d79..1fc65a255 100644 --- a/src/@awesome-cordova-plugins/plugins/firebase-analytics/index.ts +++ b/src/@awesome-cordova-plugins/plugins/firebase-analytics/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @beta @@ -50,7 +50,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class FirebaseAnalytics extends IonicNativePlugin { +export class FirebaseAnalytics extends AwesomeCordovaNativePlugin { /** * Logs an app event. * Be aware of automatically collected events. diff --git a/src/@awesome-cordova-plugins/plugins/firebase-authentication/index.ts b/src/@awesome-cordova-plugins/plugins/firebase-authentication/index.ts index 2c89e7bfb..dd308b419 100644 --- a/src/@awesome-cordova-plugins/plugins/firebase-authentication/index.ts +++ b/src/@awesome-cordova-plugins/plugins/firebase-authentication/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; /** @@ -33,7 +33,7 @@ import { Observable } from 'rxjs'; platforms: ['Android', 'iOS'], }) @Injectable() -export class FirebaseAuthentication extends IonicNativePlugin { +export class FirebaseAuthentication extends AwesomeCordovaNativePlugin { /** * Returns the current user logged in Firebase service * @return {Promise} Returns the user info diff --git a/src/@awesome-cordova-plugins/plugins/firebase-config/index.ts b/src/@awesome-cordova-plugins/plugins/firebase-config/index.ts index 98e71d379..3c769a65b 100644 --- a/src/@awesome-cordova-plugins/plugins/firebase-config/index.ts +++ b/src/@awesome-cordova-plugins/plugins/firebase-config/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @beta @@ -31,7 +31,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class FirebaseConfig extends IonicNativePlugin { +export class FirebaseConfig extends AwesomeCordovaNativePlugin { /** * Starts fetching configs, adhering to the specified minimum fetch interval. * diff --git a/src/@awesome-cordova-plugins/plugins/firebase-crash/index.ts b/src/@awesome-cordova-plugins/plugins/firebase-crash/index.ts index 5b3c0ce18..5c62f6121 100644 --- a/src/@awesome-cordova-plugins/plugins/firebase-crash/index.ts +++ b/src/@awesome-cordova-plugins/plugins/firebase-crash/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name FirebaseCrash @@ -28,7 +28,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class FirebaseCrash extends IonicNativePlugin { +export class FirebaseCrash extends AwesomeCordovaNativePlugin { /** * Add logging that will be sent with your crash data in case of app crash. * https://firebase.google.com/docs/crashlytics/customize-crash-reports?authuser=0#add_custom_logs diff --git a/src/@awesome-cordova-plugins/plugins/firebase-crashlytics/index.ts b/src/@awesome-cordova-plugins/plugins/firebase-crashlytics/index.ts index d3678d45d..c67a5c946 100644 --- a/src/@awesome-cordova-plugins/plugins/firebase-crashlytics/index.ts +++ b/src/@awesome-cordova-plugins/plugins/firebase-crashlytics/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Firebase Crashlytics @@ -32,7 +32,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class FirebaseCrashlytics extends IonicNativePlugin { +export class FirebaseCrashlytics extends AwesomeCordovaNativePlugin { /** * Simply add the plugin to get the default Crashlytics functionality. Note that crashes and logged exceptions will only be reported when the application restarts. In order to log caught exceptions the following can be used: * diff --git a/src/@awesome-cordova-plugins/plugins/firebase-dynamic-links/index.ts b/src/@awesome-cordova-plugins/plugins/firebase-dynamic-links/index.ts index 301c0f99f..dc3f94d4c 100644 --- a/src/@awesome-cordova-plugins/plugins/firebase-dynamic-links/index.ts +++ b/src/@awesome-cordova-plugins/plugins/firebase-dynamic-links/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export interface IDynamicLink { @@ -96,7 +96,7 @@ export interface ILinkOptions { platforms: ['Android', 'iOS'], }) @Injectable() -export class FirebaseDynamicLinks extends IonicNativePlugin { +export class FirebaseDynamicLinks extends AwesomeCordovaNativePlugin { /** * Determines if the app has a pending dynamic link and provides access to the dynamic link parameters. * @return {Promise} Returns a promise diff --git a/src/@awesome-cordova-plugins/plugins/firebase-messaging/index.ts b/src/@awesome-cordova-plugins/plugins/firebase-messaging/index.ts index 234697f21..1c1b1dd7e 100644 --- a/src/@awesome-cordova-plugins/plugins/firebase-messaging/index.ts +++ b/src/@awesome-cordova-plugins/plugins/firebase-messaging/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export interface IFirebaseGCMMessage { @@ -69,7 +69,7 @@ export type FirebaseMessagingTokenType = 'apns-buffer' | 'apns-string'; platforms: ['Android', 'iOS'], }) @Injectable() -export class FirebaseMessaging extends IonicNativePlugin { +export class FirebaseMessaging extends AwesomeCordovaNativePlugin { /** * Called when a push message received while app is in foreground. * diff --git a/src/@awesome-cordova-plugins/plugins/firebase-vision/index.ts b/src/@awesome-cordova-plugins/plugins/firebase-vision/index.ts index 811633594..8a10f5e18 100644 --- a/src/@awesome-cordova-plugins/plugins/firebase-vision/index.ts +++ b/src/@awesome-cordova-plugins/plugins/firebase-vision/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; export interface Text { text: string; @@ -258,7 +258,7 @@ export interface ImageLabel { platforms: ['Android', 'iOS'], }) @Injectable() -export class FirebaseVision extends IonicNativePlugin { +export class FirebaseVision extends AwesomeCordovaNativePlugin { /** * Recognize text in image * @param file_uri {string} Image URI diff --git a/src/@awesome-cordova-plugins/plugins/firebase-x/index.ts b/src/@awesome-cordova-plugins/plugins/firebase-x/index.ts index b27751f72..3a6dab9df 100644 --- a/src/@awesome-cordova-plugins/plugins/firebase-x/index.ts +++ b/src/@awesome-cordova-plugins/plugins/firebase-x/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export interface IChannelOptions { @@ -151,7 +151,7 @@ export interface FirebaseUser { platforms: ['Android', 'iOS'], }) @Injectable() -export class FirebaseX extends IonicNativePlugin { +export class FirebaseX extends AwesomeCordovaNativePlugin { /** * Get the current FCM token. * @return {Promise} Note that token will be null if it has not been established yet diff --git a/src/@awesome-cordova-plugins/plugins/firebase/index.ts b/src/@awesome-cordova-plugins/plugins/firebase/index.ts index 630aaf3f7..c5f392825 100644 --- a/src/@awesome-cordova-plugins/plugins/firebase/index.ts +++ b/src/@awesome-cordova-plugins/plugins/firebase/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; /** @@ -36,7 +36,7 @@ import { Observable } from 'rxjs'; platforms: ['Android', 'iOS'], }) @Injectable() -export class Firebase extends IonicNativePlugin { +export class Firebase extends AwesomeCordovaNativePlugin { /** * Get the device token * @return {Promise} Note that token will be null if it has not been established yet diff --git a/src/@awesome-cordova-plugins/plugins/flashlight/index.ts b/src/@awesome-cordova-plugins/plugins/flashlight/index.ts index f9826930f..baef0714e 100644 --- a/src/@awesome-cordova-plugins/plugins/flashlight/index.ts +++ b/src/@awesome-cordova-plugins/plugins/flashlight/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Flashlight @@ -27,7 +27,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS', 'Windows Phone 8'], }) @Injectable() -export class Flashlight extends IonicNativePlugin { +export class Flashlight extends AwesomeCordovaNativePlugin { /** * Checks if the flashlight is available * @returns {Promise} Returns a promise that resolves with a boolean stating if the flashlight is available. diff --git a/src/@awesome-cordova-plugins/plugins/foreground-service/index.ts b/src/@awesome-cordova-plugins/plugins/foreground-service/index.ts index 58e728e9c..6f9e2a301 100644 --- a/src/@awesome-cordova-plugins/plugins/foreground-service/index.ts +++ b/src/@awesome-cordova-plugins/plugins/foreground-service/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Foreground Service @@ -47,7 +47,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android'], }) @Injectable() -export class ForegroundService extends IonicNativePlugin { +export class ForegroundService extends AwesomeCordovaNativePlugin { /** * Enables the foreground service * diff --git a/src/@awesome-cordova-plugins/plugins/ftp/index.ts b/src/@awesome-cordova-plugins/plugins/ftp/index.ts index 7d2c8810a..91c272f3d 100644 --- a/src/@awesome-cordova-plugins/plugins/ftp/index.ts +++ b/src/@awesome-cordova-plugins/plugins/ftp/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; /** @@ -31,7 +31,7 @@ import { Observable } from 'rxjs'; platforms: ['Android', 'iOS'], }) @Injectable() -export class FTP extends IonicNativePlugin { +export class FTP extends AwesomeCordovaNativePlugin { /** * Connect to one ftp server. * diff --git a/src/@awesome-cordova-plugins/plugins/gao-de-location/index.ts b/src/@awesome-cordova-plugins/plugins/gao-de-location/index.ts index d49b54bad..f60a6f2c1 100644 --- a/src/@awesome-cordova-plugins/plugins/gao-de-location/index.ts +++ b/src/@awesome-cordova-plugins/plugins/gao-de-location/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; /** @@ -65,7 +65,7 @@ import { Observable } from 'rxjs'; platforms: ['Android', 'iOS'], }) @Injectable() -export class GaoDeLocation extends IonicNativePlugin { +export class GaoDeLocation extends AwesomeCordovaNativePlugin { /** * Single location * @param positionOptions diff --git a/src/@awesome-cordova-plugins/plugins/ge-tui-sdk-plugin/index.ts b/src/@awesome-cordova-plugins/plugins/ge-tui-sdk-plugin/index.ts index da5b0a147..58df3743e 100644 --- a/src/@awesome-cordova-plugins/plugins/ge-tui-sdk-plugin/index.ts +++ b/src/@awesome-cordova-plugins/plugins/ge-tui-sdk-plugin/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; /** * @name Ge Tui Sdk Plugin @@ -39,7 +39,7 @@ import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class GeTuiSdkPlugin extends IonicNativePlugin { +export class GeTuiSdkPlugin extends AwesomeCordovaNativePlugin { @Cordova() callback_init(callback: Function): Promise { return; diff --git a/src/@awesome-cordova-plugins/plugins/geolocation/index.ts b/src/@awesome-cordova-plugins/plugins/geolocation/index.ts index 72bfa06e1..2bd85aa79 100644 --- a/src/@awesome-cordova-plugins/plugins/geolocation/index.ts +++ b/src/@awesome-cordova-plugins/plugins/geolocation/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; declare const navigator: any; @@ -162,7 +162,7 @@ export interface GeolocationOptions { platforms: ['Amazon Fire OS', 'Android', 'Browser', 'iOS', 'Windows'], }) @Injectable() -export class Geolocation extends IonicNativePlugin { +export class Geolocation extends AwesomeCordovaNativePlugin { /** * Get the device's current position. * diff --git a/src/@awesome-cordova-plugins/plugins/globalization/index.ts b/src/@awesome-cordova-plugins/plugins/globalization/index.ts index 0647c0220..abe952829 100644 --- a/src/@awesome-cordova-plugins/plugins/globalization/index.ts +++ b/src/@awesome-cordova-plugins/plugins/globalization/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface GlobalizationOptions { formatLength: string; @@ -43,7 +43,7 @@ export interface GlobalizationOptions { platforms: ['Amazon Fire OS', 'Android', 'Browser', 'iOS', 'Windows'], }) @Injectable() -export class Globalization extends IonicNativePlugin { +export class Globalization extends AwesomeCordovaNativePlugin { /** * Returns the BCP-47 compliant language identifier tag to the successCallback with a properties object as a parameter. That object should have a value property with a String value. * @returns {Promise<{value: string}>} diff --git a/src/@awesome-cordova-plugins/plugins/google-analytics/index.ts b/src/@awesome-cordova-plugins/plugins/google-analytics/index.ts index 446e99532..abcf33e4c 100644 --- a/src/@awesome-cordova-plugins/plugins/google-analytics/index.ts +++ b/src/@awesome-cordova-plugins/plugins/google-analytics/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Google Analytics @@ -37,7 +37,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'Browser', 'iOS', 'Windows Phone 8'], }) @Injectable() -export class GoogleAnalytics extends IonicNativePlugin { +export class GoogleAnalytics extends AwesomeCordovaNativePlugin { /** * In your 'deviceready' handler, set up your Analytics tracker. * https://developers.google.com/analytics/devguides/collection/analyticsjs/ diff --git a/src/@awesome-cordova-plugins/plugins/google-nearby/index.ts b/src/@awesome-cordova-plugins/plugins/google-nearby/index.ts index fd11835c2..5b99a4f64 100644 --- a/src/@awesome-cordova-plugins/plugins/google-nearby/index.ts +++ b/src/@awesome-cordova-plugins/plugins/google-nearby/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; /** @@ -33,7 +33,7 @@ import { Observable } from 'rxjs'; platforms: ['Android'], }) @Injectable() -export class GoogleNearby extends IonicNativePlugin { +export class GoogleNearby extends AwesomeCordovaNativePlugin { /** * Publish a message * @param message {string} Message to publish diff --git a/src/@awesome-cordova-plugins/plugins/google-plus/index.ts b/src/@awesome-cordova-plugins/plugins/google-plus/index.ts index da50575be..6ecfe7189 100644 --- a/src/@awesome-cordova-plugins/plugins/google-plus/index.ts +++ b/src/@awesome-cordova-plugins/plugins/google-plus/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Google Plus @@ -28,7 +28,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class GooglePlus extends IonicNativePlugin { +export class GooglePlus extends AwesomeCordovaNativePlugin { /** * The login function walks the user through the Google Auth process. * @param options diff --git a/src/@awesome-cordova-plugins/plugins/header-color/index.ts b/src/@awesome-cordova-plugins/plugins/header-color/index.ts index 1335e41b0..1b1227e2d 100644 --- a/src/@awesome-cordova-plugins/plugins/header-color/index.ts +++ b/src/@awesome-cordova-plugins/plugins/header-color/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Header Color @@ -25,7 +25,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android'], }) @Injectable() -export class HeaderColor extends IonicNativePlugin { +export class HeaderColor extends AwesomeCordovaNativePlugin { /** * Set a color to the task header * @param color {string} The hex value of the color diff --git a/src/@awesome-cordova-plugins/plugins/health-kit/index.ts b/src/@awesome-cordova-plugins/plugins/health-kit/index.ts index 67559be19..f196cb921 100644 --- a/src/@awesome-cordova-plugins/plugins/health-kit/index.ts +++ b/src/@awesome-cordova-plugins/plugins/health-kit/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface HealthKitOptions { /** @@ -106,7 +106,7 @@ export interface HealthKitOptions { platforms: ['iOS'], }) @Injectable() -export class HealthKit extends IonicNativePlugin { +export class HealthKit extends AwesomeCordovaNativePlugin { /** * Check if HealthKit is supported (iOS8+, not on iPad) * @returns {Promise} diff --git a/src/@awesome-cordova-plugins/plugins/health/index.ts b/src/@awesome-cordova-plugins/plugins/health/index.ts index 04b535f5b..cc03a6d7d 100644 --- a/src/@awesome-cordova-plugins/plugins/health/index.ts +++ b/src/@awesome-cordova-plugins/plugins/health/index.ts @@ -1,4 +1,4 @@ -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Injectable } from '@angular/core'; /** @@ -206,7 +206,7 @@ export interface HealthData { platforms: ['Android', 'iOS'], }) @Injectable() -export class Health extends IonicNativePlugin { +export class Health extends AwesomeCordovaNativePlugin { /** * Tells if either Google Fit or HealthKit are available. * diff --git a/src/@awesome-cordova-plugins/plugins/http/index.ts b/src/@awesome-cordova-plugins/plugins/http/index.ts index d4ad0ab85..29c390fe7 100644 --- a/src/@awesome-cordova-plugins/plugins/http/index.ts +++ b/src/@awesome-cordova-plugins/plugins/http/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, CordovaProperty, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface HTTPResponse { /** @@ -74,7 +74,7 @@ interface AbortedResponse { platforms: ['Android', 'iOS'], }) @Injectable() -export class HTTP extends IonicNativePlugin { +export class HTTP extends AwesomeCordovaNativePlugin { /** * This enum represents the internal error codes which can be returned in a HTTPResponse object. * @readonly diff --git a/src/@awesome-cordova-plugins/plugins/hyper-track/index.ts b/src/@awesome-cordova-plugins/plugins/hyper-track/index.ts index 8183f52db..92a740f98 100644 --- a/src/@awesome-cordova-plugins/plugins/hyper-track/index.ts +++ b/src/@awesome-cordova-plugins/plugins/hyper-track/index.ts @@ -5,7 +5,7 @@ import { CordovaProperty, CordovaInstance, InstanceProperty, - IonicNativePlugin, + AwesomeCordovaNativePlugin, } from '@awesome-cordova-plugins/core'; import { kMaxLength } from 'buffer'; import { resolve } from 'dns'; @@ -20,7 +20,7 @@ import { error } from 'console'; platforms: ['Android, iOS'], }) @Injectable() -export class HyperTrackPlugin extends IonicNativePlugin { +export class HyperTrackPlugin extends AwesomeCordovaNativePlugin { @Cordova() initialize(publishableKey: string): Promise { return; diff --git a/src/@awesome-cordova-plugins/plugins/iamport-cordova/index.ts b/src/@awesome-cordova-plugins/plugins/iamport-cordova/index.ts index a6ad8126b..cd83799c3 100644 --- a/src/@awesome-cordova-plugins/plugins/iamport-cordova/index.ts +++ b/src/@awesome-cordova-plugins/plugins/iamport-cordova/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; declare const cordova: Cordova & { plugins: any }; @@ -89,7 +89,7 @@ export interface CertificationData { platforms: ['ios', 'android'], }) @Injectable() -export class IamportCordova extends IonicNativePlugin { +export class IamportCordova extends AwesomeCordovaNativePlugin { /** * This function is to load a webview of a payment gateway to pay for something * @param paymentObject {PaymentObject} Payment data to set the payment webview diff --git a/src/@awesome-cordova-plugins/plugins/ibeacon/index.ts b/src/@awesome-cordova-plugins/plugins/ibeacon/index.ts index a24ab7696..d095aad9d 100644 --- a/src/@awesome-cordova-plugins/plugins/ibeacon/index.ts +++ b/src/@awesome-cordova-plugins/plugins/ibeacon/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, CordovaCheck, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, CordovaCheck, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; declare const cordova: any; @@ -284,7 +284,7 @@ export interface IBeaconDelegate { platforms: ['Android', 'iOS'], }) @Injectable() -export class IBeacon extends IonicNativePlugin { +export class IBeacon extends AwesomeCordovaNativePlugin { /** * Instances of this class are delegates between the {@link LocationManager} and * the code that consumes the messages generated on in the native layer. diff --git a/src/@awesome-cordova-plugins/plugins/image-picker/index.ts b/src/@awesome-cordova-plugins/plugins/image-picker/index.ts index 8ba4cc5eb..54ef9da98 100644 --- a/src/@awesome-cordova-plugins/plugins/image-picker/index.ts +++ b/src/@awesome-cordova-plugins/plugins/image-picker/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface ImagePickerOptions { /** @@ -94,7 +94,7 @@ export enum OutputType { platforms: ['Android', 'iOS'], }) @Injectable() -export class ImagePicker extends IonicNativePlugin { +export class ImagePicker extends AwesomeCordovaNativePlugin { /** * Pick pictures from the library. * @param {ImagePickerOptions} options diff --git a/src/@awesome-cordova-plugins/plugins/imap/index.ts b/src/@awesome-cordova-plugins/plugins/imap/index.ts index 5d5f2d1fc..a88dabd2d 100644 --- a/src/@awesome-cordova-plugins/plugins/imap/index.ts +++ b/src/@awesome-cordova-plugins/plugins/imap/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; export interface Config { /** @@ -348,7 +348,7 @@ export enum FlagEnum { platforms: ['Android'], }) @Injectable() -export class Imap extends IonicNativePlugin { +export class Imap extends AwesomeCordovaNativePlugin { /** * This function "connect(clientData: Config)" tries to connect and authenticate with the IMAP server. * @param clientData {Config} Connection configuration diff --git a/src/@awesome-cordova-plugins/plugins/in-app-browser/index.ts b/src/@awesome-cordova-plugins/plugins/in-app-browser/index.ts index 91747eeec..115814084 100644 --- a/src/@awesome-cordova-plugins/plugins/in-app-browser/index.ts +++ b/src/@awesome-cordova-plugins/plugins/in-app-browser/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { CordovaInstance, InstanceCheck, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { CordovaInstance, InstanceCheck, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable, Observer } from 'rxjs'; declare const cordova: Cordova & { InAppBrowser: any }; @@ -290,7 +290,7 @@ export class InAppBrowserObject { platforms: ['AmazonFire OS', 'Android', 'Browser', 'iOS', 'macOS', 'Windows'], }) @Injectable() -export class InAppBrowser extends IonicNativePlugin { +export class InAppBrowser extends AwesomeCordovaNativePlugin { /** * Opens a URL in a new InAppBrowser instance, the current browser instance, or the system browser. * @param url {string} The URL to load. diff --git a/src/@awesome-cordova-plugins/plugins/in-app-purchase-2/index.ts b/src/@awesome-cordova-plugins/plugins/in-app-purchase-2/index.ts index fc414503b..3b946f28b 100644 --- a/src/@awesome-cordova-plugins/plugins/in-app-purchase-2/index.ts +++ b/src/@awesome-cordova-plugins/plugins/in-app-purchase-2/index.ts @@ -1,4 +1,4 @@ -import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, CordovaProperty, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Injectable } from '@angular/core'; export interface IAPProductOptions { @@ -571,7 +571,7 @@ export class IAPError { install: 'ionic cordova plugin add cordova-plugin-purchase --variable BILLING_KEY=""', }) @Injectable() -export class InAppPurchase2 extends IonicNativePlugin { +export class InAppPurchase2 extends AwesomeCordovaNativePlugin { @CordovaProperty() QUIET: number; diff --git a/src/@awesome-cordova-plugins/plugins/in-app-review/index.ts b/src/@awesome-cordova-plugins/plugins/in-app-review/index.ts index 925490947..5e700ff00 100644 --- a/src/@awesome-cordova-plugins/plugins/in-app-review/index.ts +++ b/src/@awesome-cordova-plugins/plugins/in-app-review/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /* tslint:disable */ /** * @name In App Review @@ -34,7 +34,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['iOS'], }) @Injectable() -export class InAppReview extends IonicNativePlugin { +export class InAppReview extends AwesomeCordovaNativePlugin { /** * Open the inApp review popup * @return {Promise} Returns a promise that resolves when something happens diff --git a/src/@awesome-cordova-plugins/plugins/in-app-update/index.ts b/src/@awesome-cordova-plugins/plugins/in-app-update/index.ts index e057c3d2d..088396295 100644 --- a/src/@awesome-cordova-plugins/plugins/in-app-update/index.ts +++ b/src/@awesome-cordova-plugins/plugins/in-app-update/index.ts @@ -5,7 +5,7 @@ import { CordovaProperty, CordovaInstance, InstanceProperty, - IonicNativePlugin, + AwesomeCordovaNativePlugin, } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; @@ -57,7 +57,7 @@ class AppUpdateInfo { platforms: ['Android'], // Array of platforms supported, example: ['Android', 'iOS'] }) @Injectable() -export class InAppUpdate extends IonicNativePlugin { +export class InAppUpdate extends AwesomeCordovaNativePlugin { /** * If you want the user to be prompted about new version information before initiating the update, you can use `check` to retrive the new app version information. * @return {Promise} Returns a promise that resolves with new app version update details diff --git a/src/@awesome-cordova-plugins/plugins/insomnia/index.ts b/src/@awesome-cordova-plugins/plugins/insomnia/index.ts index 02ad10679..e5004391a 100644 --- a/src/@awesome-cordova-plugins/plugins/insomnia/index.ts +++ b/src/@awesome-cordova-plugins/plugins/insomnia/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Insomnia @@ -36,7 +36,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'Browser', 'Firefox OS', 'iOS', 'Windows', 'Windows Phone 8'], }) @Injectable() -export class Insomnia extends IonicNativePlugin { +export class Insomnia extends AwesomeCordovaNativePlugin { /** * Keeps awake the application * @returns {Promise} diff --git a/src/@awesome-cordova-plugins/plugins/instagram/index.ts b/src/@awesome-cordova-plugins/plugins/instagram/index.ts index 3215f2f1c..3524eaddf 100644 --- a/src/@awesome-cordova-plugins/plugins/instagram/index.ts +++ b/src/@awesome-cordova-plugins/plugins/instagram/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Instagram @@ -27,7 +27,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class Instagram extends IonicNativePlugin { +export class Instagram extends AwesomeCordovaNativePlugin { /** * Detect if the Instagram application is installed on the device. * diff --git a/src/@awesome-cordova-plugins/plugins/intercom/index.ts b/src/@awesome-cordova-plugins/plugins/intercom/index.ts index a148f6001..9ef354749 100644 --- a/src/@awesome-cordova-plugins/plugins/intercom/index.ts +++ b/src/@awesome-cordova-plugins/plugins/intercom/index.ts @@ -1,4 +1,4 @@ -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Injectable } from '@angular/core'; /** @@ -30,7 +30,7 @@ import { Injectable } from '@angular/core'; platforms: ['Android', 'iOS'], }) @Injectable() -export class Intercom extends IonicNativePlugin { +export class Intercom extends AwesomeCordovaNativePlugin { /** * Register a identified user * @param options {any} Options diff --git a/src/@awesome-cordova-plugins/plugins/ionic-webview/index.ts b/src/@awesome-cordova-plugins/plugins/ionic-webview/index.ts index 505bb0537..8f6894dcc 100644 --- a/src/@awesome-cordova-plugins/plugins/ionic-webview/index.ts +++ b/src/@awesome-cordova-plugins/plugins/ionic-webview/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { CordovaProperty, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Ionic Webview @@ -31,7 +31,7 @@ import { CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plu install: 'ionic cordova plugin add cordova-plugin-ionic-webview', }) @Injectable() -export class WebView extends IonicNativePlugin { +export class WebView extends AwesomeCordovaNativePlugin { /** * Convert a `file://` URL to a URL that is compatible with the local web server in the Web View plugin. */ diff --git a/src/@awesome-cordova-plugins/plugins/ios-aswebauthenticationsession-api/index.ts b/src/@awesome-cordova-plugins/plugins/ios-aswebauthenticationsession-api/index.ts index f23097032..9cc141a68 100644 --- a/src/@awesome-cordova-plugins/plugins/ios-aswebauthenticationsession-api/index.ts +++ b/src/@awesome-cordova-plugins/plugins/ios-aswebauthenticationsession-api/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; /** * @name ios-aswebauthenticationsession-api @@ -31,7 +31,7 @@ import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/cor platforms: ['iOS'], }) @Injectable() -export class IosASWebauthenticationSession extends IonicNativePlugin { +export class IosASWebauthenticationSession extends AwesomeCordovaNativePlugin { /** * This function start an authentication flow in ASWebauthenticationSession * @param callbackUrl {string} Callback URL of your App diff --git a/src/@awesome-cordova-plugins/plugins/is-debug/index.ts b/src/@awesome-cordova-plugins/plugins/is-debug/index.ts index 42f76884f..65bf5fd9c 100644 --- a/src/@awesome-cordova-plugins/plugins/is-debug/index.ts +++ b/src/@awesome-cordova-plugins/plugins/is-debug/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Is Debug @@ -29,7 +29,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class IsDebug extends IonicNativePlugin { +export class IsDebug extends AwesomeCordovaNativePlugin { /** * Determine if an app was installed via xcode / eclipse / the ionic CLI etc * @returns {Promise} Returns a promise that resolves with true if the app was installed via xcode / eclipse / the ionic CLI etc. It will resolve to false if the app was downloaded from the app / play store by the end user. diff --git a/src/@awesome-cordova-plugins/plugins/keyboard/index.ts b/src/@awesome-cordova-plugins/plugins/keyboard/index.ts index db2d5a945..15055916e 100644 --- a/src/@awesome-cordova-plugins/plugins/keyboard/index.ts +++ b/src/@awesome-cordova-plugins/plugins/keyboard/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, CordovaProperty, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, CordovaProperty, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export enum KeyboardStyle { @@ -45,7 +45,7 @@ export enum KeyboardResizeMode { platforms: ['Android', 'iOS'], }) @Injectable() -export class Keyboard extends IonicNativePlugin { +export class Keyboard extends AwesomeCordovaNativePlugin { /** * Check keyboard status visible or not. * @returns {boolean} diff --git a/src/@awesome-cordova-plugins/plugins/keychain/index.ts b/src/@awesome-cordova-plugins/plugins/keychain/index.ts index b43e4c3ca..0b89f5e27 100644 --- a/src/@awesome-cordova-plugins/plugins/keychain/index.ts +++ b/src/@awesome-cordova-plugins/plugins/keychain/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Keychain @@ -34,7 +34,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['iOS'], }) @Injectable() -export class Keychain extends IonicNativePlugin { +export class Keychain extends AwesomeCordovaNativePlugin { /** * Retrieves a value for a key * diff --git a/src/@awesome-cordova-plugins/plugins/kommunicate/index.ts b/src/@awesome-cordova-plugins/plugins/kommunicate/index.ts index 574cbebe4..c804fc827 100644 --- a/src/@awesome-cordova-plugins/plugins/kommunicate/index.ts +++ b/src/@awesome-cordova-plugins/plugins/kommunicate/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; /** @@ -44,7 +44,7 @@ import { Observable } from 'rxjs'; platforms: ['Android', 'Browser', 'iOS'], }) @Injectable() -export class Kommunicate extends IonicNativePlugin { +export class Kommunicate extends AwesomeCordovaNativePlugin { /** * Login the user with the details passed in * Creates a new user with the details provided there is no existing user diff --git a/src/@awesome-cordova-plugins/plugins/launch-navigator/index.ts b/src/@awesome-cordova-plugins/plugins/launch-navigator/index.ts index 17bec7ceb..f4ed6b12a 100644 --- a/src/@awesome-cordova-plugins/plugins/launch-navigator/index.ts +++ b/src/@awesome-cordova-plugins/plugins/launch-navigator/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, CordovaProperty, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface PromptsOptions { /** @@ -278,7 +278,7 @@ export interface AppSelection { platforms: ['Android', 'iOS', 'Windows', 'Windows Phone 8'], }) @Injectable() -export class LaunchNavigator extends IonicNativePlugin { +export class LaunchNavigator extends AwesomeCordovaNativePlugin { APP: any = { USER_SELECT: 'user_select', APPLE_MAPS: 'apple_maps', diff --git a/src/@awesome-cordova-plugins/plugins/launch-review/index.ts b/src/@awesome-cordova-plugins/plugins/launch-review/index.ts index 5f724128f..c17781b81 100644 --- a/src/@awesome-cordova-plugins/plugins/launch-review/index.ts +++ b/src/@awesome-cordova-plugins/plugins/launch-review/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; /** @@ -35,7 +35,7 @@ import { Observable } from 'rxjs'; platforms: ['Android', 'iOS'], }) @Injectable() -export class LaunchReview extends IonicNativePlugin { +export class LaunchReview extends AwesomeCordovaNativePlugin { /** * Launches App Store on current platform in order to leave a review for given app. * @param appId {string} - (optional) the platform-specific app ID to use to open the page in the store app. diff --git a/src/@awesome-cordova-plugins/plugins/line-login/index.ts b/src/@awesome-cordova-plugins/plugins/line-login/index.ts index 58c99ae54..76eaaa5cf 100644 --- a/src/@awesome-cordova-plugins/plugins/line-login/index.ts +++ b/src/@awesome-cordova-plugins/plugins/line-login/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface LineLoginParams { /** @@ -82,7 +82,7 @@ export interface LineLoginAccessToken { platforms: ['Android', 'iOS'], }) @Injectable() -export class LineLogin extends IonicNativePlugin { +export class LineLogin extends AwesomeCordovaNativePlugin { /** * Initialize * @param param LineLoginParams diff --git a/src/@awesome-cordova-plugins/plugins/local-backup/index.ts b/src/@awesome-cordova-plugins/plugins/local-backup/index.ts index 143f337cb..3030921d0 100644 --- a/src/@awesome-cordova-plugins/plugins/local-backup/index.ts +++ b/src/@awesome-cordova-plugins/plugins/local-backup/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; /** * @name LocalBackup @@ -31,7 +31,7 @@ import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class LocalBackup extends IonicNativePlugin { +export class LocalBackup extends AwesomeCordovaNativePlugin { @Cordova() create(data: any): Promise { return; diff --git a/src/@awesome-cordova-plugins/plugins/local-notifications/index.ts b/src/@awesome-cordova-plugins/plugins/local-notifications/index.ts index edfca832b..7365367b5 100755 --- a/src/@awesome-cordova-plugins/plugins/local-notifications/index.ts +++ b/src/@awesome-cordova-plugins/plugins/local-notifications/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export enum ELocalNotificationTriggerUnit { @@ -534,7 +534,7 @@ export interface ILocalNotification { platforms: ['Android', 'iOS', 'Windows'], }) @Injectable() -export class LocalNotifications extends IonicNativePlugin { +export class LocalNotifications extends AwesomeCordovaNativePlugin { /** * Informs if the app has the permission to show notifications. * @returns {Promise} diff --git a/src/@awesome-cordova-plugins/plugins/location-accuracy/index.ts b/src/@awesome-cordova-plugins/plugins/location-accuracy/index.ts index e123abd24..698390709 100644 --- a/src/@awesome-cordova-plugins/plugins/location-accuracy/index.ts +++ b/src/@awesome-cordova-plugins/plugins/location-accuracy/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Location Accuracy @@ -36,7 +36,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class LocationAccuracy extends IonicNativePlugin { +export class LocationAccuracy extends AwesomeCordovaNativePlugin { /** * Convenience constant * @type {number} diff --git a/src/@awesome-cordova-plugins/plugins/lottie-splash-screen/index.ts b/src/@awesome-cordova-plugins/plugins/lottie-splash-screen/index.ts index 49e863dbc..d4eb75838 100644 --- a/src/@awesome-cordova-plugins/plugins/lottie-splash-screen/index.ts +++ b/src/@awesome-cordova-plugins/plugins/lottie-splash-screen/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Lottie Splash Screen @@ -32,7 +32,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class LottieSplashScreen extends IonicNativePlugin { +export class LottieSplashScreen extends AwesomeCordovaNativePlugin { /** * This function shows a Lottie splash screen. If no arguments are given, it defaults to the config.xml values, however you can pass (new) options here to change the behavior on runtime. (For easier reading the TypeScript notation is used) * @param location {string} Location of the Lottie JSON file that should be loaded. diff --git a/src/@awesome-cordova-plugins/plugins/media-capture/index.ts b/src/@awesome-cordova-plugins/plugins/media-capture/index.ts index 368202ff9..f86bf358b 100644 --- a/src/@awesome-cordova-plugins/plugins/media-capture/index.ts +++ b/src/@awesome-cordova-plugins/plugins/media-capture/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, CordovaProperty, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; declare const navigator: any; @@ -155,7 +155,7 @@ export interface ConfigurationData { platforms: ['Android', 'Browser', 'iOS', 'Windows'], }) @Injectable() -export class MediaCapture extends IonicNativePlugin { +export class MediaCapture extends AwesomeCordovaNativePlugin { /** * The recording image sizes and formats supported by the device. * @returns {ConfigurationData[]} diff --git a/src/@awesome-cordova-plugins/plugins/media/index.ts b/src/@awesome-cordova-plugins/plugins/media/index.ts index d90cced18..d1549c640 100644 --- a/src/@awesome-cordova-plugins/plugins/media/index.ts +++ b/src/@awesome-cordova-plugins/plugins/media/index.ts @@ -2,7 +2,7 @@ import { Injectable } from '@angular/core'; import { CordovaInstance, InstanceProperty, - IonicNativePlugin, + AwesomeCordovaNativePlugin, Plugin, checkAvailability, } from '@awesome-cordova-plugins/core'; @@ -289,7 +289,7 @@ export type MediaErrorCallback = (error: MediaError) => void; platforms: ['Android', 'Browser', 'iOS', 'Windows'], }) @Injectable() -export class Media extends IonicNativePlugin { +export class Media extends AwesomeCordovaNativePlugin { // Constants /** * @hidden diff --git a/src/@awesome-cordova-plugins/plugins/metrix/index.ts b/src/@awesome-cordova-plugins/plugins/metrix/index.ts index 721ba1dd4..2d27c0fdc 100644 --- a/src/@awesome-cordova-plugins/plugins/metrix/index.ts +++ b/src/@awesome-cordova-plugins/plugins/metrix/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export class MetrixConfig { private appId: string; @@ -179,7 +179,7 @@ export enum MetrixAttributionStatus { platforms: ['Android'], }) @Injectable() -export class Metrix extends IonicNativePlugin { +export class Metrix extends AwesomeCordovaNativePlugin { /** * This method initializes Metrix SDK * @param {MetrixConfig} config MetrixConfig object used as starting options diff --git a/src/@awesome-cordova-plugins/plugins/mixpanel/index.ts b/src/@awesome-cordova-plugins/plugins/mixpanel/index.ts index 9487262f3..2ca7e2ca6 100644 --- a/src/@awesome-cordova-plugins/plugins/mixpanel/index.ts +++ b/src/@awesome-cordova-plugins/plugins/mixpanel/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; declare var mixpanel: any; @@ -32,7 +32,7 @@ declare var mixpanel: any; platforms: ['Android', 'Browser', 'iOS'], }) @Injectable() -export class Mixpanel extends IonicNativePlugin { +export class Mixpanel extends AwesomeCordovaNativePlugin { /** * If originalId is omitted, aliasId will be used as originalId. * @param aliasId {string} @@ -164,7 +164,7 @@ export class Mixpanel extends IonicNativePlugin { pluginName: 'Mixpanel', }) @Injectable() -export class MixpanelPeople extends IonicNativePlugin { +export class MixpanelPeople extends AwesomeCordovaNativePlugin { /** * * @param appendObject {any} diff --git a/src/@awesome-cordova-plugins/plugins/mlkit-translate/index.ts b/src/@awesome-cordova-plugins/plugins/mlkit-translate/index.ts index 7823f53f9..027f8ae82 100644 --- a/src/@awesome-cordova-plugins/plugins/mlkit-translate/index.ts +++ b/src/@awesome-cordova-plugins/plugins/mlkit-translate/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; /** * This is the language object which will be returned by `downloadModel`, `deleteModel`, `getAvailableModels` and `getDownloadedModels` methods. @@ -47,7 +47,7 @@ export interface LanguageModel { platforms: ['Android', 'iOS'], }) @Injectable() -export class MLKitTranslate extends IonicNativePlugin { +export class MLKitTranslate extends AwesomeCordovaNativePlugin { /** * Translates text from one language to another. Requires the source and target languages need to be downloaded. * If not the languages are downloaded in the background automatically. diff --git a/src/@awesome-cordova-plugins/plugins/mobile-messaging/index.ts b/src/@awesome-cordova-plugins/plugins/mobile-messaging/index.ts index 656b20c41..2733aefe0 100644 --- a/src/@awesome-cordova-plugins/plugins/mobile-messaging/index.ts +++ b/src/@awesome-cordova-plugins/plugins/mobile-messaging/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export type OS = 'Android' | 'iOS'; @@ -222,7 +222,7 @@ export class DefaultMessageStorage { platforms: ['Android', 'iOS'], }) @Injectable() -export class MobileMessaging extends IonicNativePlugin { +export class MobileMessaging extends AwesomeCordovaNativePlugin { /** * Starts a new Mobile Messaging session. * diff --git a/src/@awesome-cordova-plugins/plugins/multiple-document-picker/index.ts b/src/@awesome-cordova-plugins/plugins/multiple-document-picker/index.ts index 7769a2389..f7bd8d673 100644 --- a/src/@awesome-cordova-plugins/plugins/multiple-document-picker/index.ts +++ b/src/@awesome-cordova-plugins/plugins/multiple-document-picker/index.ts @@ -3,7 +3,7 @@ * */ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; /** * @name Multiple Documents Picker @@ -34,7 +34,7 @@ import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class MultipleDocumentsPicker extends IonicNativePlugin { +export class MultipleDocumentsPicker extends AwesomeCordovaNativePlugin { /** * This function allow user to show native file picker * @param type {number} To pick type of files: for images send 1, for all files send 2 diff --git a/src/@awesome-cordova-plugins/plugins/music-controls/index.ts b/src/@awesome-cordova-plugins/plugins/music-controls/index.ts index 02117ca79..c88a75545 100644 --- a/src/@awesome-cordova-plugins/plugins/music-controls/index.ts +++ b/src/@awesome-cordova-plugins/plugins/music-controls/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export interface MusicControlsOptions { @@ -154,7 +154,7 @@ export interface MusicControlsOptions { platforms: ['Android', 'iOS', 'Windows'], }) @Injectable() -export class MusicControls extends IonicNativePlugin { +export class MusicControls extends AwesomeCordovaNativePlugin { /** * Create the media controls * @param options {MusicControlsOptions} diff --git a/src/@awesome-cordova-plugins/plugins/native-audio/index.ts b/src/@awesome-cordova-plugins/plugins/native-audio/index.ts index 012cd2410..e8caab6e2 100644 --- a/src/@awesome-cordova-plugins/plugins/native-audio/index.ts +++ b/src/@awesome-cordova-plugins/plugins/native-audio/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Native Audio * @description Native Audio Playback @@ -37,7 +37,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'Browser', 'iOS'], }) @Injectable() -export class NativeAudio extends IonicNativePlugin { +export class NativeAudio extends AwesomeCordovaNativePlugin { /** * Loads an audio file into memory. Optimized for short clips / single shots (up to five seconds). Cannot be stopped / looped. * @param id {string} unique ID for the audio file diff --git a/src/@awesome-cordova-plugins/plugins/native-geocoder/index.ts b/src/@awesome-cordova-plugins/plugins/native-geocoder/index.ts index dcdcb8ed2..ed10c4b2d 100644 --- a/src/@awesome-cordova-plugins/plugins/native-geocoder/index.ts +++ b/src/@awesome-cordova-plugins/plugins/native-geocoder/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Native Geocoder @@ -39,7 +39,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['iOS', 'Android'], }) @Injectable() -export class NativeGeocoder extends IonicNativePlugin { +export class NativeGeocoder extends AwesomeCordovaNativePlugin { /** * Reverse geocode a given latitude and longitude to find location address * @param latitude {number} The latitude diff --git a/src/@awesome-cordova-plugins/plugins/native-keyboard/index.ts b/src/@awesome-cordova-plugins/plugins/native-keyboard/index.ts index 6ee954d3e..b9f8ce9a6 100644 --- a/src/@awesome-cordova-plugins/plugins/native-keyboard/index.ts +++ b/src/@awesome-cordova-plugins/plugins/native-keyboard/index.ts @@ -1,4 +1,4 @@ -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Injectable } from '@angular/core'; export interface NativeKeyboardOptions { @@ -201,7 +201,7 @@ export interface NativeKeyboardUpdateMessengerOptions { platforms: ['Android', 'iOS'], }) @Injectable() -export class NativeKeyboard extends IonicNativePlugin { +export class NativeKeyboard extends AwesomeCordovaNativePlugin { /** * Show messenger * @param options {NativeKeyboardOptions} diff --git a/src/@awesome-cordova-plugins/plugins/native-page-transitions/index.ts b/src/@awesome-cordova-plugins/plugins/native-page-transitions/index.ts index ba26de19c..dd6a5a373 100644 --- a/src/@awesome-cordova-plugins/plugins/native-page-transitions/index.ts +++ b/src/@awesome-cordova-plugins/plugins/native-page-transitions/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface NativeTransitionOptions { direction?: string; @@ -69,7 +69,7 @@ export interface NativeTransitionOptions { platforms: ['Android', 'iOS', 'Windows Phone 8'], }) @Injectable() -export class NativePageTransitions extends IonicNativePlugin { +export class NativePageTransitions extends AwesomeCordovaNativePlugin { /** * Perform a slide animation * @param options {NativeTransitionOptions} Options for the transition diff --git a/src/@awesome-cordova-plugins/plugins/native-storage/index.ts b/src/@awesome-cordova-plugins/plugins/native-storage/index.ts index 911d17b41..9b7e7ea00 100644 --- a/src/@awesome-cordova-plugins/plugins/native-storage/index.ts +++ b/src/@awesome-cordova-plugins/plugins/native-storage/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Native Storage @@ -35,7 +35,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'Browser', 'iOS', 'macOS', 'Windows'], }) @Injectable() -export class NativeStorage extends IonicNativePlugin { +export class NativeStorage extends AwesomeCordovaNativePlugin { /** * Initialises shared storage with the suite name when using app groups in iOS * @param reference {string} diff --git a/src/@awesome-cordova-plugins/plugins/native-view/index.ts b/src/@awesome-cordova-plugins/plugins/native-view/index.ts index 95201f3bc..423df41b8 100644 --- a/src/@awesome-cordova-plugins/plugins/native-view/index.ts +++ b/src/@awesome-cordova-plugins/plugins/native-view/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name NativeView @@ -57,7 +57,7 @@ export interface NativeMarketParams extends NativeParams { platforms: ['Android', 'iOS'], }) @Injectable() -export class NativeView extends IonicNativePlugin { +export class NativeView extends AwesomeCordovaNativePlugin { /** * Shows the native view. * diff --git a/src/@awesome-cordova-plugins/plugins/network-interface/index.ts b/src/@awesome-cordova-plugins/plugins/network-interface/index.ts index b02a80002..1a6b2044d 100644 --- a/src/@awesome-cordova-plugins/plugins/network-interface/index.ts +++ b/src/@awesome-cordova-plugins/plugins/network-interface/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Network Interface @@ -35,7 +35,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'BlackBerry 10', 'Browser', 'iOS', 'Windows', 'Windows Phone'], }) @Injectable() -export class NetworkInterface extends IonicNativePlugin { +export class NetworkInterface extends AwesomeCordovaNativePlugin { /** * Gets the WiFi IP address * @return {Promise} Returns a Promise that resolves with the IP address information. diff --git a/src/@awesome-cordova-plugins/plugins/network/index.ts b/src/@awesome-cordova-plugins/plugins/network/index.ts index 69c7542e5..e5e80be10 100644 --- a/src/@awesome-cordova-plugins/plugins/network/index.ts +++ b/src/@awesome-cordova-plugins/plugins/network/index.ts @@ -1,5 +1,11 @@ import { Injectable } from '@angular/core'; -import { Cordova, CordovaCheck, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { + Cordova, + CordovaCheck, + CordovaProperty, + AwesomeCordovaNativePlugin, + Plugin, +} from '@awesome-cordova-plugins/core'; import { Observable, merge } from 'rxjs'; import { mapTo } from 'rxjs/operators'; @@ -67,7 +73,7 @@ export enum Connection { platforms: ['Amazon Fire OS', 'Android', 'Browser', 'iOS', 'Windows'], }) @Injectable() -export class Network extends IonicNativePlugin { +export class Network extends AwesomeCordovaNativePlugin { /** * Constants for possible connection types */ diff --git a/src/@awesome-cordova-plugins/plugins/nfc/index.ts b/src/@awesome-cordova-plugins/plugins/nfc/index.ts index 3dd5d4b3d..5da8192fd 100644 --- a/src/@awesome-cordova-plugins/plugins/nfc/index.ts +++ b/src/@awesome-cordova-plugins/plugins/nfc/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, CordovaProperty, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; declare let window: any; @@ -99,7 +99,7 @@ export interface ScanOptions { * @{ NFC } class methods */ @Injectable() -export class NFC extends IonicNativePlugin { +export class NFC extends AwesomeCordovaNativePlugin { // Flags for readerMode // https://developer.android.com/reference/android/nfc/NfcAdapter#FLAG_READER_NFC_A @CordovaProperty() @@ -412,7 +412,7 @@ export class NFC extends IonicNativePlugin { * For usage with nfc.write() and nfc.share() */ @Injectable() -export class Ndef extends IonicNativePlugin { +export class Ndef extends AwesomeCordovaNativePlugin { @CordovaProperty() TNF_EMPTY: number; @CordovaProperty() @@ -511,7 +511,7 @@ export class Ndef extends IonicNativePlugin { pluginRef: 'util', }) @Injectable() -export class NfcUtil extends IonicNativePlugin { +export class NfcUtil extends AwesomeCordovaNativePlugin { @Cordova({ sync: true }) toHex(i: number): string { return; @@ -553,7 +553,7 @@ export class NfcUtil extends IonicNativePlugin { } } -export class TextHelper extends IonicNativePlugin { +export class TextHelper extends AwesomeCordovaNativePlugin { decodePayload(data: number[]): string { return; } @@ -562,7 +562,7 @@ export class TextHelper extends IonicNativePlugin { } } -export class UriHelper extends IonicNativePlugin { +export class UriHelper extends AwesomeCordovaNativePlugin { decodePayload(data: number[]): string { return; } diff --git a/src/@awesome-cordova-plugins/plugins/ocr/index.ts b/src/@awesome-cordova-plugins/plugins/ocr/index.ts index 84c15a2ec..05acee8af 100644 --- a/src/@awesome-cordova-plugins/plugins/ocr/index.ts +++ b/src/@awesome-cordova-plugins/plugins/ocr/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export enum OCRSourceType { /** @@ -153,7 +153,7 @@ export interface OCRResult { platforms: ['Android', 'iOS'], }) @Injectable() -export class OCR extends IonicNativePlugin { +export class OCR extends AwesomeCordovaNativePlugin { /** * Extract text from image * @param sourceType {OCRSourceType} type of image source diff --git a/src/@awesome-cordova-plugins/plugins/onesignal/index.ts b/src/@awesome-cordova-plugins/plugins/onesignal/index.ts index 9fcdc7de5..b08c2cfb2 100644 --- a/src/@awesome-cordova-plugins/plugins/onesignal/index.ts +++ b/src/@awesome-cordova-plugins/plugins/onesignal/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export interface OSNotification { @@ -438,7 +438,7 @@ export interface OSInAppMessageAction { platforms: ['Amazon Fire OS', 'Android', 'iOS', 'Windows'], }) @Injectable() -export class OneSignal extends IonicNativePlugin { +export class OneSignal extends AwesomeCordovaNativePlugin { /** * constants to use in inFocusDisplaying() * @hidden diff --git a/src/@awesome-cordova-plugins/plugins/open-native-settings/index.ts b/src/@awesome-cordova-plugins/plugins/open-native-settings/index.ts index 0136f0a08..78d0c9e7b 100644 --- a/src/@awesome-cordova-plugins/plugins/open-native-settings/index.ts +++ b/src/@awesome-cordova-plugins/plugins/open-native-settings/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Open Native Settings @@ -98,7 +98,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class OpenNativeSettings extends IonicNativePlugin { +export class OpenNativeSettings extends AwesomeCordovaNativePlugin { /** * Opens a setting dialog * @param setting {string|array} setting name diff --git a/src/@awesome-cordova-plugins/plugins/openalpr/index.ts b/src/@awesome-cordova-plugins/plugins/openalpr/index.ts index d99e33a33..8b8b38b82 100644 --- a/src/@awesome-cordova-plugins/plugins/openalpr/index.ts +++ b/src/@awesome-cordova-plugins/plugins/openalpr/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface OpenALPROptions { /** Country used for scanning the license plate */ @@ -49,7 +49,7 @@ export interface OpenALPRResult { platforms: ['Android', 'iOS'], }) @Injectable() -export class OpenALPR extends IonicNativePlugin { +export class OpenALPR extends AwesomeCordovaNativePlugin { Country = { AU: 'au', BR: 'br', diff --git a/src/@awesome-cordova-plugins/plugins/paytabs/index.ts b/src/@awesome-cordova-plugins/plugins/paytabs/index.ts index cb9cd815f..f65d6b9e7 100644 --- a/src/@awesome-cordova-plugins/plugins/paytabs/index.ts +++ b/src/@awesome-cordova-plugins/plugins/paytabs/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * PaymentSDKConfiguration: payment request configuration @@ -450,7 +450,7 @@ export enum AlternativePaymentMethod { platforms: ['Android', 'iOS'], }) @Injectable() -export class PayTabs extends IonicNativePlugin { +export class PayTabs extends AwesomeCordovaNativePlugin { /** * Start Card Payment * @param params {PaymentSDKConfiguration} payment request configuration diff --git a/src/@awesome-cordova-plugins/plugins/pdf-generator/index.ts b/src/@awesome-cordova-plugins/plugins/pdf-generator/index.ts index 1c18d494d..4b6a53b78 100644 --- a/src/@awesome-cordova-plugins/plugins/pdf-generator/index.ts +++ b/src/@awesome-cordova-plugins/plugins/pdf-generator/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface PDFGeneratorOptions { /** @@ -62,7 +62,7 @@ export interface PDFGeneratorOptions { @Injectable({ providedIn: 'root', }) -export class PDFGenerator extends IonicNativePlugin { +export class PDFGenerator extends AwesomeCordovaNativePlugin { /** * Creates a PDF using a URL, it download the document into an in memory Webkit object, and renders it into a PDF. * @param url {string} URL to create a PDF from diff --git a/src/@awesome-cordova-plugins/plugins/photo-library/index.ts b/src/@awesome-cordova-plugins/plugins/photo-library/index.ts index 4ea38c354..0b46a46b4 100644 --- a/src/@awesome-cordova-plugins/plugins/photo-library/index.ts +++ b/src/@awesome-cordova-plugins/plugins/photo-library/index.ts @@ -1,4 +1,4 @@ -import { Cordova, CordovaOptions, IonicNativePlugin, Plugin, wrap } from '@awesome-cordova-plugins/core'; +import { Cordova, CordovaOptions, AwesomeCordovaNativePlugin, Plugin, wrap } from '@awesome-cordova-plugins/core'; import { Observable, Observer } from 'rxjs'; import { Injectable } from '@angular/core'; @@ -100,7 +100,7 @@ export function CordovaFiniteObservable(opts: CordovaFiniteObservableOptions = { platforms: ['Android', 'Browser', 'iOS'], }) @Injectable() -export class PhotoLibrary extends IonicNativePlugin { +export class PhotoLibrary extends AwesomeCordovaNativePlugin { /** * Retrieves library items. Library item contains photo metadata like width and height, as well as photoURL and thumbnailURL. * @param options {GetLibraryOptions} Optional, like thumbnail size and chunks settings. diff --git a/src/@awesome-cordova-plugins/plugins/photo-viewer/index.ts b/src/@awesome-cordova-plugins/plugins/photo-viewer/index.ts index b769041ad..71caee09d 100644 --- a/src/@awesome-cordova-plugins/plugins/photo-viewer/index.ts +++ b/src/@awesome-cordova-plugins/plugins/photo-viewer/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface PhotoViewerOptions { /** @@ -55,7 +55,7 @@ export interface PhotoViewerOptions { platforms: ['Android', 'iOS'], }) @Injectable() -export class PhotoViewer extends IonicNativePlugin { +export class PhotoViewer extends AwesomeCordovaNativePlugin { /** * Shows an image in full screen * @param url {string} URL or path to image diff --git a/src/@awesome-cordova-plugins/plugins/play-install-referrer/index.ts b/src/@awesome-cordova-plugins/plugins/play-install-referrer/index.ts index f9e968feb..eab8c9dfc 100644 --- a/src/@awesome-cordova-plugins/plugins/play-install-referrer/index.ts +++ b/src/@awesome-cordova-plugins/plugins/play-install-referrer/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; @Plugin({ pluginName: 'PlayInstallReferrer', @@ -9,7 +9,7 @@ import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/cor platforms: ['Android'], }) @Injectable() -export class PlayInstallReferrer extends IonicNativePlugin { +export class PlayInstallReferrer extends AwesomeCordovaNativePlugin { @Cordova() getReferrer(): Promise { return; diff --git a/src/@awesome-cordova-plugins/plugins/pollfish/index.ts b/src/@awesome-cordova-plugins/plugins/pollfish/index.ts index f94255867..6ba9335ec 100644 --- a/src/@awesome-cordova-plugins/plugins/pollfish/index.ts +++ b/src/@awesome-cordova-plugins/plugins/pollfish/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, CordovaProperty, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, CordovaProperty, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; /** * @name Pollfish @@ -66,7 +66,7 @@ import { Plugin, Cordova, CordovaProperty, IonicNativePlugin } from '@awesome-co platforms: ['Android', 'iOS'], }) @Injectable() -export class Pollfish extends IonicNativePlugin { +export class Pollfish extends AwesomeCordovaNativePlugin { @CordovaProperty() EventListener: { OnPollfishClosed: string; diff --git a/src/@awesome-cordova-plugins/plugins/power-optimization/index.ts b/src/@awesome-cordova-plugins/plugins/power-optimization/index.ts index 02fb5e9ee..7ad9e2a78 100644 --- a/src/@awesome-cordova-plugins/plugins/power-optimization/index.ts +++ b/src/@awesome-cordova-plugins/plugins/power-optimization/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Power Optimization * @description @@ -28,7 +28,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android'], }) @Injectable() -export class PowerOptimization extends IonicNativePlugin { +export class PowerOptimization extends AwesomeCordovaNativePlugin { /** * Check if the battery optimization is ignoring * For more info, please check https://github.com/snt1017/cordova-plugin-power-optimization diff --git a/src/@awesome-cordova-plugins/plugins/preview-any-file/index.ts b/src/@awesome-cordova-plugins/plugins/preview-any-file/index.ts index 3c3194e83..105b64066 100644 --- a/src/@awesome-cordova-plugins/plugins/preview-any-file/index.ts +++ b/src/@awesome-cordova-plugins/plugins/preview-any-file/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; /** * @name PreviewAnyFile @@ -57,7 +57,7 @@ export type PreviewResponse = 'CLOSING' | 'SUCCESS' | 'NO_APP'; platforms: ['Android', 'iOS'], // Array of platforms supported, example: ['Android', 'iOS'] }) @Injectable() -export class PreviewAnyFile extends IonicNativePlugin { +export class PreviewAnyFile extends AwesomeCordovaNativePlugin { /** * @deprecated Use the previewPath,previewBase64 or previewAsset. they have more options * @param url {String} full absolute URL -> file://, content://, http://, https, ... etc diff --git a/src/@awesome-cordova-plugins/plugins/printer/index.ts b/src/@awesome-cordova-plugins/plugins/printer/index.ts index e2267a054..1373320f6 100644 --- a/src/@awesome-cordova-plugins/plugins/printer/index.ts +++ b/src/@awesome-cordova-plugins/plugins/printer/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, CordovaCheck, IonicNativePlugin, Plugin, getPromise } from '@awesome-cordova-plugins/core'; +import { Cordova, CordovaCheck, AwesomeCordovaNativePlugin, Plugin, getPromise } from '@awesome-cordova-plugins/core'; interface FontOptions { name: string; // The name of the font family. Only supported on iOS @@ -166,7 +166,7 @@ export interface PrintOptions { platforms: ['Android', 'iOS', 'Windows'], }) @Injectable() -export class Printer extends IonicNativePlugin { +export class Printer extends AwesomeCordovaNativePlugin { /** * Checks whether the device is capable of printing (uses `check()` internally) * @returns {Promise} diff --git a/src/@awesome-cordova-plugins/plugins/pspdfkit-cordova/index.ts b/src/@awesome-cordova-plugins/plugins/pspdfkit-cordova/index.ts index 048916a08..34e6fa96d 100644 --- a/src/@awesome-cordova-plugins/plugins/pspdfkit-cordova/index.ts +++ b/src/@awesome-cordova-plugins/plugins/pspdfkit-cordova/index.ts @@ -5,7 +5,7 @@ import { CordovaProperty, CordovaInstance, InstanceProperty, - IonicNativePlugin, + AwesomeCordovaNativePlugin, } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; @@ -50,7 +50,7 @@ import { Observable } from 'rxjs'; platforms: ['Android', 'iOS'], }) @Injectable() -export class PSPDFKit extends IonicNativePlugin { +export class PSPDFKit extends AwesomeCordovaNativePlugin { /** * Activates PSPDFKit with your license key from https://customers.pspdfkit.com. * diff --git a/src/@awesome-cordova-plugins/plugins/purchases/index.ts b/src/@awesome-cordova-plugins/plugins/purchases/index.ts index c06eda01d..e802822ee 100644 --- a/src/@awesome-cordova-plugins/plugins/purchases/index.ts +++ b/src/@awesome-cordova-plugins/plugins/purchases/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; /** @@ -247,7 +247,7 @@ export enum INTRO_ELIGIBILITY_STATUS { @Injectable({ providedIn: 'root', }) -export class Purchases extends IonicNativePlugin { +export class Purchases extends AwesomeCordovaNativePlugin { static ATTRIBUTION_NETWORKS = ATTRIBUTION_NETWORK; /** * Enum for attribution networks diff --git a/src/@awesome-cordova-plugins/plugins/push/index.ts b/src/@awesome-cordova-plugins/plugins/push/index.ts index 6b14e0b4d..5e50aaa79 100644 --- a/src/@awesome-cordova-plugins/plugins/push/index.ts +++ b/src/@awesome-cordova-plugins/plugins/push/index.ts @@ -1,5 +1,11 @@ import { Injectable } from '@angular/core'; -import { Cordova, CordovaInstance, IonicNativePlugin, Plugin, checkAvailability } from '@awesome-cordova-plugins/core'; +import { + Cordova, + CordovaInstance, + AwesomeCordovaNativePlugin, + Plugin, + checkAvailability, +} from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; declare const window: any; @@ -327,7 +333,7 @@ export type PushEvent = string; platforms: ['Android', 'Browser', 'iOS', 'Windows'], }) @Injectable() -export class Push extends IonicNativePlugin { +export class Push extends AwesomeCordovaNativePlugin { /** * Init push notifications * @param options {PushOptions} diff --git a/src/@awesome-cordova-plugins/plugins/pushape-push/index.ts b/src/@awesome-cordova-plugins/plugins/pushape-push/index.ts index 77f4edd1d..88778124d 100644 --- a/src/@awesome-cordova-plugins/plugins/pushape-push/index.ts +++ b/src/@awesome-cordova-plugins/plugins/pushape-push/index.ts @@ -1,5 +1,11 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, CordovaInstance, IonicNativePlugin, checkAvailability } from '@awesome-cordova-plugins/core'; +import { + Plugin, + Cordova, + CordovaInstance, + AwesomeCordovaNativePlugin, + checkAvailability, +} from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; declare const window: any; @@ -300,7 +306,7 @@ export interface PushapeRegistrationEventResponse extends RegistrationEventRespo platforms: ['Android', 'Browser', 'iOS'], }) @Injectable() -export class PushapePush extends IonicNativePlugin { +export class PushapePush extends AwesomeCordovaNativePlugin { /** * Init push notifications * @param options {PushapeOptions} diff --git a/src/@awesome-cordova-plugins/plugins/safari-view-controller/index.ts b/src/@awesome-cordova-plugins/plugins/safari-view-controller/index.ts index 8b347123b..a31141596 100644 --- a/src/@awesome-cordova-plugins/plugins/safari-view-controller/index.ts +++ b/src/@awesome-cordova-plugins/plugins/safari-view-controller/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export interface SafariViewControllerOptions { @@ -67,7 +67,7 @@ export interface SafariViewControllerOptions { platforms: ['Android', 'iOS'], }) @Injectable() -export class SafariViewController extends IonicNativePlugin { +export class SafariViewController extends AwesomeCordovaNativePlugin { /** * Checks if SafariViewController is available * @returns {Promise} diff --git a/src/@awesome-cordova-plugins/plugins/screen-orientation/index.ts b/src/@awesome-cordova-plugins/plugins/screen-orientation/index.ts index 8986b3a51..e1f8fa028 100644 --- a/src/@awesome-cordova-plugins/plugins/screen-orientation/index.ts +++ b/src/@awesome-cordova-plugins/plugins/screen-orientation/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, CordovaProperty, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; /** @@ -59,7 +59,7 @@ import { Observable } from 'rxjs'; platforms: ['Android', 'iOS', 'Windows'], }) @Injectable() -export class ScreenOrientation extends IonicNativePlugin { +export class ScreenOrientation extends AwesomeCordovaNativePlugin { /** * Convenience enum for possible orientations */ diff --git a/src/@awesome-cordova-plugins/plugins/secure-storage-echo/index.ts b/src/@awesome-cordova-plugins/plugins/secure-storage-echo/index.ts index 72d7c5348..90694c120 100644 --- a/src/@awesome-cordova-plugins/plugins/secure-storage-echo/index.ts +++ b/src/@awesome-cordova-plugins/plugins/secure-storage-echo/index.ts @@ -1,5 +1,11 @@ import { Injectable } from '@angular/core'; -import { CordovaCheck, CordovaInstance, getPromise, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { + CordovaCheck, + CordovaInstance, + getPromise, + AwesomeCordovaNativePlugin, + Plugin, +} from '@awesome-cordova-plugins/core'; export interface SecureStorageEchoOptions { android: { @@ -153,7 +159,7 @@ export class SecureStorageEchoObject { platforms: ['Android', 'Browser', 'iOS', 'Windows'], }) @Injectable() -export class SecureStorageEcho extends IonicNativePlugin { +export class SecureStorageEcho extends AwesomeCordovaNativePlugin { /** * Creates a namespaced storage. * @param store {string} diff --git a/src/@awesome-cordova-plugins/plugins/secure-storage/index.ts b/src/@awesome-cordova-plugins/plugins/secure-storage/index.ts index 4c1169e12..7a9c3b434 100644 --- a/src/@awesome-cordova-plugins/plugins/secure-storage/index.ts +++ b/src/@awesome-cordova-plugins/plugins/secure-storage/index.ts @@ -1,5 +1,11 @@ import { Injectable } from '@angular/core'; -import { CordovaCheck, CordovaInstance, IonicNativePlugin, Plugin, getPromise } from '@awesome-cordova-plugins/core'; +import { + CordovaCheck, + CordovaInstance, + AwesomeCordovaNativePlugin, + Plugin, + getPromise, +} from '@awesome-cordova-plugins/core'; /** * @hidden @@ -130,7 +136,7 @@ export class SecureStorageObject { platforms: ['Android', 'Browser', 'iOS', 'Windows'], }) @Injectable() -export class SecureStorage extends IonicNativePlugin { +export class SecureStorage extends AwesomeCordovaNativePlugin { /** * Creates a namespaced storage. * @param store {string} diff --git a/src/@awesome-cordova-plugins/plugins/service-discovery/index.ts b/src/@awesome-cordova-plugins/plugins/service-discovery/index.ts index dd10a3acf..944e151f0 100644 --- a/src/@awesome-cordova-plugins/plugins/service-discovery/index.ts +++ b/src/@awesome-cordova-plugins/plugins/service-discovery/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; /** * @name ServiceDiscovery @@ -30,7 +30,7 @@ import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class ServiceDiscovery extends IonicNativePlugin { +export class ServiceDiscovery extends AwesomeCordovaNativePlugin { /** * Finds and returns metadata about devices discovered on the network via SSDP / UPnP / DLNA * @param service {string} The service name to discover diff --git a/src/@awesome-cordova-plugins/plugins/shake/index.ts b/src/@awesome-cordova-plugins/plugins/shake/index.ts index 50af6e2b1..a4538ce2e 100644 --- a/src/@awesome-cordova-plugins/plugins/shake/index.ts +++ b/src/@awesome-cordova-plugins/plugins/shake/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; /** * @name Shake @@ -27,7 +27,7 @@ import { Observable } from 'rxjs'; platforms: ['iOS'], }) @Injectable() -export class Shake extends IonicNativePlugin { +export class Shake extends AwesomeCordovaNativePlugin { /** * Watch for shake gesture * @param sensitivity {number} Optional sensitivity parameter. Defaults to 40 diff --git a/src/@awesome-cordova-plugins/plugins/sign-in-with-apple/index.ts b/src/@awesome-cordova-plugins/plugins/sign-in-with-apple/index.ts index c5da8a33b..cc1ded13c 100644 --- a/src/@awesome-cordova-plugins/plugins/sign-in-with-apple/index.ts +++ b/src/@awesome-cordova-plugins/plugins/sign-in-with-apple/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; /** * @see https://developer.apple.com/documentation/authenticationservices/asauthorizationappleidrequest @@ -160,7 +160,7 @@ export interface AppleSignInErrorResponse extends NSError { platforms: ['iOS'], }) @Injectable() -export class SignInWithApple extends IonicNativePlugin { +export class SignInWithApple extends AwesomeCordovaNativePlugin { /** * Starts the authorization flows named during controller initialization * @see https://developer.apple.com/documentation/authenticationservices/asauthorizationcontroller/3153047-performrequests diff --git a/src/@awesome-cordova-plugins/plugins/smartlook/index.ts b/src/@awesome-cordova-plugins/plugins/smartlook/index.ts index 7bb4355c9..fff20a597 100644 --- a/src/@awesome-cordova-plugins/plugins/smartlook/index.ts +++ b/src/@awesome-cordova-plugins/plugins/smartlook/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; export class SmartlookSetupConfigBuilder { private readonly _smartlookSetupConfig: SmartlookSetupConfig; @@ -295,7 +295,7 @@ export class SmartlookRenderingMode { platforms: ['Android', 'iOS'], }) @Injectable() -export class Smartlook extends IonicNativePlugin { +export class Smartlook extends AwesomeCordovaNativePlugin { /** * Setup and start Smartlook SDK recording. * @param config SmartlookSetupConfig object. diff --git a/src/@awesome-cordova-plugins/plugins/sms-retriever/index.ts b/src/@awesome-cordova-plugins/plugins/sms-retriever/index.ts index 6de745df5..c1a80ca56 100644 --- a/src/@awesome-cordova-plugins/plugins/sms-retriever/index.ts +++ b/src/@awesome-cordova-plugins/plugins/sms-retriever/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Sms Retriever @@ -35,7 +35,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android'], }) @Injectable() -export class SmsRetriever extends IonicNativePlugin { +export class SmsRetriever extends AwesomeCordovaNativePlugin { /** * This function start wathching message arrive event and retrive message text. * @return {Promise} Returns a promise that resolves when retrives SMS text or TIMEOUT after 5 min. diff --git a/src/@awesome-cordova-plugins/plugins/sms/index.ts b/src/@awesome-cordova-plugins/plugins/sms/index.ts index d296630e0..2031a1526 100644 --- a/src/@awesome-cordova-plugins/plugins/sms/index.ts +++ b/src/@awesome-cordova-plugins/plugins/sms/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * Options for sending an SMS @@ -51,7 +51,7 @@ export interface SmsOptionsAndroid { platforms: ['Android', 'iOS', 'Windows', 'Windows Phone 8'], }) @Injectable() -export class SMS extends IonicNativePlugin { +export class SMS extends AwesomeCordovaNativePlugin { /** * Sends sms to a number * @param phoneNumber {string|string[]} Phone number diff --git a/src/@awesome-cordova-plugins/plugins/social-sharing/index.ts b/src/@awesome-cordova-plugins/plugins/social-sharing/index.ts index 0c5c962fc..38318891f 100644 --- a/src/@awesome-cordova-plugins/plugins/social-sharing/index.ts +++ b/src/@awesome-cordova-plugins/plugins/social-sharing/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Social Sharing @@ -40,7 +40,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'Browser', 'iOS', 'Windows', 'Windows Phone'], }) @Injectable() -export class SocialSharing extends IonicNativePlugin { +export class SocialSharing extends AwesomeCordovaNativePlugin { /** * Shares using the share sheet * @param message {string} The message you would like to share. diff --git a/src/@awesome-cordova-plugins/plugins/speech-recognition/index.ts b/src/@awesome-cordova-plugins/plugins/speech-recognition/index.ts index b35ce9daf..e2d5a706d 100644 --- a/src/@awesome-cordova-plugins/plugins/speech-recognition/index.ts +++ b/src/@awesome-cordova-plugins/plugins/speech-recognition/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export type SpeechRecognitionListeningOptions = @@ -107,7 +107,7 @@ export interface SpeechRecognitionListeningOptionsAndroid { platforms: ['Android', 'iOS'], }) @Injectable() -export class SpeechRecognition extends IonicNativePlugin { +export class SpeechRecognition extends AwesomeCordovaNativePlugin { /** * Check feature available * @return {Promise} diff --git a/src/@awesome-cordova-plugins/plugins/spinner-dialog/index.ts b/src/@awesome-cordova-plugins/plugins/spinner-dialog/index.ts index 332fdb0a1..7d275d74b 100644 --- a/src/@awesome-cordova-plugins/plugins/spinner-dialog/index.ts +++ b/src/@awesome-cordova-plugins/plugins/spinner-dialog/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface SpinnerDialogIOSOptions { /** @@ -53,7 +53,7 @@ export interface SpinnerDialogIOSOptions { platforms: ['Android', 'iOS', 'Windows Phone 8', 'Windows'], }) @Injectable() -export class SpinnerDialog extends IonicNativePlugin { +export class SpinnerDialog extends AwesomeCordovaNativePlugin { /** * Shows the spinner dialog * @param title {string} Spinner title (shows on Android only) diff --git a/src/@awesome-cordova-plugins/plugins/splash-screen/index.ts b/src/@awesome-cordova-plugins/plugins/splash-screen/index.ts index 0a17f6dae..3a546423c 100644 --- a/src/@awesome-cordova-plugins/plugins/splash-screen/index.ts +++ b/src/@awesome-cordova-plugins/plugins/splash-screen/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Splash Screen @@ -27,7 +27,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Amazon Fire OS', 'Android', 'iOS', 'Windows'], }) @Injectable() -export class SplashScreen extends IonicNativePlugin { +export class SplashScreen extends AwesomeCordovaNativePlugin { /** * Shows the splashscreen */ diff --git a/src/@awesome-cordova-plugins/plugins/spotify-auth/index.ts b/src/@awesome-cordova-plugins/plugins/spotify-auth/index.ts index 49848966a..5b6a9abf9 100644 --- a/src/@awesome-cordova-plugins/plugins/spotify-auth/index.ts +++ b/src/@awesome-cordova-plugins/plugins/spotify-auth/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; /** * OAuth configuration data. @@ -97,7 +97,7 @@ export interface AuthorizationData { platforms: ['Android', 'iOS'], }) @Injectable() -export class SpotifyAuth extends IonicNativePlugin { +export class SpotifyAuth extends AwesomeCordovaNativePlugin { /** * Obtains valid authorization data. * diff --git a/src/@awesome-cordova-plugins/plugins/sqlite-db-copy/index.ts b/src/@awesome-cordova-plugins/plugins/sqlite-db-copy/index.ts index 6918e01df..0693cef0b 100644 --- a/src/@awesome-cordova-plugins/plugins/sqlite-db-copy/index.ts +++ b/src/@awesome-cordova-plugins/plugins/sqlite-db-copy/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Sqlite Db Copy @@ -30,7 +30,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class SqliteDbCopy extends IonicNativePlugin { +export class SqliteDbCopy extends AwesomeCordovaNativePlugin { /** * Copy database from www directory to device SQLite DB location * (for ios only, use 0 for Android) diff --git a/src/@awesome-cordova-plugins/plugins/sqlite-porter/index.ts b/src/@awesome-cordova-plugins/plugins/sqlite-porter/index.ts index e255cd050..c89ae6a1d 100644 --- a/src/@awesome-cordova-plugins/plugins/sqlite-porter/index.ts +++ b/src/@awesome-cordova-plugins/plugins/sqlite-porter/index.ts @@ -1,4 +1,4 @@ -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Injectable } from '@angular/core'; /** @@ -46,7 +46,7 @@ import { Injectable } from '@angular/core'; platforms: ['Amazon Fire OS', 'Android', 'BlackBerry 10', 'Browser', 'iOS', 'Tizen', 'Windows', 'Windows Phone'], }) @Injectable() -export class SQLitePorter extends IonicNativePlugin { +export class SQLitePorter extends AwesomeCordovaNativePlugin { /** * Executes a set of SQL statements against the defined database. Can be used to import data defined in the SQL statements into the database, and may additionally include commands to create the table structure. * @param db {Object} Database object diff --git a/src/@awesome-cordova-plugins/plugins/sqlite/index.ts b/src/@awesome-cordova-plugins/plugins/sqlite/index.ts index 8c18bd8cc..3b5d67df8 100644 --- a/src/@awesome-cordova-plugins/plugins/sqlite/index.ts +++ b/src/@awesome-cordova-plugins/plugins/sqlite/index.ts @@ -4,7 +4,7 @@ import { CordovaCheck, CordovaInstance, InstanceProperty, - IonicNativePlugin, + AwesomeCordovaNativePlugin, Plugin, } from '@awesome-cordova-plugins/core'; @@ -184,7 +184,7 @@ export class SQLiteObject { platforms: ['Android', 'iOS', 'macOS', 'Windows'], }) @Injectable() -export class SQLite extends IonicNativePlugin { +export class SQLite extends AwesomeCordovaNativePlugin { /** * Open or create a SQLite database file. * diff --git a/src/@awesome-cordova-plugins/plugins/star-prnt/index.ts b/src/@awesome-cordova-plugins/plugins/star-prnt/index.ts index ed5848803..0f287b4ab 100644 --- a/src/@awesome-cordova-plugins/plugins/star-prnt/index.ts +++ b/src/@awesome-cordova-plugins/plugins/star-prnt/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export interface Printer { @@ -649,7 +649,7 @@ export interface CommandsArray extends Array {} platforms: ['Android', 'iOS'], // Array of platforms supported, example: ['Android', 'iOS'] }) @Injectable() -export class StarPRNT extends IonicNativePlugin { +export class StarPRNT extends AwesomeCordovaNativePlugin { /** * Constant for Emulation */ diff --git a/src/@awesome-cordova-plugins/plugins/status-bar/index.ts b/src/@awesome-cordova-plugins/plugins/status-bar/index.ts index 1a7f50a04..25f6daf36 100644 --- a/src/@awesome-cordova-plugins/plugins/status-bar/index.ts +++ b/src/@awesome-cordova-plugins/plugins/status-bar/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, CordovaProperty, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Status Bar @@ -34,7 +34,7 @@ import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-co platforms: ['Android', 'iOS', 'Windows'], }) @Injectable() -export class StatusBar extends IonicNativePlugin { +export class StatusBar extends AwesomeCordovaNativePlugin { /** * Whether the StatusBar is currently visible or not. */ diff --git a/src/@awesome-cordova-plugins/plugins/streaming-media/index.ts b/src/@awesome-cordova-plugins/plugins/streaming-media/index.ts index a145e418e..06e16ec4e 100644 --- a/src/@awesome-cordova-plugins/plugins/streaming-media/index.ts +++ b/src/@awesome-cordova-plugins/plugins/streaming-media/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * Object of options to pass into the playVideo method. @@ -80,7 +80,7 @@ export interface StreamingAudioOptions { platforms: ['Amazon Fire OS', 'Android', 'iOS'], }) @Injectable() -export class StreamingMedia extends IonicNativePlugin { +export class StreamingMedia extends AwesomeCordovaNativePlugin { /** * Streams a video * @param videoUrl {string} The URL of the video diff --git a/src/@awesome-cordova-plugins/plugins/stripe/index.ts b/src/@awesome-cordova-plugins/plugins/stripe/index.ts index dd250e750..a6acd1a81 100644 --- a/src/@awesome-cordova-plugins/plugins/stripe/index.ts +++ b/src/@awesome-cordova-plugins/plugins/stripe/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface StripeCardTokenParams { /** @@ -143,7 +143,7 @@ export interface StripeCardTokenRes { platforms: ['Android', 'Browser', 'iOS'], }) @Injectable() -export class Stripe extends IonicNativePlugin { +export class Stripe extends AwesomeCordovaNativePlugin { /** * Set publishable key * @param publishableKey {string} Publishable key diff --git a/src/@awesome-cordova-plugins/plugins/sum-up/index.ts b/src/@awesome-cordova-plugins/plugins/sum-up/index.ts index 01db20ffd..d8f646771 100644 --- a/src/@awesome-cordova-plugins/plugins/sum-up/index.ts +++ b/src/@awesome-cordova-plugins/plugins/sum-up/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; export interface SumUpResponse { // Code to identify the message @@ -128,7 +128,7 @@ export class SumUpKeys { platforms: ['Android', 'iOS'], }) @Injectable() -export class SumUp extends IonicNativePlugin { +export class SumUp extends AwesomeCordovaNativePlugin { /** * Login a user with an optional access token. * If the access token is provided and valid, the user is logged in autmatically. diff --git a/src/@awesome-cordova-plugins/plugins/system-alert-window-permission/index.ts b/src/@awesome-cordova-plugins/plugins/system-alert-window-permission/index.ts index f114dfc3f..2d9f9b543 100644 --- a/src/@awesome-cordova-plugins/plugins/system-alert-window-permission/index.ts +++ b/src/@awesome-cordova-plugins/plugins/system-alert-window-permission/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; /** * @name System Alert Window Permission @@ -36,7 +36,7 @@ import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/cor platforms: ['Android'], }) @Injectable() -export class SystemAlertWindowPermission extends IonicNativePlugin { +export class SystemAlertWindowPermission extends AwesomeCordovaNativePlugin { /** * Check permission * @return {Promise} return 0 when dont have SYSTEM_ALERT_WINDOW permission, 1 when have SYSTEM_ALERT_WINDOW permission diff --git a/src/@awesome-cordova-plugins/plugins/taptic-engine/index.ts b/src/@awesome-cordova-plugins/plugins/taptic-engine/index.ts index 31a6223da..c1052d7d6 100644 --- a/src/@awesome-cordova-plugins/plugins/taptic-engine/index.ts +++ b/src/@awesome-cordova-plugins/plugins/taptic-engine/index.ts @@ -1,4 +1,4 @@ -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Injectable } from '@angular/core'; /** @@ -32,7 +32,7 @@ import { Injectable } from '@angular/core'; platforms: ['iOS'], }) @Injectable() -export class TapticEngine extends IonicNativePlugin { +export class TapticEngine extends AwesomeCordovaNativePlugin { /** * Use selection feedback generators to indicate a change in selection. * @returns {Promise} Returns a promise that resolves on success and rejects on error diff --git a/src/@awesome-cordova-plugins/plugins/tealium-adidentifier/index.ts b/src/@awesome-cordova-plugins/plugins/tealium-adidentifier/index.ts index d2d7ff1c1..d309b4109 100644 --- a/src/@awesome-cordova-plugins/plugins/tealium-adidentifier/index.ts +++ b/src/@awesome-cordova-plugins/plugins/tealium-adidentifier/index.ts @@ -1,4 +1,4 @@ -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Injectable } from '@angular/core'; /** @@ -33,7 +33,7 @@ import { Injectable } from '@angular/core'; install: '', // OPTIONAL install command, in case the plugin requires variables }) @Injectable() -export class TealiumAdIdentifier extends IonicNativePlugin { +export class TealiumAdIdentifier extends AwesomeCordovaNativePlugin { /** * This function stores the ad identifier information as persistent data * @param instanceName {string} Your arbitrary Tealium instance name provided at init time diff --git a/src/@awesome-cordova-plugins/plugins/tealium-installreferrer/index.ts b/src/@awesome-cordova-plugins/plugins/tealium-installreferrer/index.ts index 5b58ddcdf..665fba445 100644 --- a/src/@awesome-cordova-plugins/plugins/tealium-installreferrer/index.ts +++ b/src/@awesome-cordova-plugins/plugins/tealium-installreferrer/index.ts @@ -1,4 +1,4 @@ -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Injectable } from '@angular/core'; /** @@ -33,7 +33,7 @@ import { Injectable } from '@angular/core'; install: '', // OPTIONAL install command, in case the plugin requires variables }) @Injectable() -export class TealiumInstallReferrer extends IonicNativePlugin { +export class TealiumInstallReferrer extends AwesomeCordovaNativePlugin { /** * This function stores the install referrer information as persistent data * @param instanceName {string} Your arbitrary Tealium instance name provided at init time diff --git a/src/@awesome-cordova-plugins/plugins/tealium/index.ts b/src/@awesome-cordova-plugins/plugins/tealium/index.ts index 0e17c1c19..105b15e27 100644 --- a/src/@awesome-cordova-plugins/plugins/tealium/index.ts +++ b/src/@awesome-cordova-plugins/plugins/tealium/index.ts @@ -1,4 +1,4 @@ -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Injectable } from '@angular/core'; export interface TealConfig { @@ -79,7 +79,7 @@ export interface TealConfig { install: '', // OPTIONAL install command, in case the plugin requires variables }) @Injectable() -export class Tealium extends IonicNativePlugin { +export class Tealium extends AwesomeCordovaNativePlugin { /** * This function initializes the Tealium Cordova plugin. * This should usually be done inside the "deviceReady" handler. diff --git a/src/@awesome-cordova-plugins/plugins/text-to-speech-advanced/index.ts b/src/@awesome-cordova-plugins/plugins/text-to-speech-advanced/index.ts index 99d0f4c18..073ec145c 100644 --- a/src/@awesome-cordova-plugins/plugins/text-to-speech-advanced/index.ts +++ b/src/@awesome-cordova-plugins/plugins/text-to-speech-advanced/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface TTSOptions { /** text to speak */ @@ -55,7 +55,7 @@ export interface TTSVoice { platforms: ['Android', 'iOS'], }) @Injectable() -export class TextToSpeechAdvanced extends IonicNativePlugin { +export class TextToSpeechAdvanced extends AwesomeCordovaNativePlugin { /** * This function speaks * @param textOrOptions {string | TTSOptions} Text to speak or TTSOptions diff --git a/src/@awesome-cordova-plugins/plugins/theme-detection/index.ts b/src/@awesome-cordova-plugins/plugins/theme-detection/index.ts index bc9d11c88..67de7926a 100644 --- a/src/@awesome-cordova-plugins/plugins/theme-detection/index.ts +++ b/src/@awesome-cordova-plugins/plugins/theme-detection/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; export interface ThemeDetectionResponse { // Boolean value about the status of the request @@ -47,7 +47,7 @@ export interface ThemeDetectionResponse { platforms: ['iOS', 'Android'], }) @Injectable() -export class ThemeDetection extends IonicNativePlugin { +export class ThemeDetection extends AwesomeCordovaNativePlugin { /** * * @return {Promise} diff --git a/src/@awesome-cordova-plugins/plugins/three-dee-touch/index.ts b/src/@awesome-cordova-plugins/plugins/three-dee-touch/index.ts index dda578ef0..4848324d0 100644 --- a/src/@awesome-cordova-plugins/plugins/three-dee-touch/index.ts +++ b/src/@awesome-cordova-plugins/plugins/three-dee-touch/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, CordovaFunctionOverride, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, CordovaFunctionOverride, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export interface ThreeDeeTouchQuickAction { @@ -127,7 +127,7 @@ export interface ThreeDeeTouchForceTouch { platforms: ['iOS'], }) @Injectable() -export class ThreeDeeTouch extends IonicNativePlugin { +export class ThreeDeeTouch extends AwesomeCordovaNativePlugin { /** * You need an iPhone 6S or some future tech to use the features of this plugin, so you can check at runtime if the user's device is supported. * @returns {Promise} returns a promise that resolves with a boolean that indicates whether the plugin is available or not diff --git a/src/@awesome-cordova-plugins/plugins/toast/index.ts b/src/@awesome-cordova-plugins/plugins/toast/index.ts index c1f93f246..8963ee68a 100644 --- a/src/@awesome-cordova-plugins/plugins/toast/index.ts +++ b/src/@awesome-cordova-plugins/plugins/toast/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export interface ToastOptions { @@ -68,7 +68,7 @@ export interface ToastOptions { platforms: ['Android', 'BlackBerry 10', 'iOS', 'Windows', 'Windows Phone 8'], }) @Injectable() -export class Toast extends IonicNativePlugin { +export class Toast extends AwesomeCordovaNativePlugin { /** * Show a native toast for the given duration at the specified position. * diff --git a/src/@awesome-cordova-plugins/plugins/touch-id/index.ts b/src/@awesome-cordova-plugins/plugins/touch-id/index.ts index b02dbe8ee..16d945027 100644 --- a/src/@awesome-cordova-plugins/plugins/touch-id/index.ts +++ b/src/@awesome-cordova-plugins/plugins/touch-id/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Touch ID @@ -50,7 +50,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['iOS'], }) @Injectable() -export class TouchID extends IonicNativePlugin { +export class TouchID extends AwesomeCordovaNativePlugin { /** * Checks Whether TouchID is available or not. * diff --git a/src/@awesome-cordova-plugins/plugins/unvired-cordova-sdk/index.ts b/src/@awesome-cordova-plugins/plugins/unvired-cordova-sdk/index.ts index 7d276e4ed..6e7c69c58 100644 --- a/src/@awesome-cordova-plugins/plugins/unvired-cordova-sdk/index.ts +++ b/src/@awesome-cordova-plugins/plugins/unvired-cordova-sdk/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; /** @@ -603,7 +603,7 @@ export class UnviredCredential { platforms: ['iOS', 'Android', 'Windows', 'Browser'], // Array of platforms supported, example: ['Android', 'iOS'] }) @Injectable() -export class UnviredCordovaSDK extends IonicNativePlugin { +export class UnviredCordovaSDK extends AwesomeCordovaNativePlugin { loginParameters: LoginParameters; /** diff --git a/src/@awesome-cordova-plugins/plugins/uptime/index.ts b/src/@awesome-cordova-plugins/plugins/uptime/index.ts index 3f25e5986..1d792f290 100644 --- a/src/@awesome-cordova-plugins/plugins/uptime/index.ts +++ b/src/@awesome-cordova-plugins/plugins/uptime/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Uptime @@ -28,7 +28,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class Uptime extends IonicNativePlugin { +export class Uptime extends AwesomeCordovaNativePlugin { /** * This function return system uptime * @param {boolean} includeDeepSleep Set to true to include system deep sleep diff --git a/src/@awesome-cordova-plugins/plugins/urbanairship/index.ts b/src/@awesome-cordova-plugins/plugins/urbanairship/index.ts index 017a98c99..5da6c06c6 100644 --- a/src/@awesome-cordova-plugins/plugins/urbanairship/index.ts +++ b/src/@awesome-cordova-plugins/plugins/urbanairship/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export interface TagGroupEditor { @@ -62,7 +62,7 @@ export enum PresentationOptions { platforms: ['Android', 'iOS'], }) @Injectable() -export class UrbanAirShip extends IonicNativePlugin { +export class UrbanAirShip extends AwesomeCordovaNativePlugin { /** * Event fired when a new deep link is received. * diff --git a/src/@awesome-cordova-plugins/plugins/usabilla-cordova-sdk/index.ts b/src/@awesome-cordova-plugins/plugins/usabilla-cordova-sdk/index.ts index dfaa959c3..7d52e0704 100644 --- a/src/@awesome-cordova-plugins/plugins/usabilla-cordova-sdk/index.ts +++ b/src/@awesome-cordova-plugins/plugins/usabilla-cordova-sdk/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; export interface UsabillaResult { completed: boolean | string; @@ -57,7 +57,7 @@ export interface UbResult { platforms: ['Android', 'iOS'], }) @Injectable() -export class Usabilla extends IonicNativePlugin { +export class Usabilla extends AwesomeCordovaNativePlugin { /** * Initializes Usabilla sdk for capturing feedbacks. * diff --git a/src/@awesome-cordova-plugins/plugins/vibes/index.ts b/src/@awesome-cordova-plugins/plugins/vibes/index.ts index 67fdbc67b..d3e6eda62 100644 --- a/src/@awesome-cordova-plugins/plugins/vibes/index.ts +++ b/src/@awesome-cordova-plugins/plugins/vibes/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export interface DeviceResponse { @@ -72,7 +72,7 @@ export interface InboxMessage { platforms: ['Android', 'iOS'], }) @Injectable() -export class Vibes extends IonicNativePlugin { +export class Vibes extends AwesomeCordovaNativePlugin { /** * Register this device with the Vibes platform * diff --git a/src/@awesome-cordova-plugins/plugins/vibration/index.ts b/src/@awesome-cordova-plugins/plugins/vibration/index.ts index c39b2fa52..3fac0c033 100644 --- a/src/@awesome-cordova-plugins/plugins/vibration/index.ts +++ b/src/@awesome-cordova-plugins/plugins/vibration/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Vibration @@ -36,7 +36,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS', 'Windows'], }) @Injectable() -export class Vibration extends IonicNativePlugin { +export class Vibration extends AwesomeCordovaNativePlugin { /** * Vibrates the device for given amount of time. * @param time {number|number[]} Milliseconds to vibrate the device. If passed an array of numbers, it will define a vibration pattern. Pass 0 to stop any vibration immediately. diff --git a/src/@awesome-cordova-plugins/plugins/video-editor/index.ts b/src/@awesome-cordova-plugins/plugins/video-editor/index.ts index eca5e4aa4..820b4b6b8 100644 --- a/src/@awesome-cordova-plugins/plugins/video-editor/index.ts +++ b/src/@awesome-cordova-plugins/plugins/video-editor/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface TranscodeOptions { /** The path to the video on the device. */ @@ -146,7 +146,7 @@ export interface VideoInfo { platforms: ['Android', 'iOS', 'Windows', 'Windows Phone 8'], }) @Injectable() -export class VideoEditor extends IonicNativePlugin { +export class VideoEditor extends AwesomeCordovaNativePlugin { OptimizeForNetworkUse = { NO: 0, YES: 1, diff --git a/src/@awesome-cordova-plugins/plugins/video-player/index.ts b/src/@awesome-cordova-plugins/plugins/video-player/index.ts index 4582e3dd4..6af2c3fa4 100644 --- a/src/@awesome-cordova-plugins/plugins/video-player/index.ts +++ b/src/@awesome-cordova-plugins/plugins/video-player/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * Options for the video playback using the `play` function. @@ -51,7 +51,7 @@ export interface VideoOptions { platforms: ['Android'], }) @Injectable() -export class VideoPlayer extends IonicNativePlugin { +export class VideoPlayer extends AwesomeCordovaNativePlugin { /** * Plays the video from the passed url. * @param fileUrl {string} File url to the video. diff --git a/src/@awesome-cordova-plugins/plugins/web-intent/index.ts b/src/@awesome-cordova-plugins/plugins/web-intent/index.ts index 3bd94b897..6b7153b51 100644 --- a/src/@awesome-cordova-plugins/plugins/web-intent/index.ts +++ b/src/@awesome-cordova-plugins/plugins/web-intent/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, CordovaProperty, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export interface IntentClipItem { @@ -71,7 +71,7 @@ export interface IntentOptions { platforms: ['Android'], }) @Injectable() -export class WebIntent extends IonicNativePlugin { +export class WebIntent extends AwesomeCordovaNativePlugin { /** * Convenience constant for actions * @type {string} diff --git a/src/@awesome-cordova-plugins/plugins/web-server/index.ts b/src/@awesome-cordova-plugins/plugins/web-server/index.ts index 8a474a889..5bd5cb155 100644 --- a/src/@awesome-cordova-plugins/plugins/web-server/index.ts +++ b/src/@awesome-cordova-plugins/plugins/web-server/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export interface Response { @@ -63,7 +63,7 @@ export interface Request { platforms: ['Android', 'iOS'], }) @Injectable() -export class WebServer extends IonicNativePlugin { +export class WebServer extends AwesomeCordovaNativePlugin { /** * This method will start your webserver. * @param port {number} Port number (default to 8080) diff --git a/src/@awesome-cordova-plugins/plugins/web-socket-server/index.ts b/src/@awesome-cordova-plugins/plugins/web-socket-server/index.ts index 38d0046c6..3249bac00 100644 --- a/src/@awesome-cordova-plugins/plugins/web-socket-server/index.ts +++ b/src/@awesome-cordova-plugins/plugins/web-socket-server/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; declare const window: any; @@ -108,7 +108,7 @@ export interface HttpFields { platforms: ['Android', 'iOS'], }) @Injectable() -export class WebSocketServer extends IonicNativePlugin { +export class WebSocketServer extends AwesomeCordovaNativePlugin { /** * Return this device's interfaces * @return {Promise} diff --git a/src/@awesome-cordova-plugins/plugins/webengage/index.ts b/src/@awesome-cordova-plugins/plugins/webengage/index.ts index 4bdec1885..0141e2c92 100644 --- a/src/@awesome-cordova-plugins/plugins/webengage/index.ts +++ b/src/@awesome-cordova-plugins/plugins/webengage/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Webengage @@ -26,7 +26,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class Webengage extends IonicNativePlugin { +export class Webengage extends AwesomeCordovaNativePlugin { /** * Initializes WebEngage SDK * @param {any} [config] @@ -80,7 +80,7 @@ export class Webengage extends IonicNativePlugin { pluginRef: 'webengage.user', }) @Injectable() -export class WebengageUser extends IonicNativePlugin { +export class WebengageUser extends AwesomeCordovaNativePlugin { /** * Logs user in * @param {string} userId @@ -121,7 +121,7 @@ export class WebengageUser extends IonicNativePlugin { pluginRef: 'webengage.push', }) @Injectable() -export class WebengagePush extends IonicNativePlugin { +export class WebengagePush extends AwesomeCordovaNativePlugin { /** * Callback function is invoked when a push notification is clicked * @param {any} callback @@ -153,7 +153,7 @@ export class WebengagePush extends IonicNativePlugin { pluginRef: 'webengage.notification', }) @Injectable() -export class WebengageNotification extends IonicNativePlugin { +export class WebengageNotification extends AwesomeCordovaNativePlugin { /** * Callback function is invoked when a in-app notification is shown * @param {any} callback diff --git a/src/@awesome-cordova-plugins/plugins/wechat/index.ts b/src/@awesome-cordova-plugins/plugins/wechat/index.ts index 0c84474d3..c4dfd9242 100644 --- a/src/@awesome-cordova-plugins/plugins/wechat/index.ts +++ b/src/@awesome-cordova-plugins/plugins/wechat/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Wechat @@ -32,7 +32,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class Wechat extends IonicNativePlugin { +export class Wechat extends AwesomeCordovaNativePlugin { Scene: { SESSION: 0; // 聊天界面 TIMELINE: 1; // 朋友圈 diff --git a/src/@awesome-cordova-plugins/plugins/wheel-selector/index.ts b/src/@awesome-cordova-plugins/plugins/wheel-selector/index.ts index 1a67a2c3b..a5db6b0e5 100644 --- a/src/@awesome-cordova-plugins/plugins/wheel-selector/index.ts +++ b/src/@awesome-cordova-plugins/plugins/wheel-selector/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface WheelSelectorItem { description?: string; @@ -180,7 +180,7 @@ export interface WheelSelectorData { platforms: ['Android', 'iOS'], }) @Injectable() -export class WheelSelector extends IonicNativePlugin { +export class WheelSelector extends AwesomeCordovaNativePlugin { /** * Shows the wheel selector * @param {WheelSelectorOptions} options Options for the wheel selector diff --git a/src/@awesome-cordova-plugins/plugins/wifi-wizard-2/index.ts b/src/@awesome-cordova-plugins/plugins/wifi-wizard-2/index.ts index 46f9ecc6b..e3dd1290c 100644 --- a/src/@awesome-cordova-plugins/plugins/wifi-wizard-2/index.ts +++ b/src/@awesome-cordova-plugins/plugins/wifi-wizard-2/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, CordovaFunctionOverride, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, CordovaFunctionOverride, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface WifiConfig { SSID: string; @@ -436,7 +436,7 @@ export interface WifiScanOptions extends WifiScanResultsOptions { platforms: ['Android', 'iOS'], }) @Injectable() -export class WifiWizard2 extends IonicNativePlugin { +export class WifiWizard2 extends AwesomeCordovaNativePlugin { /** * Connect to network on iOS device * @param ssid diff --git a/src/@awesome-cordova-plugins/plugins/wonderpush/index.ts b/src/@awesome-cordova-plugins/plugins/wonderpush/index.ts index 09abb02de..300c646b1 100644 --- a/src/@awesome-cordova-plugins/plugins/wonderpush/index.ts +++ b/src/@awesome-cordova-plugins/plugins/wonderpush/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Plugin, Cordova, IonicNativePlugin, getPromise } from '@awesome-cordova-plugins/core'; +import { Plugin, Cordova, AwesomeCordovaNativePlugin, getPromise } from '@awesome-cordova-plugins/core'; export interface WonderPushDelegate { urlForDeepLink(url: string, callback: (url?: string) => void): void; @@ -217,7 +217,7 @@ export class UserPreferencesMethods extends NestedObject { platforms: ['Android', 'iOS'], }) @Injectable() -export class WonderPush extends IonicNativePlugin { +export class WonderPush extends AwesomeCordovaNativePlugin { /** * Sets the user id, used to identify a single identity across multiple devices, * and to correctly identify multiple users on a single device. diff --git a/src/@awesome-cordova-plugins/plugins/youtube-video-player/index.ts b/src/@awesome-cordova-plugins/plugins/youtube-video-player/index.ts index 2059dcc32..479466663 100644 --- a/src/@awesome-cordova-plugins/plugins/youtube-video-player/index.ts +++ b/src/@awesome-cordova-plugins/plugins/youtube-video-player/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Youtube Video Player * @description @@ -33,7 +33,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], }) @Injectable() -export class YoutubeVideoPlayer extends IonicNativePlugin { +export class YoutubeVideoPlayer extends AwesomeCordovaNativePlugin { /** * Plays a YouTube video * @param videoId {string} Video ID diff --git a/src/@awesome-cordova-plugins/plugins/zbar/index.ts b/src/@awesome-cordova-plugins/plugins/zbar/index.ts index d67609213..33395cb74 100644 --- a/src/@awesome-cordova-plugins/plugins/zbar/index.ts +++ b/src/@awesome-cordova-plugins/plugins/zbar/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; export interface ZBarOptions { /** @@ -76,7 +76,7 @@ export interface ZBarOptions { platforms: ['Android', 'iOS'], }) @Injectable() -export class ZBar extends IonicNativePlugin { +export class ZBar extends AwesomeCordovaNativePlugin { /** * Open the scanner * @param options { ZBarOptions } Scan options diff --git a/src/@awesome-cordova-plugins/plugins/zeroconf/index.ts b/src/@awesome-cordova-plugins/plugins/zeroconf/index.ts index bec44950b..34aa9ccaf 100644 --- a/src/@awesome-cordova-plugins/plugins/zeroconf/index.ts +++ b/src/@awesome-cordova-plugins/plugins/zeroconf/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; import { Observable } from 'rxjs'; export interface ZeroconfService { @@ -59,7 +59,7 @@ export interface ZeroconfResult { platforms: ['Android', 'iOS'], }) @Injectable() -export class Zeroconf extends IonicNativePlugin { +export class Zeroconf extends AwesomeCordovaNativePlugin { /** * Returns this device's hostname. * @return {Promise} diff --git a/src/@awesome-cordova-plugins/plugins/zoom/index.ts b/src/@awesome-cordova-plugins/plugins/zoom/index.ts index c699370b0..47aea4cab 100755 --- a/src/@awesome-cordova-plugins/plugins/zoom/index.ts +++ b/src/@awesome-cordova-plugins/plugins/zoom/index.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; +import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; /** * @name Zoom @@ -85,7 +85,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor platforms: ['Android', 'iOS'], // Array of platforms supported, example: ['Android', 'iOS'] }) @Injectable() -export class Zoom extends IonicNativePlugin { +export class Zoom extends AwesomeCordovaNativePlugin { /** * Initialize Zoom SDK. * @param appKey Zoom SDK app key.