Bump react-native-android versions (#3514)

Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/3514

^
Updates a few versions of different things used in react-native-android and the provided sample as to have more parity with the ones used in vanilla Android.

Changelog: React-native Android. Bump tools versions.

Reviewed By: passy

Differential Revision: D34751493

fbshipit-source-id: f2f85eb3e680e120f9526d5a64b3e894882149de
This commit is contained in:
Lorenzo Blasa
2022-03-09 09:01:28 -08:00
committed by Facebook GitHub Bot
parent 017bb77aaf
commit 28fbe7f11c
4 changed files with 9 additions and 9 deletions

View File

@@ -15,7 +15,8 @@
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize">
android:windowSoftInputMode="adjustResize"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />

View File

@@ -6,14 +6,13 @@
*/
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
buildToolsVersion = "30.0.2"
buildToolsVersion = "30.0.3"
minSdkVersion = 21
compileSdkVersion = 30
targetSdkVersion = 30
ndkVersion = "21.4.7075529"
compileSdkVersion = 31
targetSdkVersion = 31
ndkVersion = '23.0.7599858'
}
repositories {
google()

View File

@@ -30,4 +30,4 @@ android.useAndroidX=true
android.enableJetifier=true
# Version of flipper SDK to use with React Native
FLIPPER_VERSION=0.110.0
FLIPPER_VERSION=0.125.0

View File

@@ -17,7 +17,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.1'
classpath 'com.android.tools.build:gradle:7.0.4'
}
}
}
@@ -37,7 +37,7 @@ plugins {
// - https://github.com/facebook/react-native/blob/0.58-stable/local-cli/templates/HelloWorld/android/app/build.gradle
def DEFAULT_COMPILE_SDK_VERSION = 28
def DEFAULT_BUILD_TOOLS_VERSION = '28.0.3'
def DEFAULT_BUILD_TOOLS_VERSION = '30.0.3'
def DEFAULT_MIN_SDK_VERSION = 16
def DEFAULT_TARGET_SDK_VERSION = 28