The plugin `kommunicate_flutter` uses a deprecated version of the Android embedding - android

I try to upload kommunicate_flutter: ^1.1.3 in my flutter android app becasue I want to add chatbot in my app but I face this problem , can anyone help me please?
The plugin kommunicate_flutter 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

This has been resolved in the new versions of Kommunicate Flutter.
Upgrade Kommunicate Flutter's version to resolve the issue.
The Latest Version is 1.4.5.
You can check this link for release notes & other details.
Thanks

Related

I'm facing error in upgrading android v2 in flutter

The plugins flutter_custom_tabs, shared_preferences, url_launcher 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.
Please help
**I'm facing this error while Upgrading my app from Android v1 to v2
Please help **

Flutter Plugin migrating to supports the Android V2 embedding

I work on a Flutter mobile app project and we use flutter_stripe_payment plugin there. But author doesn't support it anymore and we facing the issue when trying to upgrade flutter higher that 2.2.3
The plugin `stripe_payment` 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.
I forked the library repository and applied migration steps and replaced the link in yaml file to
stripe_payment:
git:
url: https://github.com/ldemyanenko/flutter_stripe_payment
ref: master
But I'm still facing the same issue. I'm not sure what I'm doing wrong. The code and the latest two commits with migration are here
p.s. I tried official flutter stripe live from https://pub.dev/packages/flutter_stripe. But it looks like it's a bad fit for us as there is no way to add a cart to saved payment methods through custom ui there.

The plugin `esys_flutter_share` uses a deprecated version of the Android embedding

The plugin esys_flutter_share 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.
What is the possible fix for this issue?

Is there any alternative to flutter package call_log?

I've a flutter application which uses call_log flutter package to sync call logs between various devices. But currently I'm facing issues on latest android devices version 11. The error is:
The plugin call_log 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
My app is crashing on latest android devices (version 11) and I'm not able to run on debug mode too.
What are the alternatives present? Shall I downgrade flutter version or wait for call_log package for new updates? My flutter version is 2.5.1. Call_log package version is 3.0.3. It was last updated in May month. call_log package
I'm just new in flutter so suggest me something I can do instantly to resolve this issue.

How do I determine compatible version for google services plugin, gradle plugin and dart pub packages

I'm learning flutter. The "Adding Firebase to Flutter" tutorial shows to use this; "com.google.gms:google-services:3.2.1" but the latest version seems to be 4.2.0
Also, I'd like to use suitable (latest?) version of packages from https://pub.dartlang.org/packages
Such as (currently):
firebase_core 0.3.1+1 and
google_sign_in 4.0.1+1
If I just choose the latest numbers I get a lot of compilation errors.
My Questions is: where can I find the latest supports/compatible version numbers for these various components?
The only thing I have found to work is to use:"com.google.gms:google-services:3.2.1" and to just keep downgrading pub package versions numbers until the compiler errors go away. I feel like there must be a more sane way to deduce the correct version numbers to use for various components.
Anybody have any insight into this issue?
Thanks
I need to see error messages but it's probably about AndroidX. If you have to check the changelog files of your plugins (by the way it's a good practice since sometimes readme's are not updated), you will probably see
Breaking change. Migrate from the deprecated original Android Support Library to AndroidX. This shouldn't result in any functional changes, but it requires any Android apps using this plugin to also migrate if they're using the original support library.
google_sign_in 4.0.0 changelog
You can avoid AndroidX by using these packages listed or you can migrate to AndroidX with these instructions.
flutter create is not coming with androidx, it comes with android support libraries, but if you have Android Studio, it's easy to migrate it. In my case, I've migrated it.

Categories

Resources