Skip to content

Commit

Permalink
chore(sample-app): upgrade dependencies in sample app (#2081)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
vanGalilea committed May 2, 2023
1 parent 324596a commit 30f8e5d
Show file tree
Hide file tree
Showing 40 changed files with 2,503 additions and 4,761 deletions.
7 changes: 7 additions & 0 deletions docusaurus/docs/reactnative/basics/troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,13 @@ Reanimated plugin has to be listed last.
### Blank screen on Android
:::caution
This step is only required for older version of (Reanimated 2).
If you are using version >=3.0.0, you can skip this step.
:::
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).
Ensure Hermes is enabled in `android/app/build.gradle`:
Expand Down
6 changes: 0 additions & 6 deletions examples/SampleApp/.buckconfig

This file was deleted.

4 changes: 2 additions & 2 deletions examples/SampleApp/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
"es6": true
},
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:jest/recommended"],
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaFeatures": {
"modules": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["babel", "markdown", "better-styled-components", "sort-destructure-keys"],
"plugins": ["@babel", "markdown", "better-styled-components", "sort-destructure-keys"],
"rules": {
"array-callback-return": 2,
"arrow-body-style": 2,
Expand Down
11 changes: 4 additions & 7 deletions examples/SampleApp/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,15 @@ local.properties
*.iml
*.hprof
.cxx/
*.keystore
!debug.keystore

# node.js
#
node_modules/
npm-debug.log
yarn-error.log

# BUCK
buck-out/
\.buckd/
*.keystore
!debug.keystore

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
Expand All @@ -63,4 +59,5 @@ buck-out/
# Ruby / CocoaPods
/ios/Pods/
/vendor
ios/.xcode.env.local
# Temporary files created by Metro to check the health of the file watcher
.metro-health-check*
1 change: 1 addition & 0 deletions examples/SampleApp/.node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
4 changes: 2 additions & 2 deletions examples/SampleApp/Gemfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
source 'https://rubygems.org'

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

gem 'cocoapods', '~> 1.11', '>= 1.11.2'
gem 'cocoapods', '>= 1.11.3'

gem "fastlane"
plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
Expand Down
2 changes: 1 addition & 1 deletion examples/SampleApp/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ PLATFORMS
ruby

DEPENDENCIES
cocoapods (~> 1.11, >= 1.11.2)
cocoapods (>= 1.11.3)
fastlane
fastlane-plugin-firebase_app_distribution
fastlane-plugin-load_json
Expand Down
File renamed without changes.
55 changes: 0 additions & 55 deletions examples/SampleApp/android/app/_BUCK

This file was deleted.

Loading

0 comments on commit 30f8e5d

Please sign in to comment.