Skip to content

Commit

Permalink
Merge pull request #24 from rutvik24/master
Browse files Browse the repository at this point in the history
Updated:  React Native version
  • Loading branch information
krinish291 authored Feb 9, 2024
2 parents 5e4e281 + 20e93c3 commit be08c68
Show file tree
Hide file tree
Showing 6 changed files with 272 additions and 38 deletions.
10 changes: 9 additions & 1 deletion App/AppContext/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,15 @@ export const AppContextProvider = (props: CustomProps) => {
setAppTheme: setTheme,
initializeAppTheme,
}),
[appLanguage, appTheme],
[
appLanguage,
appTheme,
translations,
setLanguage,
setTheme,
initializeAppLanguage,
initializeAppTheme,
],
);

return (
Expand Down
6 changes: 4 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ source 'https://rubygems.org'
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
ruby ">= 2.6.10"

gem 'cocoapods', '~> 1.13'
gem 'activesupport', '>= 6.1.7.3', '< 7.1.0'
# Cocoapods 1.15 introduced a bug which break the build. We will remove the upper
# bound in the template on Cocoapods with next React Native release.
gem 'cocoapods', '>= 1.13', '< 1.15'
gem 'activesupport', '>= 6.1.7.5', '< 7.1.0'

gem 'fastlane'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ class MainApplication : Application(), ReactApplication {

override val reactNativeHost: ReactNativeHost =
object : DefaultReactNativeHost(this) {
override fun getPackages(): List<ReactPackage> {
// Packages that cannot be autolinked yet can be added manually here, for example:
// packages.add(new MyReactNativePackage());
return PackageList(this).packages
}
override fun getPackages(): List<ReactPackage> =
PackageList(this).packages.apply {
// Packages that cannot be autolinked yet can be added manually here, for example:
// add(MyReactNativePackage())
}

override fun getJSMainModuleName(): String = "index"

Expand Down
8 changes: 4 additions & 4 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ PODS:
- FlipperKit/FlipperKitNetworkPlugin
- fmt (6.2.1)
- glog (0.3.5)
- hermes-engine (0.73.0):
- hermes-engine/Pre-built (= 0.73.0)
- hermes-engine/Pre-built (0.73.0)
- hermes-engine (0.73.1):
- hermes-engine/Pre-built (= 0.73.1)
- hermes-engine/Pre-built (0.73.1)
- libevent (2.1.12)
- MMKV (1.3.1):
- MMKVCore (~> 1.3.1)
Expand Down Expand Up @@ -1392,7 +1392,7 @@ SPEC CHECKSUMS:
FlipperKit: 37525a5d056ef9b93d1578e04bc3ea1de940094f
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
glog: c5d68082e772fa1c511173d6b30a9de2c05a69a2
hermes-engine: 34304f8c6e8fa68f63a5fe29af82f227d817d7a7
hermes-engine: 34df9d5034e90bd9bf1505e1ca198760373935af
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
MMKV: 5a07930c70c70b86cd87761a42c8f3836fb681d7
MMKVCore: e50135dbd33235b6ab390635991bab437ab873c0
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,18 @@
"react-native-safe-area-context": "^4.5.0",
"react-native-screens": "^3.29.0",
"react-redux": "^8.0.5",
"redux": "^5.0.1",
"redux-persist": "^6.0.0",
"redux-saga": "^1.2.2"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@react-native/babel-preset": "^0.73.18",
"@react-native/eslint-config": "^0.73.1",
"@react-native/metro-config": "^0.73.2",
"@react-native/typescript-config": "^0.73.1",
"@react-native/babel-preset": "^0.73.20",
"@react-native/eslint-config": "^0.73.2",
"@react-native/metro-config": "^0.73.4",
"@react-native/typescript-config": "0.73.1",
"@types/jest": "^29.2.1",
"@types/lodash": "^4.14.191",
"@types/react": "^18.2.6",
Expand Down
Loading

0 comments on commit be08c68

Please sign in to comment.