From 08071c57de3ed0c545bc89b4e1d28819341f66b9 Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Mon, 13 Sep 2021 16:57:30 -0500 Subject: [PATCH] Removed autostart - niche --- src/@ionic-native/plugins/autostart/index.ts | 45 -------------------- 1 file changed, 45 deletions(-) delete mode 100644 src/@ionic-native/plugins/autostart/index.ts diff --git a/src/@ionic-native/plugins/autostart/index.ts b/src/@ionic-native/plugins/autostart/index.ts deleted file mode 100644 index b8fb0ae0a..000000000 --- a/src/@ionic-native/plugins/autostart/index.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; - -/** - * @name Autostart - * @description - * This plugin automatically starts your Android app after every boot or auto-update. - * You can enable or disable the autostart function in your app. - * - * @usage - * ```typescript - * import { Autostart } from '@ionic-native/autostart/ngx'; - * - * - * constructor(private autostart: Autostart) { } - * - * ... - * - * this.autostart.enable(); - * - * this.autostart.disable(); - * - * ``` - */ -@Plugin({ - pluginName: 'Autostart', - plugin: 'cordova-plugin-autostart', - pluginRef: 'cordova.plugins.autoStart', - repo: 'https://github.com/ToniKorin/cordova-plugin-autostart', - platforms: ['Android'], -}) -@Injectable() -export class Autostart extends IonicNativePlugin { - /** - * Enable the automatic startup after the boot - */ - @Cordova({ sync: true }) - enable(): void {} - - /** - * Disable the automatic startup after the boot - */ - @Cordova({ sync: true }) - disable(): void {} -}