Can I use Phonegap Transition Plugin in Cordova-1.6.0 for Android - plugins

When i was used this plugin [ https://github.com/sandstein/phonegap-transition-plugin ] in my android app, i had found a error like 04-18 00:56:02.495: D/CordovaLog(359): [DEPRECATION NOTICE] window.addPlugin and window.plugins will be removed in version 2.0. How can i will use this plugin. I don't know can i use phonegap-plugins [ https://github.com/sandstein/phonegap-plugins ] also? Please help.

The Plugin model is being re-architected. The future Cordova 2.0 plugin scheme has not yet been fully defined. Until then, use the deprecated model and ignore the notices.

Related

The plugin 'tflite' uses a deprecated version of the Android embedding

I'm using the tflite plugin for Flutter, but when it shows me this when I run it:
The plugin tflite uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.
Does anyone know a solution for this? I'm using tflite 1.1.2.
I rather not switch to tflite_flutter 0.9.0 if possible..

Audioplayer plugins using a deprecated version of the android embedding

I want to add Audioplayer package for my xylophone app but on running it, I get this following error:
The plugins audioplayers, path_provider use a deprecated version of
the Android embedding. To avoid unexpected runtime failures, or future
build failures, try to see if these plugins support the Android V2
embedding. Otherwise, consider removing them since a future release of
Flutter will remove these deprecated APIs. If you are plugin author,
take a look at the docs for migrating the plugin to the V2 embedding:
https://flutter.dev/go/android-plugin-migration.
I was having the same problem while using audioplayers library. So, after looking up on the internet I found out that I was using the old version of the dependency of audio player. So, I suggest you to check for the latest version of audioplayers library from https://pub.dev/packages/audioplayers, and add it in your dependency as
dependencies:
audioplayers: ^0.20.1
(For me it was 0.20.1). You can check for latest to avoid error. Hope it works for you.

I am having this error in flutter while using google map through dependency map_view kindly help me

The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.10 and higher.
The following dependencies do not satisfy the required version:
project ':map_view' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.50
Your gradle plugin version that is supported in your project is 1.3.10 and higher, the plugin you are trying to install is using gradle 1.2.50 there for not supported. I suggest you find another plugin since the only map view plugin i found states that is discontinued. I suggest when you pick a plugin to use to check how often it get updated and when the last update happent.

How to use cloud_firestore in flutter for web and android?

I have a Flutter app which works on Android as expected but if I want to compile it for Web I get an error.
It has to do something with the dependency cloud_firestore. If I use the dependency firebase it works fine on the web but on android now not..
This is the error message I get using cloud_firestore (compiling for web):
Skipping compiling pay_balance|lib/main_web_entrypoint.dart with ddc because some of its
transitive libraries have sdk dependencies that not supported on this platform:
firebase_core|lib/firebase_core.dart
https://github.com/dart-lang/build/blob/master/docs/faq.md#how-can-i-resolve-skipped-compiling-warnings
Can anybody help me? Maybe with another dependency for firestore (I did not find others which are working on web and android)..
Edit: I have used the firebase-dart plugin for web!! -> Only works on the web but not in android for me -> I need something for both at the same time!!
Or is there a Way I can use both packages without getting a compling error for the web when I import cloud_firestore?
If you want to use Firebase on Web and Mobile you have to get creative. I created the fb_auth plugin that uses the Mobile SDK firebase_auth on iOS and Android and the firebase package on web. This will give you a single plugin for auth.
https://pub.dev/packages/fb_auth
Im working on firstore and storage but they are not ready yet.
I have also created an article on how to do this with flutter:
https://medium.com/#rody.davis.jr/how-to-build-a-native-cross-platform-project-with-flutter-372b9e4b504f
You have to use dynamic imports so that at compile time it tree shakes what it doesn't need and will not throw an error.
Currently this is the only way to officially use both plugins in the same project.
EDIT: cloud_firestore now added
Two of the FutterFire plugins are now supported for web. FlutterFire plugins supporting web firebase_auth and firebase_core
cloud_firestore is now also supported

Phonegap Cordova 3.6.3 inappbrowser does not exist

I'm using Phonegap Cordova 3.6.3 and run my project in eclipse i found an error
10-30 11:13:42.463: E/Web Console(2447): Uncaught Error: Module org.apache.cordova.inappbrowser.inappbrowser does not exist. at file:///android_asset/www/cordova.js:1385
To be able to use core plugins like inapp browser, you need first to add the plugin.
I suggest you read the docs : http://plugins.cordova.io/#/package/org.apache.cordova.inappbrowser
Installation :
cordova plugin add org.apache.cordova.inappbrowser
(This is since version 3.x of cordova/phonegap. Before that all core plugins where included)