-
Notifications
You must be signed in to change notification settings - Fork 24
Restore EAS configuration files #210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,37 +1,8 @@ | ||
| # Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files | ||
|
|
||
| # dependencies | ||
| node_modules/ | ||
|
|
||
| # Expo | ||
| .expo/ | ||
| dist/ | ||
| web-build/ | ||
| expo-env.d.ts | ||
|
|
||
| # Native | ||
| .kotlin/ | ||
| *.orig.* | ||
| *.jks | ||
| *.p8 | ||
| *.p12 | ||
| *.key | ||
| *.mobileprovision | ||
|
|
||
| # Metro | ||
| .metro-health-check* | ||
|
|
||
| # debug | ||
| npm-debug.* | ||
| yarn-debug.* | ||
| yarn-error.* | ||
|
|
||
| # macOS | ||
| npm-debug.log* | ||
| yarn-debug.log* | ||
| yarn-error.log* | ||
| # MacOS | ||
| .DS_Store | ||
| *.pem | ||
|
|
||
| # local env files | ||
| .env*.local | ||
|
|
||
| # typescript | ||
| *.tsbuildinfo | ||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,35 +1,51 @@ | ||
| { | ||
| "expo": { | ||
| "name": "frontend", | ||
| "slug": "frontend", | ||
| "platforms": ["ios", "android", "web"], | ||
| "name": "Splitwiser Mobile", | ||
| "slug": "splitwiser-mobile", | ||
| "version": "1.0.0", | ||
| "orientation": "portrait", | ||
| "icon": "./assets/icon.png", | ||
| "userInterfaceStyle": "light", | ||
| "newArchEnabled": true, | ||
| "splash": { | ||
| "image": "./assets/splash-icon.png", | ||
| "image": "./assets/splash.png", | ||
| "resizeMode": "contain", | ||
| "backgroundColor": "#ffffff" | ||
| }, | ||
| "assetBundlePatterns": [ | ||
| "**/*" | ||
| ], | ||
| "ios": { | ||
| "supportsTablet": true, | ||
| "infoPlist": { | ||
| "NSPhotoLibraryUsageDescription": "Allow Splitwiser to select a group icon from your photo library." | ||
| } | ||
| "bundleIdentifier": "com.splitwiser.mobile" | ||
| }, | ||
| "android": { | ||
| "adaptiveIcon": { | ||
| "foregroundImage": "./assets/adaptive-icon.png", | ||
| "backgroundColor": "#ffffff" | ||
| }, | ||
| "edgeToEdgeEnabled": true, | ||
| "permissions": ["READ_MEDIA_IMAGES"] | ||
| "package": "com.splitwiser.mobile" | ||
| }, | ||
| "web": { | ||
| "favicon": "./assets/favicon.png" | ||
| "favicon": "./assets/favicon.png", | ||
| "bundler": "metro" | ||
| }, | ||
|
Comment on lines
+29
to
31
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial Avoid potential confusion around duplicated You’re enabling the new architecture both via:
To reduce drift and future confusion, consider relying on a single source of truth (typically the plugin config) and remove the top‑level flag if it’s no longer required in your target Expo SDK, after confirming with current Expo docs. Also applies to: 32-48 🤖 Prompt for AI Agents |
||
| "plugins": [ | ||
| "expo-router", | ||
| "expo-font", | ||
| [ | ||
| "expo-build-properties", | ||
| { | ||
| "android": { | ||
| "newArchEnabled": true | ||
| }, | ||
| "ios": { | ||
| "newArchEnabled": true | ||
| } | ||
| } | ||
| ] | ||
| ], | ||
| "scheme": "splitwiser", | ||
| "newArchEnabled": true, | ||
| "extra": { | ||
| "eas": { | ||
| "projectId": "afe97159-52c4-425a-9ce3-c56d4f2cb568" | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,40 @@ | ||||||
| import { DarkTheme, DefaultTheme, ThemeProvider } from '@react-navigation/native'; | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial Remove unused
-import { DarkTheme, DefaultTheme, ThemeProvider } from '@react-navigation/native';
+import { DefaultTheme, ThemeProvider } from '@react-navigation/native';📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| import { useFonts } from 'expo-font'; | ||||||
| import { Stack } from 'expo-router'; | ||||||
| import * as SplashScreen from 'expo-splash-screen'; | ||||||
| import { useEffect } from 'react'; | ||||||
| import { Inter_400Regular, Inter_700Bold } from '@expo-google-fonts/inter'; | ||||||
| import { SpaceGrotesk_400Regular, SpaceGrotesk_700Bold } from '@expo-google-fonts/space-grotesk'; | ||||||
| import "../global.css"; | ||||||
| import { StatusBar } from 'expo-status-bar'; | ||||||
|
|
||||||
| // Prevent the splash screen from auto-hiding before asset loading is complete. | ||||||
| SplashScreen.preventAutoHideAsync(); | ||||||
|
|
||||||
| export default function RootLayout() { | ||||||
| const [loaded] = useFonts({ | ||||||
| Inter_400Regular, | ||||||
| Inter_700Bold, | ||||||
| SpaceGrotesk_400Regular, | ||||||
| SpaceGrotesk_700Bold, | ||||||
| }); | ||||||
|
|
||||||
| useEffect(() => { | ||||||
| if (loaded) { | ||||||
| SplashScreen.hideAsync(); | ||||||
| } | ||||||
| }, [loaded]); | ||||||
|
|
||||||
| if (!loaded) { | ||||||
| return null; | ||||||
| } | ||||||
|
|
||||||
| return ( | ||||||
| <ThemeProvider value={DefaultTheme}> | ||||||
| <Stack> | ||||||
| <Stack.Screen name="index" options={{ headerShown: false }} /> | ||||||
| </Stack> | ||||||
| <StatusBar style="dark" /> | ||||||
| </ThemeProvider> | ||||||
| ); | ||||||
| } | ||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Nitpick | 🔵 Trivial
Minor: Use standard macOS capitalization.
"MacOS" should be "macOS" per Apple's official naming.
📝 Committable suggestion
🤖 Prompt for AI Agents