11import 'dotenv/config' ;
2- import { ExpoConfig } from 'expo' ;
2+ import { type ConfigContext , type ExpoConfig } from 'expo/config ' ;
33
4- const config : ExpoConfig = {
4+ export default ( { config } : ConfigContext ) : ExpoConfig => ( {
5+ ...config ,
56 name : 'WorkLog' ,
67 slug : 'WorkLog-mobile' ,
7- scheme : 'worklog' ,
88 version : '1.0.0' ,
99 orientation : 'portrait' ,
10- icon : './assets/logo.png' ,
1110 userInterfaceStyle : 'automatic' ,
12- platforms : [ 'ios' , 'android' ] ,
11+
12+ icon : './assets/icon.png' , // 👈 כאן האייקון שלך
13+
1314 splash : {
14- image : './assets/logo .png' ,
15+ image : './assets/icon .png' , // אפשר גם לשים את אותו קובץ
1516 resizeMode : 'contain' ,
1617 backgroundColor : '#ffffff' ,
1718 } ,
19+
20+ platforms : [ 'ios' , 'android' ] ,
21+
1822 ios : {
19- supportsTablet : true ,
2023 bundleIdentifier : 'com.masteryoav.worklog' ,
21- infoPlist : {
22- ITSAppUsesNonExemptEncryption : false ,
23- } ,
24+ supportsTablet : true ,
25+ newArchEnabled : true ,
2426 } ,
27+
2528 android : {
2629 package : 'com.masteryoav.worklog' ,
2730 adaptiveIcon : {
28- foregroundImage : './assets/logo .png' ,
31+ foregroundImage : './assets/icon .png' ,
2932 backgroundColor : '#ffffff' ,
3033 } ,
34+ newArchEnabled : true ,
3135 } ,
36+
3237 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 ,
38+ eas : { projectId : '007f7a5d-3ce2-4f3c-95f2-be2e1a5a4ff8' } ,
39+ supabaseUrl : process . env . EXPO_PUBLIC_SUPABASE_URL ,
40+ supabaseAnonKey : process . env . EXPO_PUBLIC_SUPABASE_ANON_KEY ,
4241 } ,
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 ;
42+ } ) ;
0 commit comments