mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-07 23:03:19 +08:00
fix(cordova-plugin-firebase-model): updated to @awesome-cordova-plugins/core (#4858)
This commit is contained in:
parent
4b526e4d4d
commit
ac767ab219
@ -1,12 +1,5 @@
|
|||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
import {
|
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
|
||||||
Plugin,
|
|
||||||
Cordova,
|
|
||||||
CordovaProperty,
|
|
||||||
CordovaInstance,
|
|
||||||
InstanceProperty,
|
|
||||||
IonicNativePlugin,
|
|
||||||
} from '@ionic-native/core';
|
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
|
|
||||||
export enum FirebaseModelStatus {
|
export enum FirebaseModelStatus {
|
||||||
@ -93,7 +86,7 @@ export class FirebaseModelInput {
|
|||||||
platforms: ['iOS'], // Array of platforms supported, example: ['Android', 'iOS']
|
platforms: ['iOS'], // Array of platforms supported, example: ['Android', 'iOS']
|
||||||
})
|
})
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class FirebaseModel extends IonicNativePlugin {
|
export class FirebaseModel extends AwesomeCordovaNativePlugin {
|
||||||
/**
|
/**
|
||||||
* This function configure the Firebase TFLite model and downloads.
|
* This function configure the Firebase TFLite model and downloads.
|
||||||
* @param {string} arg1 Name of the TFLite model which is uploaded in the Firebase console
|
* @param {string} arg1 Name of the TFLite model which is uploaded in the Firebase console
|
||||||
|
Loading…
Reference in New Issue
Block a user