File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -389,7 +389,8 @@ export default function FormAdScreen(){
389
389
try {
390
390
let result = await ImagePicker . launchImageLibraryAsync ( {
391
391
mediaTypes : ImagePicker . MediaTypeOptions . Images ,
392
- quality : 1 ,
392
+ //Compressão da imagem abaixo
393
+ quality : 0.1 ,
393
394
allowsMultipleSelection : false ,
394
395
} ) ;
395
396
if ( ! result . canceled ) {
Original file line number Diff line number Diff line change 2
2
"build" : {
3
3
"preview" : {
4
4
"env" : {
5
- "EXPO_PUBLIC_BACKEND_URL" : " http://4.228.42.88 :8080"
5
+ "EXPO_PUBLIC_BACKEND_URL" : " http://20.201.76.30 :8080"
6
6
},
7
7
"android" : {
8
8
"buildType" : " apk"
Original file line number Diff line number Diff line change 17
17
"axios" : " ^1.6.7" ,
18
18
"date-fns" : " ^3.6.0" ,
19
19
"expo" : " ~50.0.19" ,
20
+ "expo-build-properties" : " ~0.11.1" ,
20
21
"expo-constants" : " ~15.4.6" ,
21
22
"expo-file-system" : " ~16.0.9" ,
22
23
"expo-image-picker" : " ~14.7.1" ,
30
31
"react-native-paper" : " ^5.12.3" ,
31
32
"react-native-safe-area-context" : " 4.8.2" ,
32
33
"react-native-screens" : " ~3.29.0" ,
33
- "typescript" : " ^5.3.0" ,
34
- "expo-build-properties" : " ~0.11.1"
34
+ "typescript" : " ^5.3.0"
35
35
},
36
36
"devDependencies" : {
37
37
"@babel/core" : " ^7.20.0" ,
You can’t perform that action at this time.
0 commit comments