1+ import { ConfigContext , ExpoConfig } from "@expo/config" ;
2+
3+ export default ( { config } : ConfigContext ) : ExpoConfig => ( {
4+ ...config ,
5+ "name" : "HackNet" ,
6+ "slug" : "HackNet" ,
7+ "version" : "1.0.0" ,
8+ "orientation" : "portrait" ,
9+ "icon" : "./assets/images/icon.png" ,
10+ "scheme" : "hacknet" ,
11+ "userInterfaceStyle" : "automatic" ,
12+ "newArchEnabled" : true ,
13+ "ios" : {
14+ "supportsTablet" : true ,
15+ "bundleIdentifier" : "com.shibamroy.hacknet"
16+ } ,
17+ "android" : {
18+ "adaptiveIcon" : {
19+ "foregroundImage" : "./assets/images/adaptive-icon/foreground.png" ,
20+ "backgroundColor" : "#17171d"
21+ } ,
22+ "edgeToEdgeEnabled" : true ,
23+ "googleServicesFile" : process . env . GOOGLE_SERVICES_JSON ?? "./google-services.json" ,
24+ "permissions" : [
25+ "android.permission.RECORD_AUDIO"
26+ ] ,
27+ "package" : "com.shibamroy.hacknet"
28+ } ,
29+ "notification" : {
30+ "icon" : "./assets/images/adaptive-icon/foreground.png" ,
31+ "color" : "#ec3750"
32+ } ,
33+ "web" : {
34+ "bundler" : "metro" ,
35+ "output" : "static" ,
36+ "favicon" : "./assets/images/favicon.png"
37+ } ,
38+ "plugins" : [
39+ [
40+ "expo-notifications" ,
41+ {
42+ "icon" : "./assets/images/adaptive-icon/foreground.png" ,
43+ "color" : "#ec3750" ,
44+ "defaultChannel" : "default" ,
45+ "sounds" : [
46+ "./assets/sounds/notification-ping.mp3" ,
47+ ] ,
48+ "enableBackgroundRemoteNotifications" : true
49+ }
50+ ] ,
51+ [
52+ "expo-image-picker" ,
53+ {
54+ "photosPermission" : "The app accesses your photos to make posts, or to customize profile"
55+ }
56+ ] ,
57+ "expo-router" ,
58+ [
59+ "expo-splash-screen" ,
60+ {
61+ "image" : "./assets/images/splash.png" ,
62+ "imageWidth" : 200 ,
63+ "resizeMode" : "contain" ,
64+ "backgroundColor" : "#17171d"
65+ }
66+ ] ,
67+ "expo-web-browser" ,
68+ [
69+ "expo-video" ,
70+ {
71+ "supportsBackgroundPlayback" : true ,
72+ "supportsPictureInPicture" : true
73+ }
74+ ] ,
75+ [
76+ "expo-font" ,
77+ {
78+ "fonts" : [
79+ "./assets/fonts/PhantomSans-Regular.otf"
80+ ] ,
81+ "android" : {
82+ "fonts" : [
83+ {
84+ "fontFamily" : "PhantomSans" ,
85+ "fontDefinitions" : [
86+ {
87+ "path" : "./assets/fonts/PhantomSans-Regular.otf" ,
88+ "weight" : 400 ,
89+ "style" : "normal"
90+ } ,
91+ {
92+ "path" : "./assets/fonts/PhantomSans-Italic.otf" ,
93+ "weight" : 400 ,
94+ "style" : "italic"
95+ } ,
96+ {
97+ "path" : "./assets/fonts/PhantomSans-Bold.otf" ,
98+ "weight" : 700
99+ }
100+ ]
101+ }
102+ ]
103+ } ,
104+ "ios" : {
105+ "fonts" : [
106+ "./assets/fonts/PhantomSans-Regular.otf" ,
107+ "./assets/fonts/PhantomSans-Bold.otf" ,
108+ "./assets/fonts/PhantomSans-Italic.otf"
109+ ]
110+ }
111+ }
112+ ]
113+ ] ,
114+ "experiments" : {
115+ "typedRoutes" : true
116+ } ,
117+ "extra" : {
118+ "router" : { } ,
119+ "eas" : {
120+ "projectId" : "14749a4f-8461-4113-8c2b-238775dfce1c"
121+ }
122+ }
123+ } ) ;
0 commit comments