Skip to content

Commit 3e32e9e

Browse files
committed
remove expo-image demo screen
1 parent 1b44bd8 commit 3e32e9e

5 files changed

Lines changed: 1204 additions & 1576 deletions

File tree

app.config.ts

Lines changed: 48 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,52 @@
1-
// app.config.ts
21
import 'dotenv/config';
2+
import { ExpoConfig } from 'expo';
33

4-
export default {
5-
expo: {
6-
name: 'WorkLog-mobile',
7-
slug: 'WorkLog-mobile',
8-
version: '1.0.0',
9-
scheme: 'worklogmobile',
10-
newArchEnabled: true,
11-
ios: { "bundleIdentifier": "com.yoavperetz.worklog",supportsTablet: true },
12-
android: { "package": "com.yoavperetz.worklog", "versionCode": 1, permissions: ['ACCESS_COARSE_LOCATION', 'ACCESS_FINE_LOCATION'] },
13-
plugins: [
14-
'expo-router',
15-
['expo-splash-screen', { backgroundColor: '#ffffff', dark: { backgroundColor: '#000000' } }],
16-
['expo-location', { isAndroidBackgroundLocationEnabled: false }],
17-
],
18-
experiments: { typedRoutes: true, reactCompiler: true },
19-
20-
// 👇 expose env as "extra" (safe for public `EXPO_PUBLIC_` values)
21-
extra: {
22-
eas: {
23-
projectId: '007f7a5d-3ce2-4f3c-95f2-be2e1a5a4ff8',
24-
},
25-
EXPO_PUBLIC_SUPABASE_URL: process.env.EXPO_PUBLIC_SUPABASE_URL,
26-
EXPO_PUBLIC_SUPABASE_ANON_KEY: process.env.EXPO_PUBLIC_SUPABASE_ANON_KEY,
4+
const config: ExpoConfig = {
5+
name: 'WorkLog',
6+
slug: 'WorkLog-mobile',
7+
scheme: 'worklog',
8+
version: '1.0.0',
9+
orientation: 'portrait',
10+
icon: './assets/logo.png',
11+
userInterfaceStyle: 'automatic',
12+
platforms: ['ios', 'android'],
13+
splash: {
14+
image: './assets/logo.png',
15+
resizeMode: 'contain',
16+
backgroundColor: '#ffffff',
17+
},
18+
ios: {
19+
supportsTablet: true,
20+
bundleIdentifier: 'com.masteryoav.worklog',
21+
infoPlist: {
22+
ITSAppUsesNonExemptEncryption: false,
23+
},
24+
},
25+
android: {
26+
package: 'com.masteryoav.worklog',
27+
adaptiveIcon: {
28+
foregroundImage: './assets/logo.png',
29+
backgroundColor: '#ffffff',
2730
},
2831
},
29-
};
32+
extra: {
33+
eas: {
34+
projectId: '007f7a5d-3ce2-4f3c-95f2-be2e1a5a4ff8',
35+
},
36+
// pulled from .env at runtime
37+
EXPO_PUBLIC_SUPABASE_URL: process.env.EXPO_PUBLIC_SUPABASE_URL,
38+
EXPO_PUBLIC_SUPABASE_ANON_KEY: process.env.EXPO_PUBLIC_SUPABASE_ANON_KEY,
39+
},
40+
experiments: {
41+
typedRoutes: true,
42+
},
43+
plugins: [
44+
// we DO use expo-router:
45+
'expo-router',
46+
// 🚫 DO NOT put 'expo-clipboard' here – it has no config plugin in this version
47+
// 'expo-clipboard',
48+
// 'expo-mail-composer' also usually not needed as a plugin
49+
],
50+
};
51+
52+
export default config;

app.json

Lines changed: 0 additions & 80 deletions
This file was deleted.

app/(tabs)/explore.tsx

Lines changed: 0 additions & 112 deletions
This file was deleted.

0 commit comments

Comments
 (0)