From 7b2ca17dc4d5ff986ec6dae263f8628ab4754706 Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Mon, 13 Sep 2021 15:26:32 -0500 Subject: [PATCH] Removed janalytics - unused --- src/@ionic-native/plugins/janalytics/index.ts | 94 ------------------- 1 file changed, 94 deletions(-) delete mode 100644 src/@ionic-native/plugins/janalytics/index.ts diff --git a/src/@ionic-native/plugins/janalytics/index.ts b/src/@ionic-native/plugins/janalytics/index.ts deleted file mode 100644 index cd2580152..000000000 --- a/src/@ionic-native/plugins/janalytics/index.ts +++ /dev/null @@ -1,94 +0,0 @@ -import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; - -/** - * @name jAnalytics - * @description - * This plugin does something - * - * @usage - * ```typescript - * import { JAnalytics } from '@ionic-native/JAnalytics/ngx'; - * - * - * constructor(private jAnalytics: JAnalytics) { } - * - * ... - * - * - * this.jAnalytics.functionName('Hello', 123) - * .then((res: any) => console.log(res)) - * .catch((error: any) => console.error(error)); - * - * ``` - */ -@Plugin({ - pluginName: 'JAnalytics', - plugin: 'cordova-plugin-janalytics', - pluginRef: 'JAnalytics', - repo: 'https://github.com/jpush/cordova-plugin-janalytics', - install: 'ionic cordova plugin add cordova-plugin-janalytics --variable APP_KEY=YOUR_APP_KEY', - installVariables: ['APP_KEY'], - platforms: ['Android', 'iOS'], -}) -@Injectable() -export class JAnalytics extends IonicNativePlugin { - /** - * This function does something - * @return {Promise} Returns a promise that resolves when something happens - */ - @Cordova() - init(): Promise { - return; - } - - @Cordova() - initCrashHandler(): Promise { - return; - } - - @Cordova() - stopCrashHandler(): Promise { - return; - } - - @Cordova() - onPageStart(params: any): Promise { - return; - } - - @Cordova() - onPageEnd(params: any): Promise { - return; - } - - @Cordova() - addCountEvent(params: any): Promise { - return; - } - - @Cordova() - addCalculateEvent(params: any): Promise { - return; - } - - @Cordova() - addLoginEvent(params: any): Promise { - return; - } - - @Cordova() - addRegisterEvent(params: any): Promise { - return; - } - - @Cordova() - addBrowseEvent(params: any): Promise { - return; - } - - @Cordova() - addPurchaseEvent(params: any): Promise { - return; - } -}