Skip to content

Commit 30f8e5d

Browse files
authored
chore(sample-app): upgrade dependencies in sample app (#2081)
* iOS upgrade complete * Android upgrade complete * port. of libs upgrade * all port. of libs upgrade * misc: docs reanimated troubl. update and android permi. update to support SDK 33 * upgrading messaging fb * including yarn.lock file and docs tweak * upgrade and fix lint * upgrade and fix lint
1 parent 324596a commit 30f8e5d

40 files changed

+2503
-4761
lines changed

β€Ždocusaurus/docs/reactnative/basics/troubleshooting.mdxβ€Ž

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,13 @@ Reanimated plugin has to be listed last.
351351
352352
### Blank screen on Android
353353
354+
:::caution
355+
356+
This step is only required for older version of (Reanimated 2).
357+
If you are using version >=3.0.0, you can skip this step.
358+
359+
:::
360+
354361
If you are encountering errors on Android and the screen is blank it is likely you forgot to finish the [Reanimated 2 Android setup](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation/#android).
355362
356363
Ensure Hermes is enabled in `android/app/build.gradle`:

β€Žexamples/SampleApp/.buckconfigβ€Ž

Lines changed: 0 additions & 6 deletions
This file was deleted.

β€Žexamples/SampleApp/.eslintrc.jsonβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
"es6": true
66
},
77
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:jest/recommended"],
8-
"parser": "babel-eslint",
8+
"parser": "@babel/eslint-parser",
99
"parserOptions": {
1010
"ecmaFeatures": {
1111
"modules": true
1212
},
1313
"ecmaVersion": 2018,
1414
"sourceType": "module"
1515
},
16-
"plugins": ["babel", "markdown", "better-styled-components", "sort-destructure-keys"],
16+
"plugins": ["@babel", "markdown", "better-styled-components", "sort-destructure-keys"],
1717
"rules": {
1818
"array-callback-return": 2,
1919
"arrow-body-style": 2,

β€Žexamples/SampleApp/.gitignoreβ€Ž

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,15 @@ local.properties
3131
*.iml
3232
*.hprof
3333
.cxx/
34+
*.keystore
35+
!debug.keystore
3436

3537
# node.js
3638
#
3739
node_modules/
3840
npm-debug.log
3941
yarn-error.log
4042

41-
# BUCK
42-
buck-out/
43-
\.buckd/
44-
*.keystore
45-
!debug.keystore
46-
4743
# fastlane
4844
#
4945
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
@@ -63,4 +59,5 @@ buck-out/
6359
# Ruby / CocoaPods
6460
/ios/Pods/
6561
/vendor
66-
ios/.xcode.env.local
62+
# Temporary files created by Metro to check the health of the file watcher
63+
.metro-health-check*
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18

β€Žexamples/SampleApp/Gemfileβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
source 'https://rubygems.org'
22

33
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
4-
ruby '2.7.5'
4+
ruby '>= 2.6.10'
55

6-
gem 'cocoapods', '~> 1.11', '>= 1.11.2'
6+
gem 'cocoapods', '>= 1.11.3'
77

88
gem "fastlane"
99
plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')

β€Žexamples/SampleApp/Gemfile.lockβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ PLATFORMS
277277
ruby
278278

279279
DEPENDENCIES
280-
cocoapods (~> 1.11, >= 1.11.2)
280+
cocoapods (>= 1.11.3)
281281
fastlane
282282
fastlane-plugin-firebase_app_distribution
283283
fastlane-plugin-load_json

β€Žexamples/SampleApp/android/app/_BUCKβ€Ž

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
Β (0)