Skip to content

Commit

Permalink
chore(update-RN): update react-native to 0.73.6 for the example proje…
Browse files Browse the repository at this point in the history
…ct (react-native-maps#5016)

Co-authored-by: salah ghanim <[email protected]>
  • Loading branch information
salah-ghanim and salah ghanim authored Mar 29, 2024
1 parent 76ae938 commit 537c181
Show file tree
Hide file tree
Showing 8 changed files with 1,581 additions and 1,640 deletions.
4 changes: 2 additions & 2 deletions example/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ source 'https://rubygems.org'
# You may use https://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'
gem 'cocoapods', '>= 1.13'
gem 'activesupport', '>= 6.1.7.5', '< 7.1.0'
5 changes: 2 additions & 3 deletions example/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,10 @@ GEM

PLATFORMS
ruby
x86_64-linux

DEPENDENCIES
activesupport (>= 6.1.7.3, < 7.1.0)
cocoapods (~> 1.13)
activesupport (>= 6.1.7.5, < 7.1.0)
cocoapods (>= 1.13)

RUBY VERSION
ruby 3.2.2p53
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import com.facebook.soloader.SoLoader
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"
override fun getUseDeveloperSupport(): Boolean = BuildConfig.DEBUG
Expand All @@ -35,4 +35,4 @@ class MainApplication : Application(), ReactApplication {
}
ReactNativeFlipper.initializeFlipper(this, reactNativeHost.reactInstanceManager)
}
}
}
Loading

0 comments on commit 537c181

Please sign in to comment.