Skip to content

Commit

Permalink
Upgrade to 52 (#258)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
EvanBacon authored Dec 3, 2024
1 parent 4a3899c commit 9a52454
Show file tree
Hide file tree
Showing 117 changed files with 4,368 additions and 7,241 deletions.
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ body:
- '@config-plugins/react-native-branch'
- '@config-plugins/react-native-callkeep'
- '@config-plugins/react-native-dynamic-app-icon'
- '@config-plugins/react-native-google-cast'
- '@config-plugins/react-native-pdf'
- '@config-plugins/react-native-siri-shortcut'
- '@config-plugins/react-native-webrtc'
Expand Down
4 changes: 0 additions & 4 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ contact_links:
- about: Programmatically change the app icon in React Native.
name: 📦 react-native-dynamic-app-icon issues
url: https://github.com/idearockers/react-native-dynamic-app-icon/issues
- about: React Native wrapper for the Google Cast SDK for iOS and Android
name: 📦 react-native-google-cast issues
url: >-
https://github.com/react-native-google-cast/react-native-google-cast/issues
- about: A react native PDF view component, support ios and android platform
name: 📦 react-native-pdf issues
url: https://github.com/wonday/react-native-pdf/issues
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
react-native-blob-util,
react-native-branch,
react-native-siri-shortcut,
react-native-google-cast,
react-native-pdf,
]
name: Test ${{ matrix.package }} on Node ${{ matrix.node }}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Here is a list of known packages that have a built-in Config Plugin.
> Not all packages need a config plugin, packages that don't appear here might still work with managed EAS.
- [React Native Firebase](https://rnfirebase.io/) (`@react-native-firebase/perf`, `@react-native-firebase/app`, `@react-native-firebase/crashlytics`)
- [react-native-google-cast](https://github.com/react-native-google-cast/react-native-google-cast)
- [react-native-nfc-manager](https://github.com/revtel/react-native-nfc-manager)
- [react-native-health](https://github.com/agencyenterprise/react-native-health)
- [@react-native-mapbox-gl/maps](https://github.com/rnmapbox/maps)
Expand Down
2 changes: 1 addition & 1 deletion apps/app/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"slug": "app",
"version": "1.0.0",
"orientation": "portrait",
"icon": "https://icogen.vercel.app/api/icon?icon=🔌&color_hex=ffffff",
"icon": "https://github.com/expo.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
Expand Down
23 changes: 10 additions & 13 deletions apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,25 @@
"@config-plugins/detox": "*",
"@config-plugins/react-native-adjust": "*",
"@config-plugins/react-native-callkeep": "*",
"detox": "^20.20.3",
"expo": "~51",
"expo-localization": "~15.0.3",
"expo-splash-screen": "~0.27.4",
"expo-status-bar": "~1.12.1",
"detox": "^20.28.0",
"expo": "~52",
"expo-localization": "~16.0.0",
"expo-splash-screen": "~0.29.13",
"fbjs": "^0.8.18",
"i18n-js": "^3.8.0",
"luxon": "^1.27.0",
"react": "18.2.0",
"react-native": "0.74.1",
"react-native-adjust": "^4.38.1",
"react-native-callkeep": "^4.3.13",
"react-native-safe-area-context": "4.10.1"
"react": "18.3.1",
"react-native": "0.76.3",
"react-native-adjust": "^5.0.2",
"react-native-callkeep": "^4.3.16",
"react-native-safe-area-context": "4.12.0"
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/plugin-syntax-jsx": "^7.16.0",
"@types/jest": "^29.4.0",
"@types/luxon": "^1.27.1",
"@types/react": "~18.2.79",
"babel-jest": "^29.5.0",
"jest": "^29.2.1",
"jest": "~29.7.0",
"jest-circus": "^29.5.0",
"ts-jest": "^29.0.5",
"typescript": "^5.3.0"
Expand Down
2 changes: 1 addition & 1 deletion apps/app/src/react-native-adjust/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function App() {
"APP_TOKEN",
AdjustConfig.EnvironmentSandbox
);
Adjust.create(adjustConfig);
Adjust.enable();
}, []);

return (
Expand Down
98 changes: 42 additions & 56 deletions apps/apple-settings/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,63 +71,49 @@ module.exports = ({ config }: ConfigContext): Partial<ExpoConfig> => {
key: "slider_preference",
value: 0.5,
}),
RadioGroup({
value: "option1",
key: "radio_preference",
items: [
{
title: "Option 1",
value: "option1",
},
// Broken https://forums.developer.apple.com/forums/thread/764519
// RadioGroup({
// value: "option1",
// key: "radio_preference",
// items: [
// {
// title: "Option 1",
// value: "option1",
// },

{
title: "Option 2",
value: "option2",
},
],
}),
MultiValue({
title: "Multi Value",
key: "multi_value_preference",
value: "alpha",
items: [
{
title: "Alpha",
value: "alpha",
short: "α",
},
{
title: "Beta",
value: "beta",
short: "β",
},
{
title: "Delta",
value: "delta",
short: "Δ",
},
{
title: "Omega",
value: "omega",
short: "Ω",
},
],
}),

// Child panes can be used to create nested pages.
ChildPane({
title: "About",
}),
],
},
},
// About page
About: {
page: {
PreferenceSpecifiers: [
Group({
title: "About Info",
}),
// {
// title: "Option 2",
// value: "option2",
// },
// ],
// }),
// MultiValue({
// title: "Multi Value",
// key: "multi_value_preference",
// value: "alpha",
// items: [
// {
// title: "Alpha",
// value: "alpha",
// short: "α",
// },
// {
// title: "Beta",
// value: "beta",
// short: "β",
// },
// {
// title: "Delta",
// value: "delta",
// short: "Δ",
// },
// {
// title: "Omega",
// value: "omega",
// short: "Ω",
// },
// ],
// }),
],
},
},
Expand Down
5 changes: 3 additions & 2 deletions apps/apple-settings/app.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"expo": {
"name": "apple-settings",
"icon": "https://icogen.vercel.app/api/icon?icon=🔌&color_hex=1832BA",
"platforms": ["ios"]
"icon": "https://github.com/expo.png",
"platforms": ["ios"],
"plugins": [["expo-build-properties", { "ios": { "ccacheEnabled": true } }]]
}
}
18 changes: 7 additions & 11 deletions apps/apple-settings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,13 @@
"android": "expo run:android"
},
"dependencies": {
"@config-plugins/ios-stickers": "*",
"@react-native-community/slider": "4.5.2",
"@react-native-picker/picker": "2.7.5",
"expo": "~51",
"expo-splash-screen": "~0.27.4",
"expo-status-bar": "~1.12.1",
"react": "18.2.0",
"react-native": "0.74.1"
},
"devDependencies": {
"@babel/core": "^7.24.0"
"@config-plugins/apple-settings": "*",
"@react-native-community/slider": "4.5.5",
"@react-native-picker/picker": "2.9.0",
"expo": "~52",
"expo-splash-screen": "~0.29.13",
"react-native": "0.76.3",
"react": "18.3.1"
},
"private": true
}
5 changes: 4 additions & 1 deletion apps/ffmpeg-kit-react-native/app.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"expo": {
"name": "ffmpeg",
"icon": "https://icogen.vercel.app/api/icon?icon=🔌&color_hex=4294F2",
"icon": "https://github.com/expo.png",
"splash": {
"image": "https://github.com/expo.png"
},
"plugins": [
[
"@config-plugins/ffmpeg-kit-react-native",
Expand Down
12 changes: 4 additions & 8 deletions apps/ffmpeg-kit-react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,11 @@
},
"dependencies": {
"@config-plugins/ffmpeg-kit-react-native": "*",
"expo": "~51",
"expo-splash-screen": "~0.27.4",
"expo-status-bar": "~1.12.1",
"expo": "~52",
"expo-splash-screen": "~0.29.13",
"ffmpeg-kit-react-native": "^6.0.2",
"react": "18.2.0",
"react-native": "0.74.1"
},
"devDependencies": {
"@babel/core": "^7.24.0"
"react": "18.3.1",
"react-native": "0.76.3"
},
"private": true
}
5 changes: 3 additions & 2 deletions apps/ios-stickers/app.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"expo": {
"name": "stickers",
"icon": "https://icogen.vercel.app/api/icon?icon=🔌&color_hex=1832BA",
"icon": "https://github.com/expo.png",
"platforms": ["ios"],
"plugins": [
[
Expand All @@ -25,7 +25,8 @@
"./assets/stickers/teapot.png"
]
}
]
],
["expo-build-properties", { "ios": { "ccacheEnabled": true } }]
]
}
}
12 changes: 4 additions & 8 deletions apps/ios-stickers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,10 @@
},
"dependencies": {
"@config-plugins/ios-stickers": "*",
"expo": "~51",
"expo-splash-screen": "~0.27.4",
"expo-status-bar": "~1.12.1",
"react": "18.2.0",
"react-native": "0.74.1"
},
"devDependencies": {
"@babel/core": "^7.24.0"
"expo": "~52",
"expo-splash-screen": "~0.29.13",
"react": "18.3.1",
"react-native": "0.76.3"
},
"private": true
}
8 changes: 6 additions & 2 deletions apps/react-native-branch/app.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"expo": {
"name": "branch",
"icon": "https://icogen.vercel.app/api/icon?icon=🔌&color_hex=1749A5",
"icon": "https://github.com/expo.png",
"splash": {
"image": "https://github.com/expo.png"
},
"ios": {
"config": {
"branch": {
Expand All @@ -17,7 +20,8 @@
}
},
"plugins": [
"@config-plugins/react-native-branch"
"@config-plugins/react-native-branch",
["expo-build-properties", { "ios": { "ccacheEnabled": true } }]
]
}
}
14 changes: 5 additions & 9 deletions apps/react-native-branch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,11 @@
},
"dependencies": {
"@config-plugins/react-native-branch": "*",
"expo": "~51",
"expo-splash-screen": "~0.27.4",
"expo-status-bar": "~1.12.1",
"react": "18.2.0",
"react-native": "0.74.1",
"react-native-branch": "^6.2.1"
},
"devDependencies": {
"@babel/core": "^7.24.0"
"expo": "~52",
"expo-splash-screen": "~0.29.13",
"react": "18.3.1",
"react-native": "0.76.3",
"react-native-branch": "^6.4.0"
},
"private": true
}
3 changes: 2 additions & 1 deletion apps/react-native-dynamic-app-icon/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"./assets/icons/fall.png",
"./assets/icons/solstice.png"
]
]
],
["expo-build-properties", { "ios": { "ccacheEnabled": true } }]
]
}
}
12 changes: 4 additions & 8 deletions apps/react-native-dynamic-app-icon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,11 @@
},
"dependencies": {
"@config-plugins/react-native-dynamic-app-icon": "*",
"expo": "~51",
"expo-splash-screen": "~0.27.4",
"expo-status-bar": "~1.12.1",
"react": "18.2.0",
"react-native": "0.74.1",
"expo": "~52",
"expo-splash-screen": "~0.29.13",
"react": "18.3.1",
"react-native": "0.76.3",
"react-native-dynamic-app-icon": "^1.1.0"
},
"devDependencies": {
"@babel/core": "^7.24.0"
},
"private": true
}
16 changes: 0 additions & 16 deletions apps/react-native-google-cast/app.config.js

This file was deleted.

Loading

0 comments on commit 9a52454

Please sign in to comment.