Skip to content

Commit 9a52454

Browse files
authored
Upgrade to 52 (#258)
* bump packages and drop extras * reduce packages to update * bump readmes * build * fix deps * use whatever images * add ccache * fix upgrade * fix apple settings * attempt branch update * add notices for better alternatives * all ios confirmed to run * drop unused android plugin in detox * add splash screens * delete google cast in favor of the upstream plugin * Update README.md * Update build.gradle * update tests * Update yarn.lock * lint * drop google cast workflow
1 parent 4a3899c commit 9a52454

File tree

117 files changed

+4368
-7241
lines changed

Some content is hidden

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

117 files changed

+4368
-7241
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ body:
3939
- '@config-plugins/react-native-branch'
4040
- '@config-plugins/react-native-callkeep'
4141
- '@config-plugins/react-native-dynamic-app-icon'
42-
- '@config-plugins/react-native-google-cast'
4342
- '@config-plugins/react-native-pdf'
4443
- '@config-plugins/react-native-siri-shortcut'
4544
- '@config-plugins/react-native-webrtc'

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ contact_links:
2626
- about: Programmatically change the app icon in React Native.
2727
name: 📦 react-native-dynamic-app-icon issues
2828
url: https://github.com/idearockers/react-native-dynamic-app-icon/issues
29-
- about: React Native wrapper for the Google Cast SDK for iOS and Android
30-
name: 📦 react-native-google-cast issues
31-
url: >-
32-
https://github.com/react-native-google-cast/react-native-google-cast/issues
3329
- about: A react native PDF view component, support ios and android platform
3430
name: 📦 react-native-pdf issues
3531
url: https://github.com/wonday/react-native-pdf/issues

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ jobs:
4141
react-native-blob-util,
4242
react-native-branch,
4343
react-native-siri-shortcut,
44-
react-native-google-cast,
4544
react-native-pdf,
4645
]
4746
name: Test ${{ matrix.package }} on Node ${{ matrix.node }}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Here is a list of known packages that have a built-in Config Plugin.
1313
> Not all packages need a config plugin, packages that don't appear here might still work with managed EAS.
1414
1515
- [React Native Firebase](https://rnfirebase.io/) (`@react-native-firebase/perf`, `@react-native-firebase/app`, `@react-native-firebase/crashlytics`)
16+
- [react-native-google-cast](https://github.com/react-native-google-cast/react-native-google-cast)
1617
- [react-native-nfc-manager](https://github.com/revtel/react-native-nfc-manager)
1718
- [react-native-health](https://github.com/agencyenterprise/react-native-health)
1819
- [@react-native-mapbox-gl/maps](https://github.com/rnmapbox/maps)

apps/app/app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"slug": "app",
55
"version": "1.0.0",
66
"orientation": "portrait",
7-
"icon": "https://icogen.vercel.app/api/icon?icon=🔌&color_hex=ffffff",
7+
"icon": "https://github.com/expo.png",
88
"splash": {
99
"image": "./assets/splash.png",
1010
"resizeMode": "contain",

apps/app/package.json

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,28 +25,25 @@
2525
"@config-plugins/detox": "*",
2626
"@config-plugins/react-native-adjust": "*",
2727
"@config-plugins/react-native-callkeep": "*",
28-
"detox": "^20.20.3",
29-
"expo": "~51",
30-
"expo-localization": "~15.0.3",
31-
"expo-splash-screen": "~0.27.4",
32-
"expo-status-bar": "~1.12.1",
28+
"detox": "^20.28.0",
29+
"expo": "~52",
30+
"expo-localization": "~16.0.0",
31+
"expo-splash-screen": "~0.29.13",
3332
"fbjs": "^0.8.18",
3433
"i18n-js": "^3.8.0",
3534
"luxon": "^1.27.0",
36-
"react": "18.2.0",
37-
"react-native": "0.74.1",
38-
"react-native-adjust": "^4.38.1",
39-
"react-native-callkeep": "^4.3.13",
40-
"react-native-safe-area-context": "4.10.1"
35+
"react": "18.3.1",
36+
"react-native": "0.76.3",
37+
"react-native-adjust": "^5.0.2",
38+
"react-native-callkeep": "^4.3.16",
39+
"react-native-safe-area-context": "4.12.0"
4140
},
4241
"devDependencies": {
43-
"@babel/core": "^7.24.0",
4442
"@babel/plugin-syntax-jsx": "^7.16.0",
4543
"@types/jest": "^29.4.0",
4644
"@types/luxon": "^1.27.1",
47-
"@types/react": "~18.2.79",
4845
"babel-jest": "^29.5.0",
49-
"jest": "^29.2.1",
46+
"jest": "~29.7.0",
5047
"jest-circus": "^29.5.0",
5148
"ts-jest": "^29.0.5",
5249
"typescript": "^5.3.0"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default function App() {
88
"APP_TOKEN",
99
AdjustConfig.EnvironmentSandbox
1010
);
11-
Adjust.create(adjustConfig);
11+
Adjust.enable();
1212
}, []);
1313

1414
return (

apps/apple-settings/app.config.ts

Lines changed: 42 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -71,63 +71,49 @@ module.exports = ({ config }: ConfigContext): Partial<ExpoConfig> => {
7171
key: "slider_preference",
7272
value: 0.5,
7373
}),
74-
RadioGroup({
75-
value: "option1",
76-
key: "radio_preference",
77-
items: [
78-
{
79-
title: "Option 1",
80-
value: "option1",
81-
},
74+
// Broken https://forums.developer.apple.com/forums/thread/764519
75+
// RadioGroup({
76+
// value: "option1",
77+
// key: "radio_preference",
78+
// items: [
79+
// {
80+
// title: "Option 1",
81+
// value: "option1",
82+
// },
8283

83-
{
84-
title: "Option 2",
85-
value: "option2",
86-
},
87-
],
88-
}),
89-
MultiValue({
90-
title: "Multi Value",
91-
key: "multi_value_preference",
92-
value: "alpha",
93-
items: [
94-
{
95-
title: "Alpha",
96-
value: "alpha",
97-
short: "α",
98-
},
99-
{
100-
title: "Beta",
101-
value: "beta",
102-
short: "β",
103-
},
104-
{
105-
title: "Delta",
106-
value: "delta",
107-
short: "Δ",
108-
},
109-
{
110-
title: "Omega",
111-
value: "omega",
112-
short: "Ω",
113-
},
114-
],
115-
}),
116-
117-
// Child panes can be used to create nested pages.
118-
ChildPane({
119-
title: "About",
120-
}),
121-
],
122-
},
123-
},
124-
// About page
125-
About: {
126-
page: {
127-
PreferenceSpecifiers: [
128-
Group({
129-
title: "About Info",
130-
}),
84+
// {
85+
// title: "Option 2",
86+
// value: "option2",
87+
// },
88+
// ],
89+
// }),
90+
// MultiValue({
91+
// title: "Multi Value",
92+
// key: "multi_value_preference",
93+
// value: "alpha",
94+
// items: [
95+
// {
96+
// title: "Alpha",
97+
// value: "alpha",
98+
// short: "α",
99+
// },
100+
// {
101+
// title: "Beta",
102+
// value: "beta",
103+
// short: "β",
104+
// },
105+
// {
106+
// title: "Delta",
107+
// value: "delta",
108+
// short: "Δ",
109+
// },
110+
// {
111+
// title: "Omega",
112+
// value: "omega",
113+
// short: "Ω",
114+
// },
115+
// ],
116+
// }),
131117
],
132118
},
133119
},

apps/apple-settings/app.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"expo": {
33
"name": "apple-settings",
4-
"icon": "https://icogen.vercel.app/api/icon?icon=🔌&color_hex=1832BA",
5-
"platforms": ["ios"]
4+
"icon": "https://github.com/expo.png",
5+
"platforms": ["ios"],
6+
"plugins": [["expo-build-properties", { "ios": { "ccacheEnabled": true } }]]
67
}
78
}

apps/apple-settings/package.json

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,13 @@
88
"android": "expo run:android"
99
},
1010
"dependencies": {
11-
"@config-plugins/ios-stickers": "*",
12-
"@react-native-community/slider": "4.5.2",
13-
"@react-native-picker/picker": "2.7.5",
14-
"expo": "~51",
15-
"expo-splash-screen": "~0.27.4",
16-
"expo-status-bar": "~1.12.1",
17-
"react": "18.2.0",
18-
"react-native": "0.74.1"
19-
},
20-
"devDependencies": {
21-
"@babel/core": "^7.24.0"
11+
"@config-plugins/apple-settings": "*",
12+
"@react-native-community/slider": "4.5.5",
13+
"@react-native-picker/picker": "2.9.0",
14+
"expo": "~52",
15+
"expo-splash-screen": "~0.29.13",
16+
"react-native": "0.76.3",
17+
"react": "18.3.1"
2218
},
2319
"private": true
2420
}

0 commit comments

Comments
 (0)