title: React Expo changing target Android API
body: <p>Recently we build Android Apps using react expo and build signed APK using bellow command <code>expo build:android -t apk</code> or Android App Bundle <code>expo build:android -t app-bundle</code></p>
  
  <p>After we build signed APK, we tried to upload to Playstore and some error appears that wanted us to upgrade target API from 26 to 28. Have explored and reading several QA at SO and many of them are intended for React Native. How we can publish our APK to Play Store?</p>
  
  <p>Here are <code>app.json</code></p>
  
  <pre><code>{
    "expo": {
      "name": "***",
      "slug": "***",
      "privacy": "public",
      "sdkVersion": "32.0.0",
      "platforms": [
        "ios",
        "android"
      ],
      "version": "1.2.3",
      "orientation": "portrait",
      "icon": "./assets/logo.png",
      "splash": {
        "image": "./assets/splash.png",
        "resizeMode": "contain",
        "backgroundColor": "#ffffff"
      },
      "updates": {
        "enabled": true,
        "checkAutomatically": "ON_LOAD",
        "fallbackToCacheTimeout": 0
      },
      "assetBundlePatterns": [
        "**/*"
      ],
      "ios": {
        "supportsTablet": true
      },
      "android": {
        "package": "com.qreatiq.foodmart",
        "permissions": [
          "CAMERA"
        ],
        "googleServicesFile": "./google-services.json",
      },
    }
  }
  </code></pre>
  
  <p>We've tried to check the documentation <a href="https://docs.expo.io/versions/v32.0.0/workflow/configuration/" rel="noreferrer"><code>here</code></a> and there are property for compileSDKVersion or related like native apps.</p>
  
  <p>In Native app we can easily configure as bellow </p>
  
  <pre><code>compileSdkVersion 27
  buildToolsVersion "27.0.3"
  minSdkVersion 16
  targetSdkVersion 27
  </code></pre>
  
  <p>How to do that at React Expo?</p>
  
  <p><strong><em>Update 1</em></strong>
  after reading from <a href="https://developer.android.com/distribute/best-practices/develop/target-sdk.html#preoreo" rel="noreferrer">developer.android.com</a></p>
  
  <blockquote>
    <p>When you upload an APK, it needs to meet Google Play’s target API
    level requirements. Starting August 1, 2019, Google Play requires that
    new apps target at least Android 9.0 (API level 28), and that app
    updates target Android 9.0 from November 1, 2019. Until these dates,
    new apps and app updates must target at least Android 8.0 (API level
    26).</p>
  </blockquote>
  
  <p>Still doesn't have any idea for that things. </p>