fix(cordova-plugin-firebase-model): updated to @awesome-cordova-plugins/core (#4858)

This commit is contained in:
Fabio Martino 2024-11-11 09:08:30 +00:00 committed by GitHub
parent 4b526e4d4d
commit ac767ab219
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,12 +1,5 @@
import { Injectable } from '@angular/core';
import {
Plugin,
Cordova,
CordovaProperty,
CordovaInstance,
InstanceProperty,
IonicNativePlugin,
} from '@ionic-native/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs';
export enum FirebaseModelStatus {
@ -93,7 +86,7 @@ export class FirebaseModelInput {
platforms: ['iOS'], // Array of platforms supported, example: ['Android', 'iOS']
})
@Injectable()
export class FirebaseModel extends IonicNativePlugin {
export class FirebaseModel extends AwesomeCordovaNativePlugin {
/**
* This function configure the Firebase TFLite model and downloads.
* @param {string} arg1 Name of the TFLite model which is uploaded in the Firebase console