mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 08:32:52 +08:00
e4af3a0390
* feat(diagnostics): add missing constants and methods for latest plugin version (#4600) * feat(cordova-plugin-firebase-model): Add new plugin to download and process ML model hosted in firebase. (#4608) * feat(unvired-cordova-sdk): Add new function to regenrate the JWT Token * feat(unvired-cordova-sdk): Add couple of properties to login parameters. * feat(cordova-plugin-firebase-model): Add new plugin for downloading and processing ML model hosted in Firebase. * fix(cordova-plugin-unvired-sdk): revert last set of changes. * fix(cordova-plugin-unvired-sdk): Add two new login properties. * fix(cordova-plugin-firebase-model): Delete the previously added plugin. * Revert "fix(cordova-plugin-firebase-model): Delete the previously added plugin." This reverts commit86f39dc7e8
. * Revert "fix(cordova-plugin-unvired-sdk): Add two new login properties." This reverts commita79f31e12e
. * feat(clevertap): support clevertap-cordova 2.7.0 (#4617) [skip ci] * feat(clevertap): add CleverTap plugin * style(clevertap): cleanup stray lint error * refactor * feat(clevertap): update for latest CleverTap Cordova plugin * chore: Update Repo from Ionic Native Repo * fix: Code Changes for parity SDK-155 * fix: Indentation fixes for SDK-155 * fix: Code Repo fix while updating fork branch * fix: Remove unnecessary adder .scripts Folder * fix: Remove unwanted added folder .circleci * fix: Remove unwanted added File .npmrc * fix: Revert .Github Folder Changes to as per Ionic-Native master * fix: Update changes as per ionic-native master * fix: Code Repo fix while updating fork branch fix: Remove unnecessary adder .scripts Folder fix: Remove unwanted added folder .circleci fix: Remove unwanted added File .npmrc fix: Revert .Github Folder Changes to as per Ionic-Native master fix: Update changes as per ionic-native master * fix(CleverTap): Fix for missing methods issue #3491 * refactor(profile): remove setProfile methods for fb and google * refactor(dynamic variables): remove Product A/B Testing (Dynamic Variables) code * fix(product config): add key param to product config getters * feat(identity): add a new public method getCleverTapID and deprecate existing CleverTapID methods * feat(profile): add public methods to increment/decrement values set via User properties * feat(profile): add public methods to increment/decrement values set via User properties * feat(inapp): add public methods for suspending/discarding & resuming InApp Notifications * feat(inbox): add new api for iOS to delete bulk inbox messages for given message ids * refactor(xiaomi-push): add region as an extra mandatory parameter to setPushXiaomiToken * Update index.ts to support cordova 2.7.0 * Update index.ts --------- Co-authored-by: Peter Wilkniss <peter@clevertap.com> Co-authored-by: Daniel Sogl <mytechde@outlook.com> Co-authored-by: Darshan Pania <darshan@clevertap.com> Co-authored-by: Surya <suryanarayan@clevertap.com> Co-authored-by: SuryaClevertap <63039490+SuryaClevertap@users.noreply.github.com> Co-authored-by: Piyush Kukadiya <piyush.kukadiya@clevertap.com> Co-authored-by: piyush-kukadiya <61137760+piyush-kukadiya@users.noreply.github.com> * feat(save-dialog): add plugin (#4618) * smtp-client * fix plugin ref * cloud settings * + save-dialog --------- Co-authored-by: Daniel Sogl <daniel@sogls.de> * Update to cordova 5 (#98) --------- Co-authored-by: Dave Alden <dpa99c@gmail.com> Co-authored-by: Srinidhi <srinidhi.rao@unvired.com> Co-authored-by: AishwaryaNanna <97506871+AishwaryaNanna@users.noreply.github.com> Co-authored-by: Peter Wilkniss <peter@clevertap.com> Co-authored-by: Darshan Pania <darshan@clevertap.com> Co-authored-by: Surya <suryanarayan@clevertap.com> Co-authored-by: SuryaClevertap <63039490+SuryaClevertap@users.noreply.github.com> Co-authored-by: Piyush Kukadiya <piyush.kukadiya@clevertap.com> Co-authored-by: piyush-kukadiya <61137760+piyush-kukadiya@users.noreply.github.com> Co-authored-by: marysuon <marysuon@gmail.com> Co-authored-by: Cesar de la Vega <cesarvegaro@gmail.com>
936 B
936 B
FirebaseModelInput
Result t cordova plugin add cordova-plugin-firebase-model $ npm install @awesome-cordova-plugins/firebase-model
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/firebase-model/)
Plugin Repo: ['']('')
This plugin downloads the TensorFlow model from firebase and classify the images.
```typescript
import { FirebaseModel } from '@ionic-native/ionic-native-firebase-model';
constructor(private firebaseModel: FirebaseModel) { }
...
this.firebaseModel.configure('Sample_Model')
.subscribe((res: FirebaseModelConfigResult) => console.log(res.status + " - " + res.progress))
.catch((error: any) => console.error(error));
try {
var result:FirebaseModelClassifyResult = await this.firebaseModel.classify("/Documents/input_image.png")
console.log(result.label + " - " + result.score)
}
catch (e) {
console.log(e)
}
Supported platforms
- iOS