Skip to content

Commit 45c6742

Browse files
hassankhanavanlentlindboe
authored
feat: upgrade to v54 (#293)
* chore(apple-settings): update `@config-plugins/apple-settings` to Expo v54 * chore(ios-stickers): update `@config-plugins/ios-stickers` to Expo v54 * chore(react-native-branch): update `@config-plugins/react-native-branch` to Expo v54 Supersedes #279, #281 Fixes #283 * chore(react-native-pdf): update `@config-plugins/react-native-pdf` to Expo v54 * chore(react-native-siri-shortcuts): update `@config-plugins/react-native-siri-shortcuts` to Expo v54 * chore(android-jsc-intl,react-native-adjust,react-native-callkeep): update `@config-plugins/android-jsc-intl`, `@config-plugins/react-native-adjust` and `@config-pluginsreact-native-callkeep` to Expo v54 * chore(react-native-webrtc): update `@config-plugins/react-native-webrtc` to Expo v54 * chore: upgrade monorepo root to Expo v54 * chore: upgrade config plugin scripts to use Expo v54 * docs(CONTRIBUTING.md): add instructions for upgrading config plugins to newer Expo versions * chore(react-native-dynamic-app-icon): update `@config-plugins/react-native-dynamic-app-icon` to Expo v54 * chore(android-jsc-intl): remove config plugin * chore: align deprecated/removed package READMEs * chore: remove `expo-build-properties` from example apps * docs: sync readme versions with published versions Closes #284 * docs: update READMEs with correct versions for SDK 54 * docs(react-native-branch): use correct version of `react-native-branch` Closes #281 * docs(CONTRIBUTING.md): improve instructions for upgrading config plugins to newer Expo versions --------- Co-authored-by: Anthony VanLent <AVanLent@Sorenson.com> Co-authored-by: Lizzi Lindboe <lindboe@users.noreply.github.com>
1 parent 9412250 commit 45c6742

File tree

59 files changed

+1105
-801
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1105
-801
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ body:
2929
attributes:
3030
label: Config Plugin
3131
options:
32-
- '@config-plugins/android-jsc-intl'
3332
- '@config-plugins/apple-settings'
3433
- '@config-plugins/ios-stickers'
3534
- '@config-plugins/react-native-adjust'

CONTRIBUTING.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@ Be sure to run the following scripts in the **root directory** to update automat
2222
- Update dependabot: `yarn update-dependabot-config`
2323
- Update the issue template: `yarn update-issue-template`
2424

25+
## Upgrading plugins for a new Expo version
26+
27+
- Ensure every project under `apps/` is updated to latest version of Expo
28+
- Ensure every library under `packages/` has a peer dependency on the same version of Expo
29+
- Update each library’s `README.md`
30+
- Ensuring the latest version of Expo is listed
31+
- Ensure the upstream package version is correct
32+
- Use the next version for the matching config plugin
33+
- Update `SDK_VERSION` in [`scripts/generate-plugin.ts`](https://github.com/expo/config-plugins/blob/566f54e785147d88cb4c98490c3e536ee7ef3001/scripts/generate-plugin.ts#L67)
34+
2535
## Publishing a release
2636

2737
All publishing should be handled automatically whenever code is merged to `main`.

apps/app/App.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
export { default } from "./src/android-jsc-intl/App";
2-
// export { default } from "./src/react-native-adjust/App";
1+
export { default } from "./src/react-native-adjust/App";

apps/app/app.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
"plugins": [
3232
"@config-plugins/react-native-adjust",
3333
"@config-plugins/react-native-callkeep",
34-
"@config-plugins/android-jsc-intl",
3534
"expo-localization"
3635
]
3736
}

apps/app/package.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,19 @@
99
"android": "expo run:android"
1010
},
1111
"dependencies": {
12-
"@config-plugins/android-jsc-intl": "*",
1312
"@config-plugins/react-native-adjust": "*",
1413
"@config-plugins/react-native-callkeep": "*",
15-
"expo": "~53",
16-
"expo-localization": "~16.1.5",
17-
"expo-splash-screen": "~0.30.7",
14+
"expo": "~54",
15+
"expo-localization": "~17.0.7",
16+
"expo-splash-screen": "~31.0.10",
1817
"fbjs": "^0.8.18",
1918
"i18n-js": "^3.8.0",
2019
"luxon": "^1.27.0",
21-
"react": "19.0.0",
22-
"react-native": "0.79.2",
20+
"react": "19.1.0",
21+
"react-native": "0.81.4",
2322
"react-native-adjust": "^5.1.0",
2423
"react-native-callkeep": "^4.3.16",
25-
"react-native-safe-area-context": "5.3.0"
24+
"react-native-safe-area-context": "~5.6.0"
2625
},
2726
"devDependencies": {
2827
"@babel/plugin-syntax-jsx": "^7.16.0",
@@ -32,6 +31,6 @@
3231
"jest": "~29.7.0",
3332
"jest-circus": "^29.5.0",
3433
"ts-jest": "^29.0.5",
35-
"typescript": "~5.8.3"
34+
"typescript": "~5.9.2"
3635
}
3736
}

apps/app/src/android-jsc-intl/App.tsx

Lines changed: 0 additions & 28 deletions
This file was deleted.

apps/app/src/react-native-adjust/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Adjust, AdjustConfig } from "react-native-adjust";
44

55
export default function App() {
66
React.useEffect(() => {
7+
// https://github.com/adjust/react_native_sdk/blob/bd4fe59403a57599767606b2bcaa116852df973d/example/App.js#L45
78
const adjustConfig = new AdjustConfig(
89
"APP_TOKEN",
910
AdjustConfig.EnvironmentSandbox

apps/apple-settings/app.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"expo": {
33
"name": "apple-settings",
44
"icon": "https://github.com/expo.png",
5-
"platforms": ["ios"],
6-
"plugins": [["expo-build-properties", { "ios": { "ccacheEnabled": true } }]]
5+
"platforms": ["ios"]
76
}
87
}

apps/apple-settings/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
},
1010
"dependencies": {
1111
"@config-plugins/apple-settings": "*",
12-
"@react-native-community/slider": "4.5.6",
13-
"@react-native-picker/picker": "2.11.0",
14-
"expo": "~53",
15-
"expo-splash-screen": "~0.30.7",
16-
"react": "19.0.0",
17-
"react-native": "0.79.2"
12+
"@react-native-community/slider": "5.0.1",
13+
"@react-native-picker/picker": "2.11.1",
14+
"expo": "~54",
15+
"expo-splash-screen": "~31.0.9",
16+
"react": "19.1.0",
17+
"react-native": "0.81.4"
1818
},
1919
"private": true
2020
}

apps/apple-settings/src/App.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,16 @@ const App = () => {
2525
<SettingsSwitch settingsKey="enabled_preference" />
2626
<SettingsSlider settingsKey="slider_preference" />
2727
<View />
28-
<SettingsRadioGroup settingsKey="radio_preference">
29-
<SettingsRadioGroup.Item label="Option 1" value="option1" />
30-
<SettingsRadioGroup.Item label="Option 2" value="option2" />
31-
</SettingsRadioGroup>
28+
{/* Broken https://forums.developer.apple.com/forums/thread/764519 */}
29+
{/*<SettingsRadioGroup settingsKey="radio_preference">*/}
30+
{/* <SettingsRadioGroup.Item label="Option 1" value="option1" />*/}
31+
{/* <SettingsRadioGroup.Item label="Option 2" value="option2" />*/}
32+
{/*</SettingsRadioGroup>*/}
3233
<View />
3334
<Button
3435
title="Launch Settings"
3536
onPress={() => {
36-
Linking.openSettings();
37+
void Linking.openSettings();
3738
}}
3839
/>
3940
</View>

0 commit comments

Comments
 (0)