From f9af2a7f47dc23ff138a226b5b3cedf1f50d0776 Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Wed, 16 Oct 2024 16:18:13 +0530 Subject: Initialize Expo project with App.js and config --- App.js | 24 +++++++++--------------- app.json | 25 ++++++++++--------------- 2 files changed, 19 insertions(+), 30 deletions(-) diff --git a/App.js b/App.js index 09f879b..89934ec 100644 --- a/App.js +++ b/App.js @@ -1,20 +1,14 @@ -import { StatusBar } from 'expo-status-bar'; -import { StyleSheet, Text, View } from 'react-native'; +import React form 'react'; +import { NavigationContainer } from '@react-navigation/native' +import AppNavigator from './src/navigation/AppNavigator.js' +import { CartProvider } from './src/context/CartContext.js' export default function App() { return ( - - Open up App.js to start working on your app! - - + + + + + ); } - -const styles = StyleSheet.create({ - container: { - flex: 1, - backgroundColor: '#fff', - alignItems: 'center', - justifyContent: 'center', - }, -}); diff --git a/app.json b/app.json index 027e28e..cc8d685 100644 --- a/app.json +++ b/app.json @@ -1,27 +1,22 @@ { "expo": { - "name": "Mallapp", - "slug": "Mallapp", + "name": "MailApp", + "slug": "mail-app", "version": "1.0.0", "orientation": "portrait", + "platforms": ["ios", "android"], "icon": "./assets/icon.png", - "userInterfaceStyle": "light", "splash": { - "image": "./assets/splash.png", + "image": "./assets/icon.png", "resizeMode": "contain", "backgroundColor": "#ffffff" }, - "ios": { - "supportsTablet": true + "updates": { + "fallbackToCacheTimeout": 0 }, - "android": { - "adaptiveIcon": { - "foregroundImage": "./assets/adaptive-icon.png", - "backgroundColor": "#ffffff" - } - }, - "web": { - "favicon": "./assets/favicon.png" - } + "assetBundlePatterns": [ + "**/*" + ] } } + -- cgit v1.2.3-59-g8ed1b