@@ -47,13 +47,13 @@ react {
4747 // The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
4848 // hermesFlags = ["-O", "-output-source-map"]
4949}
50+
5051/**
5152 * Set this to true to Run Proguard on Release builds to minify the Java bytecode.
5253 */
5354def enableProguardInReleaseBuilds = false
54-
5555/**
56- * The preferred build flavor of JavaScriptCore (JSC)
56+ * The preferred build flavor of JavaScriptCore (JSC)
5757 *
5858 * For example, to use the international variant, you can use:
5959 * `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
@@ -69,45 +69,47 @@ android {
6969 ndkVersion rootProject. ext. ndkVersion
7070 buildToolsVersion rootProject. ext. buildToolsVersion
7171 compileSdk rootProject. ext. compileSdkVersion
72- namespace " com.reactnativestarter"
72+ namespace " com.reactnativestarter.upd"
73+
7374// compileOptions {
7475// sourceCompatibility JavaVersion.VERSION_1_8
7576// targetCompatibility JavaVersion.VERSION_1_8
7677// }
77-
78- defaultConfig {
79- applicationId " com.reactnativestarter"
80- minSdkVersion rootProject. ext. minSdkVersion
81- targetSdkVersion rootProject. ext. targetSdkVersion
82- versionCode 1
83- versionName " 1.0"
84- multiDexEnabled true
85- }
86- // dexOptions {
87- // javaMaxHeapSize "4g"
88- // }
8978 signingConfigs {
9079 debug {
9180 storeFile file(' debug.keystore' )
9281 storePassword ' android'
9382 keyAlias ' androiddebugkey'
9483 keyPassword ' android'
9584 }
85+ release {
86+ storeFile file(' my-upload-key.keystore' )
87+ storePassword ' vlad_keystore321'
88+ keyAlias ' my-key-alias'
89+ keyPassword ' vlad_keystore321'
90+ }
91+ }
92+ defaultConfig {
93+ applicationId " com.reactnativestarter.upd"
94+ minSdkVersion rootProject. ext. minSdkVersion
95+ targetSdkVersion rootProject. ext. targetSdkVersion
96+ versionCode 6
97+ versionName " 4.0.1"
9698 }
99+
97100 buildTypes {
98101 debug {
99102 signingConfig signingConfigs. debug
100103 }
101104 release {
102105 // Caution! In production, you need to generate your own keystore file.
103106 // see https://facebook.github.io/react-native/docs/signed-apk-android.
104- signingConfig signingConfigs. debug
107+ signingConfig signingConfigs. release
105108 minifyEnabled enableProguardInReleaseBuilds
106109 proguardFiles getDefaultProguardFile(" proguard-android.txt" ), " proguard-rules.pro"
107110 }
108111 }
109112}
110-
111113dependencies {
112114 // The version of react-native is set by the React Native Gradle Plugin
113115 implementation(" com.facebook.react:react-android" )
@@ -121,3 +123,4 @@ dependencies {
121123}
122124
123125apply from : file(" ../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle" ); applyNativeModulesAppBuildGradle(project)
126+ apply from : " ../../node_modules/react-native-vector-icons/fonts.gradle"
0 commit comments