Skip to content

Commit

Permalink
chore: migrate TesterApp to react-native-test-app (#629)
Browse files Browse the repository at this point in the history
* chore: migrate TesterApp to `react-native-test-app`

* chore: upgrade deps

* chore: update lockfile

* chore: specify via `app.json`

* chore: remove `android.jetiifer.ignoreList` option

* fix: disable bridgeless

* chore: update rn-test-app

* refactor: add flag for lazy comp, add flag to disable fs cache

* feat: use bootstrap hoc to fix rnta issues

* chore: keep ruby env

* fix: disable bridgeless on iOS

* chore: remove watchmanconfig

* refactor: update react-native.config.js

Co-authored-by: Tommy Nguyen <[email protected]>

* Revert "feat: use bootstrap hoc to fix rnta issues"

This reverts commit badea9d.

* fix: explicit appId for android

* chore: lockfile

* feat: enable bridgeless for Android and iOS

* chore(android): remove jetifier

* chore: update `react-native-test-app` to `^3.7.4`

* feat: enable single app mode

* chore: configure release mode bundling paths

* feat: add scripts to build app in release mode

* chore: apply reviewers review

---------

Co-authored-by: Jakub Romanczyk <[email protected]>
Co-authored-by: Tommy Nguyen <[email protected]>
  • Loading branch information
3 people authored Jun 11, 2024
1 parent b358b17 commit 7fc5a6b
Show file tree
Hide file tree
Showing 52 changed files with 436 additions and 1,682 deletions.
1 change: 1 addition & 0 deletions packages/TesterApp/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ DerivedData
*.hmap
*.ipa
*.xcuserstate
**/.xcode.env
**/.xcode.env.local

# Android/IntelliJ
Expand Down
1 change: 0 additions & 1 deletion packages/TesterApp/.watchmanconfig

This file was deleted.

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

# 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'
# Exclude problematic versions of cocoapods and activesupport that causes build failures.
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
52 changes: 34 additions & 18 deletions packages/TesterApp/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,26 +1,35 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.6)
CFPropertyList (3.0.7)
base64
nkf
rexml
activesupport (7.0.8)
activesupport (7.1.3.3)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
addressable (2.8.5)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
algoliasearch (1.27.5)
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
atomos (0.1.3)
base64 (0.2.0)
bigdecimal (3.1.8)
claide (1.1.0)
cocoapods (1.14.2)
cocoapods (1.15.2)
addressable (~> 2.8)
claide (>= 1.0.2, < 2.0)
cocoapods-core (= 1.14.2)
cocoapods-core (= 1.15.2)
cocoapods-deintegrate (>= 1.0.3, < 2.0)
cocoapods-downloader (>= 2.0)
cocoapods-downloader (>= 2.1, < 3.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
cocoapods-search (>= 1.0.0, < 2.0)
cocoapods-trunk (>= 1.6.0, < 2.0)
Expand All @@ -33,7 +42,7 @@ GEM
nap (~> 1.0)
ruby-macho (>= 2.3.0, < 3.0)
xcodeproj (>= 1.23.0, < 2.0)
cocoapods-core (1.14.2)
cocoapods-core (1.15.2)
activesupport (>= 5.0, < 8)
addressable (~> 2.8)
algoliasearch (~> 1.0)
Expand All @@ -44,7 +53,7 @@ GEM
public_suffix (~> 4.0)
typhoeus (~> 1.0)
cocoapods-deintegrate (1.0.5)
cocoapods-downloader (2.0)
cocoapods-downloader (2.1)
cocoapods-plugins (1.0.0)
nap
cocoapods-search (1.0.1)
Expand All @@ -53,31 +62,38 @@ GEM
netrc (~> 0.11)
cocoapods-try (1.2.0)
colored2 (3.1.2)
concurrent-ruby (1.2.2)
concurrent-ruby (1.3.1)
connection_pool (2.4.1)
drb (2.2.1)
escape (0.0.4)
ethon (0.16.0)
ffi (>= 1.15.0)
ffi (1.16.3)
ffi (1.17.0)
ffi (1.17.0-arm64-darwin)
fourflusher (2.3.1)
fuzzy_match (2.0.4)
gh_inspector (1.1.3)
httpclient (2.8.3)
i18n (1.14.1)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
json (2.6.3)
minitest (5.20.0)
json (2.7.2)
minitest (5.23.1)
molinillo (0.8.0)
mutex_m (0.2.0)
nanaimo (0.3.0)
nap (1.1.0)
netrc (0.11.0)
nkf (0.2.0)
public_suffix (4.0.7)
rexml (3.2.6)
rexml (3.2.8)
strscan (>= 3.0.9)
ruby-macho (2.5.1)
typhoeus (1.4.0)
strscan (3.1.0)
typhoeus (1.4.1)
ethon (>= 0.9.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
xcodeproj (1.23.0)
xcodeproj (1.24.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
Expand All @@ -91,8 +107,8 @@ PLATFORMS
ruby

DEPENDENCIES
activesupport (>= 6.1.7.5, < 7.1.0)
cocoapods (>= 1.13, < 1.15)
activesupport (>= 6.1.7.5, != 7.1.0)
cocoapods (>= 1.13, != 1.15.1, != 1.15.0)

RUBY VERSION
ruby 2.7.6p219
Expand Down
125 changes: 0 additions & 125 deletions packages/TesterApp/android/app/build.gradle

This file was deleted.

13 changes: 0 additions & 13 deletions packages/TesterApp/android/app/proguard-rules.pro

This file was deleted.

13 changes: 0 additions & 13 deletions packages/TesterApp/android/app/src/debug/AndroidManifest.xml

This file was deleted.

26 changes: 0 additions & 26 deletions packages/TesterApp/android/app/src/main/AndroidManifest.xml

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 7fc5a6b

Please sign in to comment.