chore(repo): move files to new repo name

This commit is contained in:
Daniel Sogl 2021-09-27 17:07:03 +02:00
parent 3ae573b632
commit 15c441cc2a
246 changed files with 484 additions and 523 deletions

2
.gitignore vendored
View File

@ -7,7 +7,7 @@ scripts/ionic-native-bower
scripts/docs-json/*.json scripts/docs-json/*.json
scripts/docs-json/typedoc-docs scripts/docs-json/typedoc-docs
dist/ dist/
src/@ionic-native/plugins/**/ngx src/@awesome-cordova-plugins/plugins/**/ngx
*.d.ts *.d.ts
injectable-classes.json injectable-classes.json

View File

@ -44,7 +44,7 @@ gulp.task('plugin:create', () => {
.pipe(replace('{{ pluginName }}', _.lowerFirst(pluginName))) .pipe(replace('{{ pluginName }}', _.lowerFirst(pluginName)))
.pipe(replace('{{ plugin-name }}', kebabCase)) .pipe(replace('{{ plugin-name }}', kebabCase))
.pipe(rename('index.ts')) .pipe(rename('index.ts'))
.pipe(gulp.dest('./src/@ionic-native/plugins/' + kebabCase)); .pipe(gulp.dest('./src/@awesome-cordova-plugins/plugins/' + kebabCase));
} else { } else {
console.log('Usage is: gulp plugin:create -n PluginName'); console.log('Usage is: gulp plugin:create -n PluginName');
} }

View File

@ -1,51 +0,0 @@
version: 2
jobs:
build:
working_directory: ~/ionic-native/
docker:
- image: node:14
steps:
- checkout
- restore_cache:
key: ionic-site-{{ checksum "package.json" }}
- run:
name: Prepare ionic-site repo
command: |
if [ "${CIRCLE_BRANCH}" == "master" ]; then
./scripts/docs/prepare.sh
fi
- save_cache:
key: ionic-site-{{ checksum "package.json" }}
paths:
- ~/ionic-site/
- restore_cache:
key: node_modules_{{ checksum "package.json" }}
- run:
name: Install node modules
command: npm ci
- save_cache:
key: node_modules_{{ checksum "package.json" }}
paths:
- ~/ionic-native/node_modules/
- run:
name: Run tslint
command: npm run lint
- run: bash ./scripts/git/config.sh
- run:
name: Build Ionic Native
command: npm run build
- run:
name: Generate README files to ensure docs are valid
command: npm run readmes
- run:
name: Run tests
command: npm test
- add_ssh_keys
- deploy:
name: Update docs
command: |
if [ "${CIRCLE_BRANCH}" == "master" ]; then
./scripts/docs/update_docs.sh
else
echo "We are on ${CIRCLE_BRANCH} branch, not going to update docs."
fi

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{ {
"name": "ionic-native", "name": "awesome-cordova-plugins",
"version": "5.36.0", "version": "5.36.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "ionic-native", "name": "awesome-cordova-plugins",
"version": "5.36.0", "version": "5.36.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {

View File

@ -1,9 +1,9 @@
{ {
"name": "ionic-native", "name": "awesome-cordova-plugins",
"version": "5.36.0", "version": "5.36.0",
"description": "Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support", "description": "Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support",
"homepage": "https://ionicframework.com/", "homepage": "https://awesome-cordova-plugins.com",
"author": "Ionic Team <hi@ionic.io> (https://ionic.io)", "author": "Daniel Sogl <me@danielsogl.com> (https://danielsogl.com)",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"prepare": "is-ci || husky install", "prepare": "is-ci || husky install",
@ -21,7 +21,7 @@
"docs-json": "ts-node -P scripts/tsconfig.json scripts/docs-json", "docs-json": "ts-node -P scripts/tsconfig.json scripts/docs-json",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md", "version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md",
"shipit": "npm run build && npm run readmes && npm run npmpub", "shipit": "npm run build && npm run readmes && npm run npmpub",
"prettier": "prettier src/**/* --write" "prettier": "prettier src/**/* --write --ignore-unknown"
}, },
"dependencies": { "dependencies": {
"tslib": "^2.3.1" "tslib": "^2.3.1"
@ -89,10 +89,10 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/ionic-team/ionic-native.git" "url": "git+https://github.com/danielsogl/awesome-cordova-plugins.git"
}, },
"bugs": { "bugs": {
"url": "https://github.com/ionic-team/ionic-native/issues" "url": "https://github.com/danielsogl/awesome-cordova-plugins/issues"
}, },
"config": { "config": {
"commitizen": { "commitizen": {
@ -101,7 +101,7 @@
}, },
"lint-staged": { "lint-staged": {
"*": [ "*": [
"prettier src/**/* --write" "prettier src/**/* --write --ignore-unknown"
] ]
} }
} }

View File

@ -8,7 +8,7 @@ export const ROOT = path.resolve(__dirname, '../../');
// tslint:disable-next-line:no-var-requires // tslint:disable-next-line:no-var-requires
export const TS_CONFIG = clone(require(path.resolve(ROOT, 'tsconfig.json'))); export const TS_CONFIG = clone(require(path.resolve(ROOT, 'tsconfig.json')));
export const COMPILER_OPTIONS = TS_CONFIG.compilerOptions; export const COMPILER_OPTIONS = TS_CONFIG.compilerOptions;
export const PLUGINS_ROOT = path.join(ROOT, 'src/@ionic-native/plugins/'); export const PLUGINS_ROOT = path.join(ROOT, 'src/@awesome-cordova-plugins/plugins/');
export const PLUGIN_PATHS = fs.readdirSync(PLUGINS_ROOT).map(d => path.join(PLUGINS_ROOT, d, 'index.ts')); export const PLUGIN_PATHS = fs.readdirSync(PLUGINS_ROOT).map(d => path.join(PLUGINS_ROOT, d, 'index.ts'));
export function getDecorator(node: ts.Node, index = 0): ts.Decorator { export function getDecorator(node: ts.Node, index = 0): ts.Decorator {

View File

@ -34,7 +34,7 @@ export function getProgram(rootNames: string[] = createSourceFiles()) {
// hacky way to export metadata only for core package // hacky way to export metadata only for core package
export function transpileNgxCore() { export function transpileNgxCore() {
getProgram([path.resolve(ROOT, 'src/@ionic-native/core/index.ts')]).emit({ getProgram([path.resolve(ROOT, 'src/@awesome-cordova-plugins/core/index.ts')]).emit({
emitFlags: EmitFlags.Metadata, emitFlags: EmitFlags.Metadata,
emitCallback: ({ program, writeFile, customTransformers, cancellationToken, targetSourceFile }) => { emitCallback: ({ program, writeFile, customTransformers, cancellationToken, targetSourceFile }) => {
return program.emit(targetSourceFile, writeFile, cancellationToken, true, customTransformers); return program.emit(targetSourceFile, writeFile, cancellationToken, true, customTransformers);
@ -57,7 +57,7 @@ export function generateDeclarationFiles() {
export function generateLegacyBundles() { export function generateLegacyBundles() {
[ [
path.resolve(ROOT, 'dist/@ionic-native/core/index.js'), path.resolve(ROOT, 'dist/@awesome-cordova-plugins/core/index.js'),
...PLUGIN_PATHS.map(p => ...PLUGIN_PATHS.map(p =>
p.replace(path.join(ROOT, 'src'), path.join(ROOT, 'dist')).replace('index.ts', 'ngx/index.js') p.replace(path.join(ROOT, 'src'), path.join(ROOT, 'dist')).replace('index.ts', 'ngx/index.js')
), ),
@ -69,7 +69,7 @@ export function generateLegacyBundles() {
if (warning.code === 'UNUSED_EXTERNAL_IMPORT') return; if (warning.code === 'UNUSED_EXTERNAL_IMPORT') return;
warn(warning); warn(warning);
}, },
external: ['@angular/core', '@ionic-native/core', 'rxjs', 'tslib'], external: ['@angular/core', '@awesome-cordova-plugins/core', 'rxjs', 'tslib'],
}) })
.then(bundle => .then(bundle =>
bundle.write({ bundle.write({
@ -80,7 +80,7 @@ export function generateLegacyBundles() {
); );
} }
// remove reference to @ionic-native/core decorators // remove reference to @awesome-cordova-plugins/core decorators
export function modifyMetadata() { export function modifyMetadata() {
debugger; debugger;
PLUGIN_PATHS.map(p => PLUGIN_PATHS.map(p =>
@ -106,7 +106,7 @@ export function modifyMetadata() {
function removeIonicNativeDecorators(node: any) { function removeIonicNativeDecorators(node: any) {
if (node.decorators && node.decorators.length) { if (node.decorators && node.decorators.length) {
node.decorators = node.decorators.filter( node.decorators = node.decorators.filter(
(d: { expression: { module: string } }) => d.expression.module !== '@ionic-native/core' (d: { expression: { module: string } }) => d.expression.module !== '@awesome-cordova-plugins/core'
); );
} }

View File

@ -24,7 +24,7 @@ export const EMIT_PATH = path.resolve(ROOT, 'injectable-classes.json');
export function extractInjectables() { export function extractInjectables() {
return (ctx: ts.TransformationContext) => { return (ctx: ts.TransformationContext) => {
return tsSourceFile => { return tsSourceFile => {
if (tsSourceFile.fileName.indexOf('src/@ionic-native/plugins') > -1) { if (tsSourceFile.fileName.indexOf('src/@awesome-cordova-plugins/plugins') > -1) {
ts.visitEachChild( ts.visitEachChild(
tsSourceFile, tsSourceFile,
node => { node => {

View File

@ -10,12 +10,12 @@ function transformImports(file: ts.SourceFile, ctx: ts.TransformationContext, ng
); );
} }
// find the @ionic-native/core import statement // find the @awesome-cordova-plugins/core import statement
const importStatement = (file.statements as any).find((s: any) => { const importStatement = (file.statements as any).find((s: any) => {
return s.kind === ts.SyntaxKind.ImportDeclaration && s.moduleSpecifier.text === '@ionic-native/core'; return s.kind === ts.SyntaxKind.ImportDeclaration && s.moduleSpecifier.text === '@awesome-cordova-plugins/core';
}); });
// we're only interested in files containing @ionic-native/core import statement // we're only interested in files containing @awesome-cordova-plugins/core import statement
if (!importStatement) return file; if (!importStatement) return file;
const decorators: string[] = []; const decorators: string[] = [];

View File

@ -63,7 +63,7 @@ function transformClasses(file: ts.SourceFile, ctx: ts.TransformationContext, ng
export function pluginClassTransformer(ngcBuild?: boolean): ts.TransformerFactory<ts.SourceFile> { export function pluginClassTransformer(ngcBuild?: boolean): ts.TransformerFactory<ts.SourceFile> {
return (ctx: ts.TransformationContext) => { return (ctx: ts.TransformationContext) => {
return tsSourceFile => { return tsSourceFile => {
if (tsSourceFile.fileName.indexOf('src/@ionic-native/plugins') > -1) if (tsSourceFile.fileName.indexOf('src/@awesome-cordova-plugins/plugins') > -1)
return transformClasses(tsSourceFile, ctx, ngcBuild); return transformClasses(tsSourceFile, ctx, ngcBuild);
return tsSourceFile; return tsSourceFile;
}; };

View File

@ -22,7 +22,7 @@ interface Plugin {
const rootDir = resolve(__dirname, '../..'); const rootDir = resolve(__dirname, '../..');
const typedocDocsTmp = resolve(__dirname, 'typedoc-docs'); const typedocDocsTmp = resolve(__dirname, 'typedoc-docs');
const typedocTmp = resolve(__dirname, 'typedoc.tmp.json'); const typedocTmp = resolve(__dirname, 'typedoc.tmp.json');
const pluginsDir = resolve(rootDir, 'src/@ionic-native/plugins'); const pluginsDir = resolve(rootDir, 'src/@awesome-cordova-plugins/plugins');
const typedoc = new Application(); const typedoc = new Application();
typedoc.options.addReader(new TypeDoc.TSConfigReader()); typedoc.options.addReader(new TypeDoc.TSConfigReader());
@ -66,7 +66,7 @@ function processPlugin(pluginModule): Plugin {
const pluginClass = pluginModule.children.find(isPlugin); const pluginClass = pluginModule.children.find(isPlugin);
console.log(pluginClass); console.log(pluginClass);
const decorator = getPluginDecorator(pluginClass); const decorator = getPluginDecorator(pluginClass);
const packageName = `@ionic-native/${basename(dirname(pluginModule.originalName))}`; const packageName = `@awesome-cordova-plugins/${basename(dirname(pluginModule.originalName))}`;
const displayName = getTag(pluginClass, 'name'); const displayName = getTag(pluginClass, 'name');
const usage = getTag(pluginClass, 'usage'); const usage = getTag(pluginClass, 'usage');
const description = getTag(pluginClass, 'description'); const description = getTag(pluginClass, 'description');

View File

@ -2,5 +2,5 @@
"sitePath": "../ionic-site", "sitePath": "../ionic-site",
"v2DocsDir": "docs/native", "v2DocsDir": "docs/native",
"docsDest": "../ionic-site/content/docs/native", "docsDest": "../ionic-site/content/docs/native",
"pluginDir": "dist/@ionic-native/plugins" "pluginDir": "dist/@awesome-cordova-plugins/plugins"
} }

View File

@ -52,7 +52,7 @@ module.exports = currentVersion => {
readFilesProcessor.basePath = path.resolve(__dirname, '../../..'); readFilesProcessor.basePath = path.resolve(__dirname, '../../..');
readTypeScriptModules.basePath = path.resolve(__dirname, '../../..'); readTypeScriptModules.basePath = path.resolve(__dirname, '../../..');
readTypeScriptModules.sourceFiles = ['./src/@ionic-native/plugins/**/*.ts']; readTypeScriptModules.sourceFiles = ['./src/@awesome-cordova-plugins/plugins/**/*.ts'];
}) })
// Configure file writing // Configure file writing

View File

@ -51,12 +51,12 @@ module.exports = currentVersion => {
readFilesProcessor.basePath = path.resolve(__dirname, '../../..'); readFilesProcessor.basePath = path.resolve(__dirname, '../../..');
readTypeScriptModules.basePath = path.resolve(path.resolve(__dirname, '../../..')); readTypeScriptModules.basePath = path.resolve(path.resolve(__dirname, '../../..'));
readTypeScriptModules.sourceFiles = ['./src/@ionic-native/plugins/**/*.ts']; readTypeScriptModules.sourceFiles = ['./src/@awesome-cordova-plugins/plugins/**/*.ts'];
}) })
// Configure file writing // Configure file writing
.config(function (writeFilesProcessor) { .config(function (writeFilesProcessor) {
writeFilesProcessor.outputFolder = './dist/@ionic-native/'; writeFilesProcessor.outputFolder = './dist/@awesome-cordova-plugins/';
}) })
// Configure rendering // Configure rendering

View File

@ -10,7 +10,7 @@ module.exports = function readmes(renderDocsProcessor) {
docs = docs.filter(doc => (!!doc.name && !!doc.outputPath) || doc.docType === 'index-page'); docs = docs.filter(doc => (!!doc.name && !!doc.outputPath) || doc.docType === 'index-page');
docs.forEach(doc => { docs.forEach(doc => {
doc.outputPath = doc.outputPath.replace('src/@ionic-native/', ''); doc.outputPath = doc.outputPath.replace('src/@awesome-cordova-plugins/', '');
}); });
return docs; return docs;

View File

@ -1,4 +1,4 @@
<a style="float:right;font-size:12px;" href="http://github.com/ionic-team/ionic-native/edit/master/<$ doc.fileInfo.relativePath|replace('/home/ubuntu/ionic-native/', '')|replace('//','/') $>#L<$ doc.location.start.line $>"> <a style="float:right;font-size:12px;" href="http://github.com/danielsogl/awesome-cordova-plugins/edit/master/<$ doc.fileInfo.relativePath|replace('/home/ubuntu/ionic-native/', '')|replace('//','/') $>#L<$ doc.location.start.line $>">
Improve this doc Improve this doc
</a> </a>
@ -20,7 +20,7 @@ $ <@ if prop.install @><$ prop.install $><@ else @>ionic cordova plugin add <$ p
$ npm install @ionic-native/<$ doc.npmId $> $ npm install @ionic-native/<$ doc.npmId $>
``` ```
## [Usage Documentation](https://ionicframework.com/docs/native/<$ doc.fileInfo.relativePath|replace('/home/ubuntu/ionic-native/', '')|replace('//','/')|replace('index.ts','')|replace('src/@ionic-native/plugins/','') $>) ## [Usage Documentation](https://ionicframework.com/docs/native/<$ doc.fileInfo.relativePath|replace('/home/ubuntu/ionic-native/', '')|replace('//','/')|replace('index.ts','')|replace('src/@awesome-cordova-plugins/plugins/','') $>)
Plugin Repo: [<$ prop.repo $>](<$ prop.repo $>) Plugin Repo: [<$ prop.repo $>](<$ prop.repo $>)

View File

@ -33,7 +33,7 @@ const webpackConfig: webpack.Configuration = {
modules: ['node_modules'], modules: ['node_modules'],
extensions: ['.js'], extensions: ['.js'],
alias: { alias: {
'@ionic-native/core': path.resolve(DIST, '@ionic-native/core/index.js'), '@awesome-cordova-plugins/core': path.resolve(DIST, '@awesome-cordova-plugins/core/index.js'),
}, },
}, },
module: { module: {
@ -68,8 +68,8 @@ function createIndexFile() {
fileContent += `\nwindow.IonicNative = {\n`; fileContent += `\nwindow.IonicNative = {\n`;
fileContent += INJECTABLE_CLASSES.map(e => e.className).join(',\n'); fileContent += INJECTABLE_CLASSES.map(e => e.className).join(',\n');
fileContent += '\n};\n'; fileContent += '\n};\n';
fileContent += `require('./@ionic-native/core/bootstrap').checkReady();\n`; fileContent += `require('./@awesome-cordova-plugins/core/bootstrap').checkReady();\n`;
fileContent += `require('./@ionic-native/core/ng1').initAngular1(window.IonicNative);`; fileContent += `require('./@awesome-cordova-plugins/core/ng1').initAngular1(window.IonicNative);`;
fs.writeFileSync(INDEX_PATH, fileContent, { encoding: 'utf-8' }); fs.writeFileSync(INDEX_PATH, fileContent, { encoding: 'utf-8' });
} }

View File

@ -14,7 +14,7 @@ const VERSION = MAIN_PACKAGE_JSON.version;
const FLAGS = '--access public'; const FLAGS = '--access public';
const PACKAGE_JSON_BASE = { const PACKAGE_JSON_BASE = {
description: 'Ionic Native - Native plugins for ionic apps', description: 'Awesome Cordova Plugins - Native plugins for ionic apps',
main: 'bundle.js', main: 'bundle.js',
module: 'index.js', module: 'index.js',
typings: 'index.d.ts', typings: 'index.d.ts',
@ -22,11 +22,11 @@ const PACKAGE_JSON_BASE = {
license: 'MIT', license: 'MIT',
repository: { repository: {
type: 'git', type: 'git',
url: 'https://github.com/ionic-team/ionic-native.git', url: 'https://github.com/danielsogl/awesome-cordova-plugins.git',
}, },
}; };
const DIST = path.resolve(ROOT, 'dist/@ionic-native'); const DIST = path.resolve(ROOT, 'dist/@awesome-cordova-plugins');
const PACKAGES = []; const PACKAGES = [];
@ -34,13 +34,13 @@ const MIN_CORE_VERSION = '^5.1.0';
const RXJS_VERSION = '^5.5.0 || ^6.5.0'; const RXJS_VERSION = '^5.5.0 || ^6.5.0';
const PLUGIN_PEER_DEPENDENCIES = { const PLUGIN_PEER_DEPENDENCIES = {
'@ionic-native/core': MIN_CORE_VERSION, '@awesome-cordova-plugins/core': MIN_CORE_VERSION,
rxjs: RXJS_VERSION, rxjs: RXJS_VERSION,
}; };
function getPackageJsonContent(name: string, peerDependencies = {}, dependencies = {}) { function getPackageJsonContent(name: string, peerDependencies = {}, dependencies = {}) {
return merge(PACKAGE_JSON_BASE, { return merge(PACKAGE_JSON_BASE, {
name: '@ionic-native/' + name, name: '@awesome-cordova-plugins/' + name,
dependencies, dependencies,
peerDependencies, peerDependencies,
version: VERSION, version: VERSION,
@ -57,7 +57,7 @@ function writeNGXPackageJson(data: any, dir: string) {
fs.writeJSONSync(filePath, data); fs.writeJSONSync(filePath, data);
} }
function prepare() { function prepare() {
// write @ionic-native/core package.json // write @awesome-cordova-plugins/core package.json
writePackageJson( writePackageJson(
getPackageJsonContent('core', { rxjs: RXJS_VERSION }, { '@types/cordova': 'latest' }), getPackageJsonContent('core', { rxjs: RXJS_VERSION }, { '@types/cordova': 'latest' }),
path.resolve(DIST, 'core') path.resolve(DIST, 'core')

View File

@ -6,7 +6,7 @@
"noImplicitAny": false, "noImplicitAny": false,
"lib": ["es6"], "lib": ["es6"],
"paths": { "paths": {
"@ionic-native/core": ["../src/@ionic-native/core"] "@awesome-cordova-plugins/core": ["../src/@awesome-cordova-plugins/core"]
} }
}, },
"exclude": ["node_modules"] "exclude": ["node_modules"]

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { CordovaCheck, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { CordovaCheck, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
declare const AbbyyRtrSdk: any; declare const AbbyyRtrSdk: any;
@ -274,7 +274,7 @@ export interface DataCaptureResult {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { AbbyyRTR } from '@ionic-native/abbyy-rtr/ngx'; * import { AbbyyRTR } from '@awesome-cordova-plugins/abbyy-rtr/ngx';
* *
* *
* constructor(private abbyyRTR: AbbyyRTR) { } * constructor(private abbyyRTR: AbbyyRTR) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
export interface ActionSheetOptions { export interface ActionSheetOptions {
/** /**
@ -62,7 +62,7 @@ export interface ActionSheetOptions {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { ActionSheet, ActionSheetOptions } from '@ionic-native/action-sheet/ngx'; * import { ActionSheet, ActionSheetOptions } from '@awesome-cordova-plugins/action-sheet/ngx';
* *
* constructor(private actionSheet: ActionSheet) { } * constructor(private actionSheet: ActionSheet) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
export class AdjustEvent { export class AdjustEvent {
private eventToken: string; private eventToken: string;
@ -457,7 +457,7 @@ export enum AdjustAdRevenueSource {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { Adjust, AdjustConfig, AdjustEnvironment } from '@ionic-native/adjust/ngx'; * import { Adjust, AdjustConfig, AdjustEnvironment } from '@awesome-cordova-plugins/adjust/ngx';
* *
* constructor(private adjust: Adjust) { } * constructor(private adjust: Adjust) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Observable, fromEvent } from 'rxjs'; import { Observable, fromEvent } from 'rxjs';
export type AdUnitIDOption = export type AdUnitIDOption =

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
export type AdSize = export type AdSize =
@ -107,7 +107,7 @@ export interface AdExtras {
* IMPORTANT NOTICE: this plugin takes a percentage out of your earnings if you profit more than $1,000. Read more about this on the plugin's repo. For a completely free alternative, see [AdMobPro Free](../admob-free). * IMPORTANT NOTICE: this plugin takes a percentage out of your earnings if you profit more than $1,000. Read more about this on the plugin's repo. For a completely free alternative, see [AdMobPro Free](../admob-free).
* @usage * @usage
* ```typescript * ```typescript
* import { AdMobPro } from '@ionic-native/admob-pro/ngx'; * import { AdMobPro } from '@awesome-cordova-plugins/admob-pro/ngx';
* import { Platform } from '@ionic/angular'; * import { Platform } from '@ionic/angular';
* *
* constructor(private admob: AdMobPro, private platform: Platform ) { } * constructor(private admob: AdMobPro, private platform: Platform ) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
export interface AdmobBaseOptions { export interface AdmobBaseOptions {
@ -144,7 +144,7 @@ export interface AdMobEvent {
* @usage * @usage
* **Note:** No ads will be served on apps with package name `io.ionic.starter`. This is the default package name for new `ionic` apps. Make sure to rename the package name so ads can be displayed. * **Note:** No ads will be served on apps with package name `io.ionic.starter`. This is the default package name for new `ionic` apps. Make sure to rename the package name so ads can be displayed.
* ```typescript * ```typescript
* import { Admob, AdmobOptions } from '@ionic-native/admob'; * import { Admob, AdmobOptions } from '@awesome-cordova-plugins/admob';
* *
* *
* constructor(private admob: Admob) { * constructor(private admob: Admob) {

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
/** /**
* @name AES256 * @name AES256
@ -10,7 +10,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
* *
* @usage * @usage
* ```typescript * ```typescript
* import { AES256 } from '@ionic-native/aes-256/ngx'; * import { AES256 } from '@awesome-cordova-plugins/aes-256/ngx';
* *
* private secureKey: string; * private secureKey: string;
* private secureIV: string; * private secureIV: string;

View File

@ -6,7 +6,7 @@ import {
CordovaInstance, CordovaInstance,
InstanceProperty, InstanceProperty,
IonicNativePlugin, IonicNativePlugin,
} from '@ionic-native/core'; } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
/** /**
@ -19,7 +19,7 @@ import { Observable } from 'rxjs';
* *
* @usage * @usage
* ```typescript * ```typescript
* import { AllInOneSDK } from '@ionic-native/all-in-one-sdk/ngx'; * import { AllInOneSDK } from '@awesome-cordova-plugins/all-in-one-sdk/ngx';
* *
* *
* constructor(private allInOneSDK: AllInOneSDK) { } * constructor(private allInOneSDK: AllInOneSDK) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
/** /**
* @name Analytics Firebase * @name Analytics Firebase
@ -8,7 +8,7 @@ import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-nati
* *
* @usage * @usage
* ```typescript * ```typescript
* import { AnalyticsFirebase } from '@ionic-native/analytics-firebase'; * import { AnalyticsFirebase } from '@awesome-cordova-plugins/analytics-firebase';
* *
* *
* constructor(private analyticsFirebase: AnalyticsFirebase) { } * constructor(private analyticsFirebase: AnalyticsFirebase) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
export type AndroidExoPlayerAspectRatio = 'FILL_SCREEN' | 'FIT_SCREEN'; export type AndroidExoPlayerAspectRatio = 'FILL_SCREEN' | 'FIT_SCREEN';
@ -158,7 +158,7 @@ export interface AndroidExoPlayerControllerConfig {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { AndroidExoPlayer } from '@ionic-native/android-exoplayer/ngx'; * import { AndroidExoPlayer } from '@awesome-cordova-plugins/android-exoplayer/ngx';
* *
* constructor(private androidExoPlayer: AndroidExoPlayer) { } * constructor(private androidExoPlayer: AndroidExoPlayer) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
/** /**
* Bit flag values for setSystemUiVisibility() * Bit flag values for setSystemUiVisibility()
@ -36,7 +36,7 @@ export enum AndroidSystemUiFlags {
* In Android 4.4+, however, you can now enter true full screen, fully interactive immersive mode. In this mode, your app will remain in true full screen until you choose otherwise; users can swipe down from the top of the screen to temporarily display the system UI. * In Android 4.4+, however, you can now enter true full screen, fully interactive immersive mode. In this mode, your app will remain in true full screen until you choose otherwise; users can swipe down from the top of the screen to temporarily display the system UI.
* @usage * @usage
* ```typescript * ```typescript
* import { AndroidFullScreen } from '@ionic-native/android-full-screen/ngx'; * import { AndroidFullScreen } from '@awesome-cordova-plugins/android-full-screen/ngx';
* *
* constructor(private androidFullScreen: AndroidFullScreen) { } * constructor(private androidFullScreen: AndroidFullScreen) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core'; import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core';
/** /**
* @name Android Notch * @name Android Notch
@ -10,7 +10,7 @@ import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
* *
* @usage * @usage
* ```typescript * ```typescript
* import { AndroidNotch } from '@ionic-native/android-notch/ngx'; * import { AndroidNotch } from '@awesome-cordova-plugins/android-notch/ngx';
* *
* *
* constructor(private androidNotch: AndroidNotch) { } * constructor(private androidNotch: AndroidNotch) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
/** /**
* @name Android Permissions * @name Android Permissions
@ -11,7 +11,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
* *
* @usage * @usage
* ``` * ```
* import { AndroidPermissions } from '@ionic-native/android-permissions/ngx'; * import { AndroidPermissions } from '@awesome-cordova-plugins/android-permissions/ngx';
* *
* *
* constructor(private androidPermissions: AndroidPermissions) { } * constructor(private androidPermissions: AndroidPermissions) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
export interface AnylineOptions { export interface AnylineOptions {
// Valid License Key // Valid License Key
@ -16,7 +16,7 @@ export interface AnylineOptions {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { Anyline } from '@ionic-native/anyline/ngx'; * import { Anyline } from '@awesome-cordova-plugins/anyline/ngx';
* *
* *
* constructor(private anyline: Anyline) { } * constructor(private anyline: Anyline) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
/** /**
* @name App Availability * @name App Availability
@ -10,7 +10,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
* *
* @usage * @usage
* ```typescript * ```typescript
* import { AppAvailability } from '@ionic-native/app-availability/ngx'; * import { AppAvailability } from '@awesome-cordova-plugins/app-availability/ngx';
* import { Platform } from 'ionic-angular'; * import { Platform } from 'ionic-angular';
* *
* constructor(private appAvailability: AppAvailability, private platform: Platform) { } * constructor(private appAvailability: AppAvailability, private platform: Platform) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
export interface StringMap { export interface StringMap {
[s: string]: string; [s: string]: string;
@ -17,7 +17,7 @@ export interface StringMap {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { AppCenterAnalytics } from '@ionic-native/app-center-analytics/ngx'; * import { AppCenterAnalytics } from '@awesome-cordova-plugins/app-center-analytics/ngx';
* *
* *
* constructor(private appCenterAnalytics: AppCenterAnalytics) { } * constructor(private appCenterAnalytics: AppCenterAnalytics) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
export interface AppCenterCrashReport { export interface AppCenterCrashReport {
id: string; id: string;
@ -40,7 +40,7 @@ export interface AppCenterCrashReportDevice {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { AppCenterCrashes } from '@ionic-native/app-center-crashes/ngx'; * import { AppCenterCrashes } from '@awesome-cordova-plugins/app-center-crashes/ngx';
* *
* *
* constructor(private AppCenterCrashes: AppCenterCrashes) { } * constructor(private AppCenterCrashes: AppCenterCrashes) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
/** /**
* @name App Center Low Memory * @name App Center Low Memory
@ -9,7 +9,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
* *
* @usage * @usage
* ```typescript * ```typescript
* import { LowMemory } from '@ionic-native/app-center-low-memory/ngx'; * import { LowMemory } from '@awesome-cordova-plugins/app-center-low-memory/ngx';
* *
* ... * ...
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
/** /**
@ -10,7 +10,7 @@ import { Observable } from 'rxjs';
* *
* @usage * @usage
* ```typescript * ```typescript
* import { AppCenterPush } from '@ionic-native/app-center-push/ngx'; * import { AppCenterPush } from '@awesome-cordova-plugins/app-center-push/ngx';
* *
* *
* constructor(private appCenterPush: AppCenterPush) { } * constructor(private appCenterPush: AppCenterPush) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
/** /**
* @name App Center Shared * @name App Center Shared
@ -11,7 +11,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
* *
* @usage * @usage
* ```typescript * ```typescript
* import { AppCenter } from '@ionic-native/app-center-shared/ngx'; * import { AppCenter } from '@awesome-cordova-plugins/app-center-shared/ngx';
* *
* ... * ...
* *

View File

@ -1,4 +1,4 @@
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
@ -9,7 +9,7 @@ import { Injectable } from '@angular/core';
* *
* @usage * @usage
* ```typescript * ```typescript
* import { AppPreferences } from '@ionic-native/app-preferences/ngx'; * import { AppPreferences } from '@awesome-cordova-plugins/app-preferences/ngx';
* *
* constructor(private appPreferences: AppPreferences) { } * constructor(private appPreferences: AppPreferences) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
export enum AppRateReviewTypeIos { export enum AppRateReviewTypeIos {
/** /**
@ -208,7 +208,7 @@ export interface AppUrls {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { AppRate } from '@ionic-native/app-rate/ngx'; * import { AppRate } from '@awesome-cordova-plugins/app-rate/ngx';
* *
* constructor(private appRate: AppRate) { } * constructor(private appRate: AppRate) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
/** /**
* @name App Version * @name App Version
@ -11,7 +11,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
* *
* @usage * @usage
* ```typescript * ```typescript
* import { AppVersion } from '@ionic-native/app-version/ngx'; * import { AppVersion } from '@awesome-cordova-plugins/app-version/ngx';
* *
* constructor(private appVersion: AppVersion) { } * constructor(private appVersion: AppVersion) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
export interface EncryptedCardData { export interface EncryptedCardData {
activationData: string; activationData: string;
@ -38,7 +38,7 @@ export interface WatchExistData {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { AppleWallet } from '@ionic-native/apple-wallet/ngx'; * import { AppleWallet } from '@awesome-cordova-plugins/apple-wallet/ngx';
* *
* *
* constructor(private appleWallet: AppleWallet) { } * constructor(private appleWallet: AppleWallet) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
export interface HTTPResponse { export interface HTTPResponse {
/** /**
@ -135,7 +135,7 @@ export interface ApproovLoggableToken {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { ApproovHttp } from '@ionic-native/http/ngx'; * import { ApproovHttp } from '@awesome-cordova-plugins/http/ngx';
* *
* constructor(private http: ApproovHttp) {} * constructor(private http: ApproovHttp) {}
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
export interface AppsflyerOptions { export interface AppsflyerOptions {
/** /**
@ -57,7 +57,7 @@ export interface AppsflyerInviteOptions {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { Appsflyer } from '@ionic-native/appsflyer/ngx'; * import { Appsflyer } from '@awesome-cordova-plugins/appsflyer/ngx';
* *
* *
* constructor(private appsflyer: Appsflyer) { } * constructor(private appsflyer: Appsflyer) { }

View File

@ -1,4 +1,4 @@
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
export interface BackgroundFetchConfig { export interface BackgroundFetchConfig {
@ -18,7 +18,7 @@ export interface BackgroundFetchConfig {
* @usage * @usage
* *
* ```typescript * ```typescript
* import { BackgroundFetch, BackgroundFetchConfig } from '@ionic-native/background-fetch/ngx'; * import { BackgroundFetch, BackgroundFetchConfig } from '@awesome-cordova-plugins/background-fetch/ngx';
* *
* *
* constructor(private backgroundFetch: BackgroundFetch) { * constructor(private backgroundFetch: BackgroundFetch) {

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
export enum BackgroundGeolocationLocationCode { export enum BackgroundGeolocationLocationCode {
@ -499,7 +499,7 @@ export declare enum BackgroundGeolocationIOSActivity {
* BackgroundGeolocation must be called within app.ts and or before Geolocation. Otherwise the platform will not ask you for background tracking permission. * BackgroundGeolocation must be called within app.ts and or before Geolocation. Otherwise the platform will not ask you for background tracking permission.
* *
* ```typescript * ```typescript
* import { BackgroundGeolocation, BackgroundGeolocationConfig, BackgroundGeolocationEvents, BackgroundGeolocationResponse } from '@ionic-native/background-geolocation/ngx'; * import { BackgroundGeolocation, BackgroundGeolocationConfig, BackgroundGeolocationEvents, BackgroundGeolocationResponse } from '@awesome-cordova-plugins/background-geolocation/ngx';
* *
* constructor(private backgroundGeolocation: BackgroundGeolocation) { } * constructor(private backgroundGeolocation: BackgroundGeolocation) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
/** /**
@ -57,7 +57,7 @@ export interface BackgroundModeConfiguration {
* Requires Cordova plugin: cordova-plugin-background-mode. For more info about plugin, visit: https://github.com/katzer/cordova-plugin-background-mode * Requires Cordova plugin: cordova-plugin-background-mode. For more info about plugin, visit: https://github.com/katzer/cordova-plugin-background-mode
* @usage * @usage
* ```typescript * ```typescript
* import { BackgroundMode } from '@ionic-native/background-mode/ngx'; * import { BackgroundMode } from '@awesome-cordova-plugins/background-mode/ngx';
* *
* constructor(private backgroundMode: BackgroundMode) { } * constructor(private backgroundMode: BackgroundMode) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Plugin, CordovaInstance, IonicNativePlugin } from '@ionic-native/core'; import { Plugin, CordovaInstance, IonicNativePlugin } from '@awesome-cordova-plugins/core';
declare const window: any; declare const window: any;
@ -80,7 +80,7 @@ export class FileTransferManager {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { BackgroundUpload } from '@ionic-native/background-upload/ngx'; * import { BackgroundUpload } from '@awesome-cordova-plugins/background-upload/ngx';
* *
* *
* constructor(private backgroundUpload: BackgroundUpload) { } * constructor(private backgroundUpload: BackgroundUpload) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
/** /**
* @name Badge * @name Badge
@ -13,7 +13,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
* *
* @usage * @usage
* ```typescript * ```typescript
* import { Badge } from '@ionic-native/badge/ngx'; * import { Badge } from '@awesome-cordova-plugins/badge/ngx';
* *
* constructor(private badge: Badge) { } * constructor(private badge: Badge) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
export interface BarcodeScannerOptions { export interface BarcodeScannerOptions {
/** /**
@ -89,7 +89,7 @@ export interface BarcodeScanResult {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { BarcodeScanner } from '@ionic-native/barcode-scanner/ngx'; * import { BarcodeScanner } from '@awesome-cordova-plugins/barcode-scanner/ngx';
* *
* constructor(private barcodeScanner: BarcodeScanner) { } * constructor(private barcodeScanner: BarcodeScanner) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
export interface BatteryStatusResponse { export interface BatteryStatusResponse {
@ -21,7 +21,7 @@ export interface BatteryStatusResponse {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { BatteryStatus } from '@ionic-native/battery-status/ngx'; * import { BatteryStatus } from '@awesome-cordova-plugins/battery-status/ngx';
* *
* constructor(private batteryStatus: BatteryStatus) { } * constructor(private batteryStatus: BatteryStatus) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
/** /**
* @name BioCatch * @name BioCatch
@ -8,7 +8,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
* *
* @usage * @usage
* ```typescript * ```typescript
* import { BioCatch } from '@ionic-native/biocatch'; * import { BioCatch } from '@awesome-cordova-plugins/biocatch';
* *
* *
* constructor(private biocatch: BioCatch) { } * constructor(private biocatch: BioCatch) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core'; import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core';
/** /**
* @name BiometricWrapper * @name BiometricWrapper
@ -9,7 +9,7 @@ import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
* *
* @usage * @usage
* ```typescript * ```typescript
* import { BiometricWrapper } from '@ionic-native/biometric-wrapper/ngx'; * import { BiometricWrapper } from '@awesome-cordova-plugins/biometric-wrapper/ngx';
* *
* *
* constructor(private biometricWrapper: BiometricWrapper) { } * constructor(private biometricWrapper: BiometricWrapper) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
export interface BLEScanOptions { export interface BLEScanOptions {
@ -28,7 +28,7 @@ export interface BLEScanOptions {
* *
* ```typescript * ```typescript
* *
* import { BLE } from '@ionic-native/ble/ngx'; * import { BLE } from '@awesome-cordova-plugins/ble/ngx';
* *
* constructor(private ble: BLE) { } * constructor(private ble: BLE) { }
* *

View File

@ -1,4 +1,4 @@
import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
export interface Licenses { export interface Licenses {
@ -2683,7 +2683,7 @@ export interface BlinkIdRecognizerResultCtor extends RecognizerResultCtor<BlinkI
* *
* @usage * @usage
* ```typescript * ```typescript
* import { BlinkId, RecognizerResultState } from '@ionic-native/blinkid/ngx'; * import { BlinkId, RecognizerResultState } from '@awesome-cordova-plugins/blinkid/ngx';
* *
* constructor(private blinkId: BlinkId) { } * constructor(private blinkId: BlinkId) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
export interface BluetoothClassicSerialPortDevice { export interface BluetoothClassicSerialPortDevice {
@ -16,7 +16,7 @@ export interface BluetoothClassicSerialPortDevice {
* @description This plugin is written using the iOS Accessory Framework (MFi) to support Classic Bluetooth on iOS. * @description This plugin is written using the iOS Accessory Framework (MFi) to support Classic Bluetooth on iOS.
* @usage * @usage
* ```typescript * ```typescript
* import { BluetoothClassicSerialPort } from '@ionic-native/bluetooth-classic-serial-port/ngx'; * import { BluetoothClassicSerialPort } from '@awesome-cordova-plugins/bluetooth-classic-serial-port/ngx';
* *
* constructor(private bluetoothClassicSerialPort: BluetoothClassicSerialPort) { } * constructor(private bluetoothClassicSerialPort: BluetoothClassicSerialPort) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
/* Available status of device */ /* Available status of device */
@ -429,7 +429,7 @@ export interface AdapterInfo {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { BluetoothLE } from '@ionic-native/bluetooth-le/ngx'; * import { BluetoothLE } from '@awesome-cordova-plugins/bluetooth-le/ngx';
* *
* *
* constructor(public bluetoothle: BluetoothLE, public plt: Platform) { * constructor(public bluetoothle: BluetoothLE, public plt: Platform) {

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
/** /**
@ -7,7 +7,7 @@ import { Observable } from 'rxjs';
* @description This plugin enables serial communication over Bluetooth. It was written for communicating between Android or iOS and an Arduino (not Android to Android or iOS to iOS). * @description This plugin enables serial communication over Bluetooth. It was written for communicating between Android or iOS and an Arduino (not Android to Android or iOS to iOS).
* @usage * @usage
* ```typescript * ```typescript
* import { BluetoothSerial } from '@ionic-native/bluetooth-serial/ngx'; * import { BluetoothSerial } from '@awesome-cordova-plugins/bluetooth-serial/ngx';
* *
* constructor(private bluetoothSerial: BluetoothSerial) { } * constructor(private bluetoothSerial: BluetoothSerial) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
export interface BranchIoPromise { export interface BranchIoPromise {
@ -54,7 +54,7 @@ export interface BranchUniversalObject {
* *
* @usage * @usage
* ``` * ```
* import { BranchIo } from '@ionic-native/branch-io/ngx'; * import { BranchIo } from '@awesome-cordova-plugins/branch-io/ngx';
* *
* *
* constructor(private branch: BranchIo) { } * constructor(private branch: BranchIo) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
/** /**
@ -23,7 +23,7 @@ export type EventData = object | AndroidData | null;
* *
* @usage * @usage
* ```typescript * ```typescript
* import { Broadcaster } from '@ionic-native/broadcaster/ngx'; * import { Broadcaster } from '@awesome-cordova-plugins/broadcaster/ngx';
* *
* constructor(private broadcaster: Broadcaster) { } * constructor(private broadcaster: Broadcaster) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Plugin, CordovaProperty, IonicNativePlugin } from '@ionic-native/core'; import { Plugin, CordovaProperty, IonicNativePlugin } from '@awesome-cordova-plugins/core';
/** /**
* @name Build Info * @name Build Info
@ -8,7 +8,7 @@ import { Plugin, CordovaProperty, IonicNativePlugin } from '@ionic-native/core';
* *
* @usage * @usage
* ``` * ```
* import { BuildInfo } from '@ionic-native/build-info/ngx'; * import { BuildInfo } from '@awesome-cordova-plugins/build-info/ngx';
* *
* this.platform.ready().then(() => { * this.platform.ready().then(() => {
* console.log('BuildInfo.baseUrl =' + BuildInfo.baseUrl) * console.log('BuildInfo.baseUrl =' + BuildInfo.baseUrl)

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
export interface CalendarOptions { export interface CalendarOptions {
/** /**
@ -67,7 +67,7 @@ export interface NameOrOptions {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { Calendar } from '@ionic-native/calendar/ngx'; * import { Calendar } from '@awesome-cordova-plugins/calendar/ngx';
* *
* constructor(private calendar: Calendar) { } * constructor(private calendar: Calendar) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
export interface CallDirectoryItem { export interface CallDirectoryItem {
label: string; label: string;
@ -19,7 +19,7 @@ export interface CallDirectoryLog {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { CallDirectory } from '@ionic-native/call-directory/ngx'; * import { CallDirectory } from '@awesome-cordova-plugins/call-directory/ngx';
* *
* *
* constructor(private callDirectory: CallDirectory) { } * constructor(private callDirectory: CallDirectory) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
/** /**
* @name Call Number * @name Call Number
@ -9,7 +9,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
* *
* @usage * @usage
* ```typescript * ```typescript
* import { CallNumber } from '@ionic-native/call-number/ngx'; * import { CallNumber } from '@awesome-cordova-plugins/call-number/ngx';
* *
* constructor(private callNumber: CallNumber) { } * constructor(private callNumber: CallNumber) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
export interface CameraPreviewDimensions { export interface CameraPreviewDimensions {
/** The width of the camera preview, default to window.screen.width */ /** The width of the camera preview, default to window.screen.width */
@ -63,7 +63,7 @@ export interface CameraPreviewPictureOptions {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { CameraPreview, CameraPreviewPictureOptions, CameraPreviewOptions, CameraPreviewDimensions } from '@ionic-native/camera-preview/ngx'; * import { CameraPreview, CameraPreviewPictureOptions, CameraPreviewOptions, CameraPreviewDimensions } from '@awesome-cordova-plugins/camera-preview/ngx';
* *
* constructor(private cameraPreview: CameraPreview) { } * constructor(private cameraPreview: CameraPreview) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
export interface CameraOptions { export interface CameraOptions {
/** Picture quality in range 0-100. Default is 50 */ /** Picture quality in range 0-100. Default is 50 */
@ -139,7 +139,7 @@ export enum Direction {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { Camera, CameraOptions } from '@ionic-native/camera/ngx'; * import { Camera, CameraOptions } from '@awesome-cordova-plugins/camera/ngx';
* *
* constructor(private camera: Camera) { } * constructor(private camera: Camera) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core'; import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core';
export interface CkoCardTokenRequest { export interface CkoCardTokenRequest {
/** /**
@ -148,7 +148,7 @@ export interface Phone {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { Checkout } from '@ionic-native/checkout/ngx'; * import { Checkout } from '@awesome-cordova-plugins/checkout/ngx';
* *
* *
* constructor(private checkout: Checkout) { } * constructor(private checkout: Checkout) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
export interface ChooserResult { export interface ChooserResult {
data?: Uint8Array; data?: Uint8Array;
@ -28,7 +28,7 @@ export interface ChooserResult {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { Chooser } from '@ionic-native/chooser/ngx'; * import { Chooser } from '@awesome-cordova-plugins/chooser/ngx';
* *
* *
* constructor(private chooser: Chooser) { } * constructor(private chooser: Chooser) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
declare var clevertap: any; declare var clevertap: any;
@ -10,7 +10,7 @@ declare var clevertap: any;
* *
* @usage * @usage
* ```typescript * ```typescript
* import { CleverTap } from '@ionic-native/clevertap/ngx'; * import { CleverTap } from '@awesome-cordova-plugins/clevertap/ngx';
* *
* constructor(private clevertap: CleverTap) { } * constructor(private clevertap: CleverTap) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
/** /**
* @name Clipboard * @name Clipboard
* @premier clipboard * @premier clipboard
@ -9,7 +9,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
* *
* @usage * @usage
* ```typescript * ```typescript
* import { Clipboard } from '@ionic-native/clipboard/ngx'; * import { Clipboard } from '@awesome-cordova-plugins/clipboard/ngx';
* *
* constructor(private clipboard: Clipboard) { } * constructor(private clipboard: Clipboard) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
/** /**
* @name Cloud Settings * @name Cloud Settings
@ -8,7 +8,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
* *
* @usage * @usage
* ```typescript * ```typescript
* import { CloudSettings } from '@ionic-native/cloud-settings/ngx'; * import { CloudSettings } from '@awesome-cordova-plugins/cloud-settings/ngx';
* *
* *
* constructor(private cloudSettings: CloudSettings) { } * constructor(private cloudSettings: CloudSettings) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
namespace Http { namespace Http {
@ -444,7 +444,7 @@ export interface DownloadProgress {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { CodePush } from '@ionic-native/code-push/ngx'; * import { CodePush } from '@awesome-cordova-plugins/code-push/ngx';
* *
* constructor(private codePush: CodePush) { } * constructor(private codePush: CodePush) { }
* *

View File

@ -6,7 +6,7 @@ import {
CordovaInstance, CordovaInstance,
InstanceProperty, InstanceProperty,
IonicNativePlugin, IonicNativePlugin,
} from '@ionic-native/core'; } from '@awesome-cordova-plugins/core';
/** /**
* @name CustomUISDK * @name CustomUISDK
@ -15,7 +15,7 @@ import {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { CustomUISDK } from '@ionic-native/custom-uisdk/ngx'; * import { CustomUISDK } from '@awesome-cordova-plugins/custom-uisdk/ngx';
* *
* constructor(private customuisdk: CustomUISDK) { } * constructor(private customuisdk: CustomUISDK) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
export interface DeeplinkMatch { export interface DeeplinkMatch {
@ -39,7 +39,7 @@ export interface DeeplinkOptions {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { Deeplinks } from '@ionic-native/deeplinks/ngx'; * import { Deeplinks } from '@awesome-cordova-plugins/deeplinks/ngx';
* *
* constructor(private deeplinks: Deeplinks) { } * constructor(private deeplinks: Deeplinks) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
export interface AndroidAccount { export interface AndroidAccount {
/** Account creator */ /** Account creator */
@ -19,7 +19,7 @@ export interface AndroidAccount {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { DeviceAccounts } from '@ionic-native/device-accounts/ngx'; * import { DeviceAccounts } from '@awesome-cordova-plugins/device-accounts/ngx';
* *
* constructor(private deviceAccounts: DeviceAccounts) { } * constructor(private deviceAccounts: DeviceAccounts) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
export interface DeviceMotionAccelerationData { export interface DeviceMotionAccelerationData {
@ -38,7 +38,7 @@ export interface DeviceMotionAccelerometerOptions {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { DeviceMotion, DeviceMotionAccelerationData } from '@ionic-native/device-motion/ngx'; * import { DeviceMotion, DeviceMotionAccelerationData } from '@awesome-cordova-plugins/device-motion/ngx';
* *
* constructor(private deviceMotion: DeviceMotion) { } * constructor(private deviceMotion: DeviceMotion) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
export interface DeviceOrientationCompassHeading { export interface DeviceOrientationCompassHeading {
@ -44,7 +44,7 @@ export interface DeviceOrientationCompassOptions {
* @usage * @usage
* ```typescript * ```typescript
* // DeviceOrientationCompassHeading is an interface for compass * // DeviceOrientationCompassHeading is an interface for compass
* import { DeviceOrientation, DeviceOrientationCompassHeading } from '@ionic-native/device-orientation/ngx'; * import { DeviceOrientation, DeviceOrientationCompassHeading } from '@awesome-cordova-plugins/device-orientation/ngx';
* *
* constructor(private deviceOrientation: DeviceOrientation) { } * constructor(private deviceOrientation: DeviceOrientation) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
declare const window: any; declare const window: any;
@ -11,7 +11,7 @@ declare const window: any;
* *
* @usage * @usage
* ```typescript * ```typescript
* import { Device } from '@ionic-native/device/ngx'; * import { Device } from '@awesome-cordova-plugins/device/ngx';
* *
* constructor(private device: Device) { } * constructor(private device: Device) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core'; import { Plugin, Cordova, IonicNativePlugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
export interface UpdateOptions { export interface UpdateOptions {
@ -26,7 +26,7 @@ export interface UpdateOptions {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { DfuUpdate } from '@ionic-native/dfu-update/ngx'; * import { DfuUpdate } from '@awesome-cordova-plugins/dfu-update/ngx';
* *
* *
* constructor(private dfuUpdate: DfuUpdate) { } * constructor(private dfuUpdate: DfuUpdate) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
/** /**
* @name Diagnostic * @name Diagnostic
@ -8,7 +8,7 @@ import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-nati
* *
* @usage * @usage
* ```typescript * ```typescript
* import { Diagnostic } from '@ionic-native/diagnostic/ngx'; * import { Diagnostic } from '@awesome-cordova-plugins/diagnostic/ngx';
* *
* constructor(private diagnostic: Diagnostic) { } * constructor(private diagnostic: Diagnostic) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
export interface DialogsPromptCallback { export interface DialogsPromptCallback {
/** /**
@ -23,7 +23,7 @@ export interface DialogsPromptCallback {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { Dialogs } from '@ionic-native/dialogs/ngx'; * import { Dialogs } from '@awesome-cordova-plugins/dialogs/ngx';
* *
* constructor(private dialogs: Dialogs) { } * constructor(private dialogs: Dialogs) { }
* *

View File

@ -1,4 +1,4 @@
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
/** /**
@ -7,7 +7,7 @@ import { Injectable } from '@angular/core';
* *
* @usage * @usage
* ```typescript * ```typescript
* import { DNS } from '@ionic-native/dns/ngx'; * import { DNS } from '@awesome-cordova-plugins/dns/ngx';
* *
* *
* constructor(private dns: DNS) { } * constructor(private dns: DNS) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
/** /**
* @name iOS DocumentPicker * @name iOS DocumentPicker
@ -10,7 +10,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
* *
* @usage * @usage
* ```typescript * ```typescript
* import { DocumentPicker } from '@ionic-native/document-picker/ngx'; * import { DocumentPicker } from '@awesome-cordova-plugins/document-picker/ngx';
* *
* constructor(private docPicker: DocumentPicker) { } * constructor(private docPicker: DocumentPicker) { }
* *

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
export enum DocumentScannerSourceType { export enum DocumentScannerSourceType {
/** /**
@ -51,7 +51,7 @@ export interface DocumentScannerOptions {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { DocumentScanner, DocumentScannerOptions } from '@ionic-native/document-scanner'; * import { DocumentScanner, DocumentScannerOptions } from '@awesome-cordova-plugins/document-scanner';
* *
* *
* constructor(private documentScanner: DocumentScanner) { } * constructor(private documentScanner: DocumentScanner) { }

View File

@ -1,4 +1,4 @@
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
export interface DocumentViewerOptions { export interface DocumentViewerOptions {
@ -36,7 +36,7 @@ export interface DocumentViewerOptions {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { DocumentViewer } from '@ionic-native/document-viewer/ngx'; * import { DocumentViewer } from '@awesome-cordova-plugins/document-viewer/ngx';
* *
* *
* constructor(private document: DocumentViewer) { } * constructor(private document: DocumentViewer) { }

View File

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Cordova, CordovaCheck, IonicNativePlugin, Plugin, getPromise } from '@ionic-native/core'; import { Cordova, CordovaCheck, IonicNativePlugin, Plugin, getPromise } from '@awesome-cordova-plugins/core';
export interface EmailComposerOptions { export interface EmailComposerOptions {
/** /**
@ -58,7 +58,7 @@ export interface EmailComposerOptions {
* *
* @usage * @usage
* ```typescript * ```typescript
* import { EmailComposer } from '@ionic-native/email-composer/ngx'; * import { EmailComposer } from '@awesome-cordova-plugins/email-composer/ngx';
* *
* constructor(private emailComposer: EmailComposer) { } * constructor(private emailComposer: EmailComposer) { }
* *

Some files were not shown because too many files have changed in this diff Show More