Skip to content

Commit bf43a7d

Browse files
committed
chore: move assets folder and update imports; mock expo-constants in jest
1 parent acbc041 commit bf43a7d

15 files changed

+44
-17
lines changed

app.config.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
1616
slug: Env.SLUG,
1717
version: Env.VERSION,
1818
orientation: 'portrait',
19-
icon: './src/assets/images/icon.png',
19+
icon: './assets/images/icon.png',
2020
scheme: Env.SCHEME,
2121
userInterfaceStyle: 'automatic',
2222
owner: Env.EXPO_ACCOUNT_OWNER,
@@ -27,24 +27,24 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
2727
android: {
2828
adaptiveIcon: {
2929
backgroundColor: '#E6F4FE',
30-
foregroundImage: './src/assets/images/android-icon-foreground.png',
31-
backgroundImage: './src/assets/images/android-icon-background.png',
32-
monochromeImage: './src/assets/images/android-icon-monochrome.png',
30+
foregroundImage: './assets/images/android-icon-foreground.png',
31+
backgroundImage: './assets/images/android-icon-background.png',
32+
monochromeImage: './assets/images/android-icon-monochrome.png',
3333
},
3434
edgeToEdgeEnabled: true,
3535
predictiveBackGestureEnabled: false,
3636
package: Env.PACKAGE,
3737
},
3838
web: {
3939
output: 'static',
40-
favicon: './src/assets/images/favicon.png',
40+
favicon: './assets/images/favicon.png',
4141
},
4242
plugins: [
4343
'expo-router',
4444
[
4545
'expo-splash-screen',
4646
{
47-
image: './src/assets/images/splash-icon.png',
47+
image: './assets/images/splash-icon.png',
4848
imageWidth: 200,
4949
resizeMode: 'contain',
5050
backgroundColor: '#ffffff',
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)