react-native-iap icon indicating copy to clipboard operation
react-native-iap copied to clipboard

What's the minimum supported Android SDK version

Open steven-sh opened this issue 2 years ago • 1 comments

I'm in the process of upgrading from version 7 to version 9 or 10 of react-native-iap and I'm just trying to work out what the minimum supported Android version is? I see in the web documentation it says to set minSdkVersion to 24 but it isn't clear which versions of react-native-iap that instruction applies to.

Is there a list of min supported android versions and corresponding react-native-iap releases? I'd ideally like to have a minSdkVersion of 21, but I don't have a physical device running Android 5 so it's going to be hard to test purchases thoroughly.

steven-sh avatar Aug 26 '23 12:08 steven-sh

Just in case anyone wants an answer, we managed to get our hands on an Android 5 device (Samsung Galaxy S4 running Android 5.0.1) and it does seem to work (at least for what we need it to). We tested react-native-iap version 10.1.3 by:

  • Initing
  • Getting a list of subscription products (from SKUs)
  • Purchasing a subscription
  • Getting notified of the subscription via the listener
  • Upgrading/downgrading the subscription

Any official information would still be great though since we didn't test everything.

steven-sh avatar Sep 16 '23 13:09 steven-sh