Skip to content

Commit

Permalink
chore: migrate Example app & e2e tests to RN 0.72.4 (#1880)
Browse files Browse the repository at this point in the history
## Description

Migrate `Example` and e2e tests to the latest RN.
For some reason (I believe due to the presence and usage of v4) this app
was left behind with RN versions.

I did leave some `@react-navigation` components on v5 versions
(`bottom-tabs`, `drawer`, etc., because using more recent versions
caused e2e tests to fail), I'll try to upgrade these in separate PR.

## Changes

* Migrated `Example` app to `0.72.4`
* Bumped most of the dependencies to recent versions (also some of the
natives)
* Fixed detox configuration


## Test code and steps to reproduce

Build `Example` & check that it works + CI passes

## Checklist

- [ ] Ensured that CI passes
  • Loading branch information
kkafar authored Sep 4, 2023
1 parent ea4b326 commit e330f36
Show file tree
Hide file tree
Showing 34 changed files with 3,211 additions and 2,888 deletions.
6 changes: 0 additions & 6 deletions Example/.buckconfig

This file was deleted.

4 changes: 4 additions & 0 deletions Example/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.export = {
root: true,
extends: '@react-native',
};
67 changes: 0 additions & 67 deletions Example/.flowconfig

This file was deleted.

14 changes: 9 additions & 5 deletions Example/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,16 @@ build/
local.properties
*.iml
*.hprof
.cxx/
*.keystore
!debug.keystore

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

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

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
Expand All @@ -61,6 +59,12 @@ buck-out/
/ios/Pods/
/vendor/bundle/

# Temporary files created by Metro to check the health of the file watcher
.metro-health-check*

# testing
/coverage

# Android cpatures
/android/captures

Expand Down
1 change: 0 additions & 1 deletion Example/.ruby-version

This file was deleted.

4 changes: 2 additions & 2 deletions Example/Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source 'https://rubygems.org'
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
ruby '2.7.5'
gem 'cocoapods', '~> 1.11', '>= 1.11.2'
ruby '>= 2.6.10'
gem 'cocoapods', '~> 1.12'
Loading

0 comments on commit e330f36

Please sign in to comment.