Skip to content

Commit 00e45e7

Browse files
committed
Done some responsive changes
1 parent 159b26a commit 00e45e7

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

Screens/HomePage.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export function HomePage({navigation}) {
6161
}}>
6262
<EachCard
6363
title={'MAIL'}
64-
discreption={'Generate professional mails in with one tap.'}
64+
discreption={'Generate professional mail in with one tap.'}
6565
image={require('../Assets/mail.png')}
6666
color={'rgba(33, 64, 133, 0.30)'}
6767
navigation={navigation}
@@ -185,7 +185,7 @@ function EachCard({title, discreption, navigation, route, image, color}) {
185185
<Text
186186
style={{
187187
color: 'rgb(240, 240, 240)',
188-
fontSize: 20,
188+
fontSize: windowWidth * 0.055,
189189
fontWeight: 'bold',
190190
paddingHorizontal: 10,
191191
}}>
@@ -194,6 +194,7 @@ function EachCard({title, discreption, navigation, route, image, color}) {
194194
<Text
195195
style={{
196196
paddingHorizontal: 10,
197+
fontSize: windowWidth * 0.033,
197198
}}>
198199
{discreption}
199200
</Text>

android/app/build.gradle

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ react {
5353
/**
5454
* Set this to true to Run Proguard on Release builds to minify the Java bytecode.
5555
*/
56-
def enableProguardInReleaseBuilds = false
56+
def enableProguardInReleaseBuilds = true
5757

5858
/**
5959
* The preferred build flavor of JavaScriptCore (JSC)
@@ -88,6 +88,14 @@ android {
8888
keyAlias 'androiddebugkey'
8989
keyPassword 'android'
9090
}
91+
release {
92+
if (project.hasProperty('MYAPP_UPLOAD_STORE_FILE')) {
93+
storeFile file(MYAPP_UPLOAD_STORE_FILE)
94+
storePassword MYAPP_UPLOAD_STORE_PASSWORD
95+
keyAlias MYAPP_UPLOAD_KEY_ALIAS
96+
keyPassword MYAPP_UPLOAD_KEY_PASSWORD
97+
}
98+
}
9199
}
92100
buildTypes {
93101
debug {
@@ -96,7 +104,7 @@ android {
96104
release {
97105
// Caution! In production, you need to generate your own keystore file.
98106
// see https://reactnative.dev/docs/signed-apk-android.
99-
signingConfig signingConfigs.debug
107+
signingConfig signingConfigs.release
100108
minifyEnabled enableProguardInReleaseBuilds
101109
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
102110
}

android/gradle.properties

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,9 @@ newArchEnabled=false
4242
# Use this property to enable or disable the Hermes JS engine.
4343
# If set to false, you will be using JSC instead.
4444
hermesEnabled=true
45+
46+
47+
MYAPP_UPLOAD_STORE_FILE=O.keystore
48+
MYAPP_UPLOAD_KEY_ALIAS=O-alias
49+
MYAPP_UPLOAD_STORE_PASSWORD=123456
50+
MYAPP_UPLOAD_KEY_PASSWORD=123456

0 commit comments

Comments
 (0)