I use the latest version of purchase_flutter (4.2.1) in my Flutter app.
I get an error in the Google Play Console that I have to use Billing Library version 4 or newer. I run the command gradlew “app:dependencies” to check the used version and found this in the result:
+---com.android.billingclient:billig:4.1.0
The warning has a link to this site https://developer.android.com/google/play/billing/deprecation-faq with this relevant section:
Make sure your
AndroidManifest.xml
contains an entry with namecom.google.android.play.billingclient.version
. If the entry isn't present, check your manifest merge settings to see if the manifest attribute is being dropped during manifest merging.
Do I have to set this entry in the AndroidManifest? As I understood, this has to be set by the package purchases_flutter. But why do I get this warning and how I can solve it?