Skip to content

Commit 869b1f8

Browse files
authored
Merge pull request #566 from PlayerData/upgrade-expo
fix(deps): Upgrade Expo
2 parents 564ec8f + 02102c8 commit 869b1f8

File tree

5 files changed

+965
-1429
lines changed

5 files changed

+965
-1429
lines changed

.github/workflows/build_and_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
6464
ios-example:
6565
name: iOS example app
66-
runs-on: macos-14
66+
runs-on: macos-15
6767
needs: build
6868
steps:
6969
- name: Checkout

example/gradlePlugin.ts

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,26 @@
1-
import { withGradleProperties } from '@expo/config-plugins';
2-
import { ConfigPlugin } from '@expo/config-plugins';
1+
import ConfigPlugins from '@expo/config-plugins';
32
import { ExpoConfig } from '@expo/config-types';
43

4+
const { withGradleProperties } = ConfigPlugins;
5+
56
/**
67
* A Config Plugin to modify android/gradle.properties.
78
*/
8-
const withCustomGradleProps: ConfigPlugin<ExpoConfig> = (config) => {
9+
const withCustomGradleProps: ConfigPlugins.ConfigPlugin<ExpoConfig> = (
10+
config
11+
) => {
912
return withGradleProperties(config, (config) => {
1013
const gradleProperties = config.modResults;
1114

1215
gradleProperties.push(
13-
{ type: 'property', key: "org.gradle.parallel", value: "true" },
14-
{ type: 'property', key: "org.gradle.daemon", value: "true" },
15-
{ type: 'property', key: "org.gradle.jvmargs", value: "-Xmx4g -Dfile.encoding=UTF-8" },
16-
{ type: 'property', key: "org.gradle.configureondemand", value: "true" }
16+
{ type: 'property', key: 'org.gradle.parallel', value: 'true' },
17+
{ type: 'property', key: 'org.gradle.daemon', value: 'true' },
18+
{
19+
type: 'property',
20+
key: 'org.gradle.jvmargs',
21+
value: '-Xmx4g -Dfile.encoding=UTF-8',
22+
},
23+
{ type: 'property', key: 'org.gradle.configureondemand', value: 'true' }
1724
);
1825

1926
return config;

example/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,27 @@
1313
},
1414
"dependencies": {
1515
"@playerdata/react-native-mcu-manager": "workspace:*",
16-
"expo": "53.0.20",
17-
"expo-constants": "~17.0.4",
18-
"expo-document-picker": "13.0.3",
19-
"expo-linking": "~7.0.4",
20-
"expo-router": "~5.0.0",
21-
"expo-splash-screen": "0.29.24",
22-
"expo-status-bar": "~2.0.1",
16+
"expo": "53.0.47",
17+
"expo-constants": "~17.1.7",
18+
"expo-document-picker": "13.1.6",
19+
"expo-linking": "~7.1.7",
20+
"expo-router": "~5.1.4",
21+
"expo-splash-screen": "0.30.10",
22+
"expo-status-bar": "~2.2.3",
2323
"lodash": "4.17.21",
24-
"react": "18.3.1",
25-
"react-native": "0.76.9",
24+
"react": "19.0.0",
25+
"react-native": "0.79.5",
2626
"react-native-ble-plx": "3.5.0",
27-
"react-native-reanimated": "~3.19.0",
28-
"react-native-safe-area-context": "5.5.2",
29-
"react-native-screens": "~4.13.0",
27+
"react-native-reanimated": "~3.17.5",
28+
"react-native-safe-area-context": "5.4.0",
29+
"react-native-screens": "~4.11.1",
3030
"react-native-toast-message": "2.3.3"
3131
},
3232
"devDependencies": {
3333
"@babel/core": "7.28.0",
3434
"@babel/runtime": "7.28.2",
3535
"@types/lodash": "4.17.20",
36-
"@types/react": "19.1.8",
36+
"@types/react": "19.0.14",
3737
"metro-react-native-babel-preset": "0.77.0",
3838
"ts-node": "^10.9.2",
3939
"typescript": "5.8.3"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
"semantic-release": "24.2.7"
3232
},
3333
"resolutions": {
34-
"expo": ">52.0.0"
34+
"expo": ">53.0.0"
3535
}
3636
}

0 commit comments

Comments
 (0)