fix config
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
{
|
{
|
||||||
"expo": {
|
"expo": {
|
||||||
|
"name": "HealthRader",
|
||||||
|
"slug": "com-chiefsoft-raderapp",
|
||||||
"scheme": "healthrader-app-scheme",
|
"scheme": "healthrader-app-scheme",
|
||||||
"version": "1.1.0",
|
"version": "1.1.0",
|
||||||
"orientation": "portrait",
|
"orientation": "portrait",
|
||||||
@@ -10,28 +12,31 @@
|
|||||||
"resizeMode": "contain",
|
"resizeMode": "contain",
|
||||||
"backgroundColor": "#ffffff"
|
"backgroundColor": "#ffffff"
|
||||||
},
|
},
|
||||||
|
"ios": {
|
||||||
|
"supportsTablet": true,
|
||||||
|
"bundleIdentifier": "com.chiefsoft.raderapp"
|
||||||
|
},
|
||||||
|
"android": {
|
||||||
|
"adaptiveIcon": {
|
||||||
|
"foregroundImage": "./assets/adaptive-icon.png",
|
||||||
|
"backgroundColor": "#ffffff"
|
||||||
|
},
|
||||||
|
"package": "com.chiefsoft.raderapp"
|
||||||
|
},
|
||||||
"web": {
|
"web": {
|
||||||
|
"favicon": "./assets/favicon.png",
|
||||||
"bundler": "metro"
|
"bundler": "metro"
|
||||||
},
|
},
|
||||||
"plugins": [
|
|
||||||
"expo-router"
|
|
||||||
],
|
|
||||||
"name": "HealthRader",
|
|
||||||
"slug": "healthrader-3wjzaetua4alnymmgw963",
|
|
||||||
"extra": {
|
"extra": {
|
||||||
"router": {
|
"router": {
|
||||||
"origin": false
|
"origin": false
|
||||||
},
|
},
|
||||||
"eas": {
|
"eas": {
|
||||||
"projectId": "14db5095-cca8-4161-94ca-85f219dd4050"
|
"projectId": "252a3215-2dcc-4d2d-a86d-b2e76b076993"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"android": {
|
"plugins": [
|
||||||
"package": "com.chiefsoft.raderapp"
|
"expo-router"
|
||||||
},
|
]
|
||||||
"ios": {
|
|
||||||
"bundleIdentifier": "com.chiefsoft.raderapp"
|
|
||||||
},
|
|
||||||
"owner": "chiefsoft"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -1,5 +1,5 @@
|
|||||||
import { Stack, useNavigation } from 'expo-router';
|
import { Stack, useNavigation } from 'expo-router';
|
||||||
import { ImageBackground, StyleSheet, Button, TextInput, Text, View ,Image,Alert } from 'react-native';
|
import { ImageBackground, StyleSheet, Button, TextInput, SafeAreaView, Text, View ,Image,Alert } from 'react-native';
|
||||||
import { useEffect,useState } from 'react';
|
import { useEffect,useState } from 'react';
|
||||||
|
|
||||||
const Home =()=> {
|
const Home =()=> {
|
||||||
@@ -10,7 +10,7 @@ const Home =()=> {
|
|||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View style={styles.container}>
|
<SafeAreaView style={styles.container}>
|
||||||
<ImageBackground source={image} resizeMode="cover" style={styles.image}>
|
<ImageBackground source={image} resizeMode="cover" style={styles.image}>
|
||||||
<View style={styles.login_box}>
|
<View style={styles.login_box}>
|
||||||
<Image
|
<Image
|
||||||
@@ -44,7 +44,7 @@ const Home =()=> {
|
|||||||
</View>
|
</View>
|
||||||
|
|
||||||
</ImageBackground>
|
</ImageBackground>
|
||||||
</View>
|
</SafeAreaView>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+8
-7
@@ -11,20 +11,21 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^1.6.8",
|
"axios": "^1.6.8",
|
||||||
"expo": "^51.0.8",
|
"expo": "^51.0.8",
|
||||||
"expo-constants": "~15.4.5",
|
|
||||||
"expo-font": "^11.10.3",
|
"expo-font": "^11.10.3",
|
||||||
"expo-linking": "~6.2.2",
|
|
||||||
"expo-router": "~3.4.9",
|
|
||||||
"expo-splash-screen": "~0.26.5",
|
"expo-splash-screen": "~0.26.5",
|
||||||
"expo-status-bar": "~1.11.1",
|
"expo-status-bar": "~1.11.1",
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"react-dom": "18.2.0",
|
"react-dom": "18.2.0",
|
||||||
"react-native": "0.73.6",
|
"react-native": "0.74.1",
|
||||||
"react-native-dotenv": "^3.4.11",
|
"react-native-dotenv": "^3.4.11",
|
||||||
"react-native-gesture-handler": "~2.14.0",
|
"react-native-gesture-handler": "~2.14.0",
|
||||||
"react-native-safe-area-context": "4.8.2",
|
"react-native-web": "~0.19.10",
|
||||||
"react-native-screens": "~3.29.0",
|
"@expo/metro-runtime": "~3.2.1",
|
||||||
"react-native-web": "~0.19.6"
|
"expo-router": "~3.5.23",
|
||||||
|
"react-native-safe-area-context": "4.10.5",
|
||||||
|
"react-native-screens": "3.31.1",
|
||||||
|
"expo-linking": "~6.3.1",
|
||||||
|
"expo-constants": "~16.0.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.20.0"
|
"@babel/core": "^7.20.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user