2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 1
- module . exports = {
1
+ import type { ConfigContext , ExpoConfig } from "expo/config" ;
2
+
3
+ import { version } from "./package.json" ;
4
+
5
+ export default ( { config } : ConfigContext ) : ExpoConfig => ( {
6
+ ...config ,
2
7
name : "spacecraft" ,
3
8
description : "Learning materials for the `react-native-bootcamp` repository." ,
4
9
slug : "spacecraft" ,
5
10
owner : "weshipit" ,
6
- version : "1.0.2" ,
11
+ version,
7
12
orientation : "portrait" ,
8
13
icon : "./assets/icon.png" ,
9
14
splash : {
@@ -60,5 +65,11 @@ module.exports = {
60
65
] ,
61
66
} ,
62
67
] ,
68
+ [
69
+ "expo-asset" , // Error Error: [android.dangerous]: withAndroidDangerousBaseMod: Could not find MIME for Buffer <null>
70
+ {
71
+ assets : [ "./assets/starships/" ] ,
72
+ } ,
73
+ ] ,
63
74
] ,
64
- } ;
75
+ } ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"license" : " MIT" ,
3
3
"main" : " node_modules/expo/AppEntry.js" ,
4
+ "version" : " 1.0.2" ,
4
5
"scripts" : {
5
6
"start" : " expo start" ,
6
7
"android" : " expo start --android" ,
41
42
"deepmerge" : " ^4.3.1" ,
42
43
"expo" : " ^51.0.0" ,
43
44
"expo-application" : " ~5.9.1" ,
45
+ "expo-asset" : " ^10.0.7" ,
44
46
"expo-constants" : " ~16.0.1" ,
47
+ "expo-dev-client" : " ^4.0.15" ,
45
48
"expo-image" : " ~1.12.9" ,
46
49
"expo-linking" : " ~6.3.1" ,
47
50
"expo-status-bar" : " ~1.12.1" ,
104
107
"prettier" : " ^3.2.5" ,
105
108
"typescript" : " ~5.3.3"
106
109
}
107
- }
110
+ }
0 commit comments