Skip to content

Commit

Permalink
All Android + iOS non-appdelegate-related changes for Example
Browse files Browse the repository at this point in the history
  • Loading branch information
kkafar committed Dec 19, 2024
1 parent 1bc4a9c commit 937c5e0
Show file tree
Hide file tree
Showing 6 changed files with 591 additions and 448 deletions.
1 change: 1 addition & 0 deletions Example/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ ruby ">= 2.6.10"
# Exclude problematic versions of cocoapods and activesupport that causes build failures.
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
gem 'xcodeproj', '< 1.26.0'
4 changes: 2 additions & 2 deletions Example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ buildscript {
minSdkVersion = 24
compileSdkVersion = 35
targetSdkVersion = 34
ndkVersion = "26.1.10909125"
kotlinVersion = "1.9.24"
ndkVersion = "27.1.12297006"
kotlinVersion = "2.0.21"
}
repositories {
google()
Expand Down
5 changes: 0 additions & 5 deletions Example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ target 'ScreensExample' do
:app_path => "#{Pod::Config.instance.installation_root}/.."
)

target 'ScreensExampleTests' do
inherit! :complete
# Pods for testing
end

post_install do |installer|
# https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
react_native_post_install(
Expand Down
7 changes: 7 additions & 0 deletions Example/metro.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* Metro configuration
* https://reactnative.dev/docs/metro
*
* @type {import('@react-native/metro-config').MetroConfig}
*/

const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');

const fs = require('fs');
Expand Down
17 changes: 7 additions & 10 deletions Example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,9 @@
"jotai": "^2.9.0",
"nanoid": "^4.0.2",
"react": "18.3.1",
"react-native": "0.76.0",
"react-native-gesture-handler": "^2.20.0",
"react-native-reanimated": "^3.16.0",
"react-native": "0.77.0-rc.3",
"react-native-restart": "^0.0.27",
"react-native-safe-area-context": "4.10.5",
"react-native-safe-area-context": "5.0.0",
"react-native-screens": "link:../",
"react-native-vector-icons": "^8.0.0"
},
Expand All @@ -45,15 +43,14 @@
"@react-native-community/cli": "15.0.0-alpha.2",
"@react-native-community/cli-platform-android": "15.0.0-alpha.2",
"@react-native-community/cli-platform-ios": "15.0.0-alpha.2",
"@react-native/babel-preset": "0.76.0",
"@react-native/eslint-config": "0.76.0",
"@react-native/metro-config": "0.76.0",
"@react-native/typescript-config": "0.76.0",
"@types/jest": "^29.2.5",
"@react-native/babel-preset": "0.77.0-rc.3",
"@react-native/eslint-config": "0.77.0-rc.3",
"@react-native/metro-config": "0.77.0-rc.3",
"@react-native/typescript-config": "0.77.0-rc.3",
"@types/jest": "^29.5.13",
"@types/react": "^18.2.72",
"@types/react-native": "0.72.2",
"@types/react-test-renderer": "^18.0.0",
"babel-jest": "^29.6.3",
"detox": "^20.17.0",
"eslint": "^8.19.0",
"glob-to-regexp": "^0.4.1",
Expand Down
Loading

0 comments on commit 937c5e0

Please sign in to comment.