microsoft / react-native-test-app

react-native-test-app provides an app for all supported platforms as a package
MIT License
595 stars 91 forks source link

fix(android): make sdk versions configurable #2152

Closed tido64 closed 3 months ago

tido64 commented 3 months ago

Description

compileSdkVersion, minSdkVersion, targetSdkVersion can be configured in gradle.properties:

react.compileSdkVersion=34
react.minSdkVersion=23
react.targetSdkVersion=33

Platforms affected

Test plan

  1. In gradle.properties, try adding react.minSdkVersion=24 and build the Android app (this should succeed)
  2. In gradle.properties, try adding react.minSdkVersion=99 and build the Android app (this should fail)