'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



Solution 1:[1]

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.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 SuPythony