Skip to content

Commit 87c17d5

Browse files
committed
fix(suite-native): fix app icon and splash screen for sdk 52
1 parent 4258d1c commit 87c17d5

File tree

6 files changed

+287
-81
lines changed

6 files changed

+287
-81
lines changed

packages/connect-examples/mobile-expo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"dependencies": {
1212
"@trezor/connect-mobile": "workspace:*",
13-
"expo": "^52.0.4",
13+
"expo": "^52.0.11",
1414
"expo-linking": "^7.0.2",
1515
"expo-status-bar": "^2.0.0",
1616
"react": "18.2.0",

suite-native/app/app.config.ts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,14 @@ const getPlugins = (): ExpoPlugins => {
7979
],
8080
},
8181
],
82+
[
83+
'expo-splash-screen',
84+
{
85+
backgroundColor: '#25292E',
86+
image: './assets/splash_icon.png',
87+
imageWidth: '200',
88+
},
89+
],
8290
[
8391
'expo-camera',
8492
{
@@ -172,11 +180,6 @@ export default ({ config }: ConfigContext): ExpoConfig => {
172180
},
173181
}),
174182
orientation: 'portrait',
175-
splash: {
176-
image: './assets/splash_icon.png',
177-
backgroundColor: '#25292E',
178-
resizeMode: 'contain',
179-
},
180183
userInterfaceStyle: 'automatic',
181184
android: {
182185
package: bundleIdentifier,
3.49 KB
Loading

suite-native/app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"@trezor/theme": "workspace:*",
8585
"@trezor/trezor-user-env-link": "workspace:*",
8686
"buffer": "^6.0.3",
87-
"expo": "^52.0.4",
87+
"expo": "^52.0.11",
8888
"expo-av": "^15.0.1",
8989
"expo-build-properties": "^0.13.1",
9090
"expo-camera": "^16.0.4",
@@ -98,7 +98,7 @@
9898
"expo-localization": "^16.0.0",
9999
"expo-navigation-bar": "^4.0.2",
100100
"expo-secure-store": "^14.0.0",
101-
"expo-splash-screen": "^0.29.7",
101+
"expo-splash-screen": "^0.29.13",
102102
"expo-status-bar": "^2.0.0",
103103
"expo-system-ui": "^4.0.2",
104104
"expo-updates": "0.26.6",

suite-native/storage/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"bs58": "^6.0.0",
2020
"expo-crypto": "^14.0.1",
2121
"expo-secure-store": "^14.0.0",
22-
"expo-splash-screen": "^0.29.7",
22+
"expo-splash-screen": "^0.29.13",
2323
"jotai": "1.9.1",
2424
"react": "18.2.0",
2525
"react-native": "0.76.1",

0 commit comments

Comments
 (0)