diff --git a/apps/mobile/App.tsx b/apps/mobile/App.tsx
index fbf74ce..b56f9ab 100644
--- a/apps/mobile/App.tsx
+++ b/apps/mobile/App.tsx
@@ -1,33 +1,122 @@
-import { useFonts } from 'expo-font';
-import { SplashScreen, Stack } from 'expo-router';
-import { useEffect } from 'react';
+import React from 'react';
+import {
+ Text,
+ View,
+ StyleSheet,
+ SafeAreaView,
+ TouchableOpacity,
+ TextInput,
+ FlatList,
+} from 'react-native';
-export {
- // Catch any errors thrown by the Layout component.
- ErrorBoundary,
-} from 'expo-router';
-
-// Prevent the splash screen from auto-hiding before asset loading is complete.
-SplashScreen.preventAutoHideAsync();
-
-export default function RootLayout() {
- const [fontsLoaded, fontError] = useFonts({});
-
- useEffect(() => {
- if (fontsLoaded || fontError) {
- SplashScreen.hideAsync();
- }
- }, [fontsLoaded, fontError]);
-
- if (!fontsLoaded && !fontError) {
- return null;
- }
+const demoLists = [
+ { id: '1', name: 'Groceries', itemCount: 5 },
+ { id: '2', name: 'Hardware Store', itemCount: 3 },
+ { id: '3', name: 'Pharmacy', itemCount: 2 },
+];
+export default function App() {
return (
-
+
+
+ 🛒 Bagsy
+ Your family shopping lists
+
+
+
+ My Lists
+
+ {demoLists.map((list) => (
+
+ {list.name}
+ {list.itemCount} items
+
+ ))}
+
+
+ + Create New List
+
+
+
+
+ Tap a list to view items
+
+
);
}
+
+const styles = StyleSheet.create({
+ container: {
+ flex: 1,
+ backgroundColor: '#004E89',
+ },
+ header: {
+ padding: 20,
+ paddingTop: 40,
+ backgroundColor: '#FF6B35',
+ },
+ title: {
+ fontSize: 32,
+ fontWeight: 'bold',
+ color: '#fff',
+ },
+ subtitle: {
+ fontSize: 16,
+ color: '#fff',
+ opacity: 0.9,
+ },
+ listsContainer: {
+ flex: 1,
+ padding: 20,
+ },
+ sectionTitle: {
+ fontSize: 18,
+ fontWeight: '600',
+ color: '#1ABC9C',
+ marginBottom: 15,
+ },
+ listCard: {
+ backgroundColor: '#fff',
+ borderRadius: 12,
+ padding: 20,
+ marginBottom: 12,
+ flexDirection: 'row',
+ justifyContent: 'space-between',
+ alignItems: 'center',
+ shadowColor: '#000',
+ shadowOffset: { width: 0, height: 2 },
+ shadowOpacity: 0.1,
+ shadowRadius: 4,
+ elevation: 3,
+ },
+ listName: {
+ fontSize: 18,
+ fontWeight: '600',
+ color: '#333',
+ },
+ itemCount: {
+ fontSize: 14,
+ color: '#666',
+ },
+ addButton: {
+ backgroundColor: '#1ABC9C',
+ borderRadius: 12,
+ padding: 16,
+ alignItems: 'center',
+ marginTop: 10,
+ },
+ addButtonText: {
+ color: '#fff',
+ fontSize: 16,
+ fontWeight: '600',
+ },
+ footer: {
+ padding: 20,
+ backgroundColor: '#003d6e',
+ },
+ footerText: {
+ color: '#fff',
+ textAlign: 'center',
+ opacity: 0.7,
+ },
+});
diff --git a/apps/mobile/app.json b/apps/mobile/app.json
index 9026989..0f592ef 100644
--- a/apps/mobile/app.json
+++ b/apps/mobile/app.json
@@ -13,22 +13,12 @@
},
"assetBundlePatterns": ["**/*"],
"ios": {
- "supportsTabletMode": true,
"bundleIdentifier": "com.barnabas.bagsy"
},
"android": {
"package": "com.barnabas.bagsy"
},
- "plugins": [
- [
- "expo-router",
- {
- "origin": false
- }
- ],
- "expo-camera",
- "expo-location"
- ],
+ "plugins": ["expo-router", "expo-camera", "expo-location"],
"extra": {
"eas": {
"projectId": "ef54c9d2-70f4-448e-8e45-0a85e3a92657"
diff --git a/apps/mobile/metro.config.js b/apps/mobile/metro.config.js
index c799b87..32938e8 100644
--- a/apps/mobile/metro.config.js
+++ b/apps/mobile/metro.config.js
@@ -1,22 +1,5 @@
-import { getDefaultConfig } from 'expo/metro-config.js';
-import path from 'path';
-import { fileURLToPath } from 'url';
+const { getDefaultConfig } = require('expo/metro-config');
-const __filename = fileURLToPath(import.meta.url);
-const __dirname = path.dirname(__filename);
+const config = getDefaultConfig(__dirname);
-const projectRoot = __dirname;
-const monorepoRoot = path.resolve(projectRoot, '../..');
-
-const config = getDefaultConfig(projectRoot);
-
-// Extend the resolver to handle monorepo
-config.resolver.sourceExts = ['ts', 'tsx', 'js', 'jsx', 'json', 'mjs'];
-config.resolver.extraNodeModules = {
- '@shop/types': path.resolve(monorepoRoot, 'packages/types'),
-};
-
-// Ensure app root is correct
-config.projectRoot = projectRoot;
-
-export default config;
+module.exports = config;
diff --git a/apps/mobile/package.json b/apps/mobile/package.json
index 2684132..779a5f4 100644
--- a/apps/mobile/package.json
+++ b/apps/mobile/package.json
@@ -12,38 +12,26 @@
"build:dev:android": "eas build --platform android --profile development",
"build:ios": "eas build --platform ios --profile production",
"build:android": "eas build --platform android --profile production",
- "build:preview:ios": "eas build --platform ios --profile preview",
- "build:preview:android": "eas build --platform android --profile preview",
- "lint": "eslint . --max-warnings 0",
"typecheck": "tsc --noEmit --skipLibCheck",
- "format": "prettier --write .",
- "postinstall": "node scripts/patch-expo-podspec.mjs"
+ "format": "prettier --write ."
},
"dependencies": {
- "@expo/ui": "^55.0.5",
- "@shop/types": "workspace:*",
- "better-auth": "^1.1.4",
- "expo": "54.0.0",
- "expo-blur": "^14.0.1",
- "expo-camera": "^14.1.0",
- "expo-constants": "^16.0.2",
- "expo-linear-gradient": "^14.0.1",
- "expo-linking": "^7.0.1",
- "expo-location": "^17.0.1",
- "expo-router": "3.4.0",
- "expo-secure-store": "^13.0.2",
- "expo-web-browser": "^13.0.1",
- "react": "^18.0.0",
+ "expo": "~54.0.33",
+ "react": "19.1.0",
"react-native": "0.75.0",
- "sharp": "^0.34.5",
+ "expo-router": "~3.4.0",
+ "expo-linking": "~8.0.11",
+ "expo-constants": "~18.0.13",
+ "expo-camera": "~17.0.10",
+ "expo-location": "~19.0.8",
+ "expo-blur": "~15.0.8",
+ "expo-linear-gradient": "~15.0.8",
+ "expo-secure-store": "~15.0.8",
+ "expo-web-browser": "~15.0.10",
+ "@expo/ui": "~0.2.0-beta.9",
"zustand": "^4.5.5"
},
"devDependencies": {
- "@types/react": "^19.0.0",
- "@typescript-eslint/eslint-plugin": "^8.5.0",
- "@typescript-eslint/parser": "^8.5.0",
- "eslint": "^9.10.0",
- "eslint-plugin-react": "^7.37.2",
"typescript": "^5.6.3"
}
}