While publing app on playstore got : Please upgrade to Billing Library version 3 or newer to publish this app - flutter

While publing app on playstore got : Error We've detected this app uses an unsupported version of Play billing. Please upgrade to Billing Library version 3 or newer to publish this app.

Okay I got solution , I just updated all deprecated libraries.
I was using Flutter 1.22.4, I migrated my project to Flutter 2.5.3 (Latest one as of nov-2021) everything solved.

I faced the same issue, here is some workaround worked for me.
In your android>app>build.gradle add following line in dependencies.
implementation ('com.android.billingclient:billing:4.0.0'){ force = true }

Related

Versioning issue : Geolocator is not working on 2.14

enter image description here
How can i fix the versioning issue ?
As it says, you need to upgrade dart SDK to the latest version by running the command flutter upgrade. Make sure to backup your project

Please upgrade to Billing Library version 3 or newer to publish this app

I am trying to upload app on google PlayStore but it is giving me this error.
We've detected that this app uses an unsupported version of Play Billing. Please upgrade to Billing Library version 3 or newer to publish this app. Learn more about Billing Library 3.
I am using in_app_purchase: ^0.3.4. I cannot update my whole code to latest flutter version. I need help with this
You should upgrade to the latest in_app_purchase version.
In pubspec.yaml -
in_app_purchase: ^2.0.1
The API's used by the version you are using (0.3.4) are not supported by the play store now and thus you would need to upgrade it.

FIREBASE_AUTH_API is not available on this device

I have followed the new Google Firebase guide for Facebook sign-in on Android but I am consistently getting the following error on a particular device.
FirebaseAuth:signInWithCredential failed
com.google.firebase.FirebaseApiNotAvailableException: API: InternalFirebaseAuth.FIREBASE_AUTH_API is not available on this device.
On other devices it seems to work fine. The device is Moto X Play running Android 6.0.1. It also has Google Play Services 9.0.83. I tried a complete uninstall and reinstall with no luck.
This was a bug affecting the 9.0.0 and 9.0.1 versions of the SDK. It has been fixed as of SDK version 9.0.2.
Update the Google repository via the Android SDK manager and then change your gradle dependency to:
compile 'com.google.firebase:firebase-auth:9.0.2'
See incident details here.
As Alfonso says in the comments, there is an issue we are seeing where some users don't have the Firebase Auth API available even though they have Google Play services 9.0.83.
That's a bug - sorry about that - and is being investigated at the moment. If you're seeing it, please raise an issue in the troubleshooting page with any further details of the device where you had the problem.

Updating Ionic Apps in real time

I'm a web developer, new to Ionic.But I can't find out how can I update my app on the server,like a website,and without having user redownload the app.Is there any solutions?
Thanks!
There's an available plugin you can use Cordova-hot-code-push
This plugin provides functionality to perform automatic updates of the web based content in your application.Basically, everything that is stored in www folder of your Cordova project can be updated using this plugin.
supported platforms: Android 4.0.0 or above.
iOS 7.0 or above. Xcode 7 is required.
It has a great wiki too.
Yes, as of recently there is a solution for this. Ionic calls it Ionic Deploy, and you can see the official documentation about it here.
However, one must note that this is still in Alpha version and they don't recommend it for production, but since they're very apt in shipping new features, I'm sure this will be even production ready very soon.

Upgrading Cordova Framework

I was having the same issue with respect to receiving an error code 4 when trying to add a contact on my device running on iOS 6.1 (although it worked on the simulators). In reading a similar post (Phonegap ContactError when saving contact on iOS 6) I saw that you should update the Cordova framework to 2.0+ to accomodate for iOS 6. I updated Xcode to 4.6, but was not sure how to go about upgrading Cordova (or updating its integration withing XCode). I'm currently running on version 1.7.0 for cordova and downloaded the 2.5 release. Is the upgrade incremental or can I make a version jump? Can anyone guide me on how to go about upgrading my Cordova framework version? Thanks in advance.
From Cordova 1.7 to Cordova 2.5, there are no migration path. I would recommend to:
Backup your full mac os system
Uninstall Cordova 1.7
Install Cordova 2.5
Create a new XCode project according the 2.5 cordova tutorial
Copy and paste your html5 code from your old to your new project
Fix the issues
It is painful, but it is a clean migration path.