Skip to content

Commit 246363f

Browse files
authored
chore: Merge 4.61.0 into master (#6401)
2 parents df40672 + c4be668 commit 246363f

File tree

209 files changed

+8635
-7158
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

209 files changed

+8635
-7158
lines changed

.circleci/config.yml

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ save-npm-cache-mac: &save-npm-cache-mac
5151

5252
restore-gems-cache: &restore-gems-cache
5353
name: Restore gems cache
54-
key: bundle-v1-{{ checksum "ios/Gemfile.lock" }}
54+
key: bundle-v1-{{ checksum "Gemfile.lock" }}
5555

5656
save-gems-cache: &save-gems-cache
5757
name: Save gems cache
58-
key: bundle-v1-{{ checksum "ios/Gemfile.lock" }}
58+
key: bundle-v1-{{ checksum "Gemfile.lock" }}
5959
paths:
6060
- vendor/bundle
6161

@@ -113,8 +113,7 @@ commands:
113113
- run:
114114
name: Install pods libs
115115
command: |
116-
bundle exec pod install --deployment
117-
working_directory: ios
116+
yarn pod-install
118117
- save_cache:
119118
name: Save pods specs and pods cache
120119
key: pods-v1-{{ checksum "ios/Podfile.lock" }}
@@ -196,11 +195,11 @@ commands:
196195
name: Upload sourcemaps/NDK symbols to Bugsnag
197196
command: |
198197
if [[ $CIRCLE_JOB == "android-build-official" ]]; then
199-
yarn bugsnag:upload-android --variant officialRelease
198+
yarn bugsnag:upload-android --variant officialRelease --app-manifest android/app/build/intermediates/merged_manifests/officialRelease/processOfficialReleaseManifest/AndroidManifest.xml
200199
yarn bugsnag-cli upload android-aab android/app/build/outputs/bundle/officialRelease/app-official-release.aab
201200
fi
202201
if [[ $CIRCLE_JOB == "android-build-experimental" || "android-automatic-build-experimental" ]]; then
203-
yarn bugsnag:upload-android --variant experimentalRelease
202+
yarn bugsnag:upload-android --variant experimentalRelease --app-manifest android/app/build/intermediates/merged_manifests/experimentalRelease/processExperimentalReleaseManifest/AndroidManifest.xml
204203
yarn bugsnag-cli upload android-aab android/app/build/outputs/bundle/experimentalRelease/app-experimental-release.aab
205204
fi
206205
@@ -523,7 +522,6 @@ jobs:
523522
- restore_cache: *restore-npm-cache-linux
524523
- run: *install-npm-modules
525524
- save_cache: *save-npm-cache-linux
526-
- run: mkdir ~/junit
527525
- create-e2e-account-file
528526
- android/create-avd:
529527
avd-name: Pixel_API_31_AOSP
@@ -538,17 +536,10 @@ jobs:
538536
- run:
539537
name: Run Detox Tests
540538
command: |
541-
TEST=$(circleci tests glob "e2e/tests/**/*.ts" | circleci tests split --split-by=timings)
539+
TEST=$(circleci tests glob "e2e/tests/**/*.ts" | circleci tests split)
542540
yarn e2e:android-test $TEST
543541
- store_artifacts:
544542
path: artifacts
545-
- run:
546-
command: cp junit.xml ~/junit/
547-
when: always
548-
- store_test_results:
549-
path: ~/junit
550-
- store_artifacts:
551-
path: ~/junit
552543

553544
# iOS builds
554545
ios-build-experimental:
@@ -613,7 +604,6 @@ jobs:
613604
- restore_cache: *restore-npm-cache-mac
614605
- run: *install-npm-modules
615606
- save_cache: *save-npm-cache-mac
616-
- run: mkdir ~/junit
617607
- run:
618608
name: Configure Detox
619609
command: |
@@ -624,17 +614,10 @@ jobs:
624614
- run:
625615
name: Run tests
626616
command: |
627-
TEST=$(circleci tests glob "e2e/tests/**/*.ts" | circleci tests split --split-by=timings)
617+
TEST=$(circleci tests glob "e2e/tests/**/*.ts" | circleci tests split)
628618
yarn e2e:ios-test $TEST
629619
- store_artifacts:
630620
path: artifacts
631-
- run:
632-
command: cp junit.xml ~/junit/
633-
when: always
634-
- store_test_results:
635-
path: ~/junit
636-
- store_artifacts:
637-
path: ~/junit
638621

639622
workflows:
640623
build-and-test:

.gitignore

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ DerivedData
2020
*.hmap
2121
*.ipa
2222
*.xcuserstate
23-
ios/.xcode.env.local
23+
**/.xcode.env.local
2424
project.xcworkspace
2525
*.mobileprovision
26-
ios/Pods/
26+
**/Pods/
2727
/vendor/bundle/
2828

2929
# Temporary files created by Metro to check the health of the file watcher
@@ -32,6 +32,14 @@ ios/Pods/
3232
# testing
3333
/coverage
3434

35+
# Yarn
36+
.yarn/*
37+
!.yarn/patches
38+
!.yarn/plugins
39+
!.yarn/releases
40+
!.yarn/sdks
41+
!.yarn/versions
42+
3543
# Android/IntelliJ
3644
#
3745
build/
@@ -71,6 +79,5 @@ e2e/docker/rc_test_env/docker-compose.yml
7179
e2e/docker/data/db
7280
e2e/e2e_account.js
7381
e2e/e2e_account.ts
74-
junit.xml
7582

7683
*.p8

CONTRIBUTING.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ yarn
2020

2121
Run the app:
2222
```sh
23-
npx pod-install
23+
yarn pod-install
2424
yarn ios
2525
```
2626

@@ -34,10 +34,6 @@ At this point, the app should be running on the simulator or on your device!
3434

3535
*Note: npm won't work on this project*
3636

37-
### How to inspect the app
38-
39-
We use [Reactotron](https://github.com/infinitered/reactotron) to inspect logs, redux state, redux-sagas, HTTP requests, etc.
40-
4137
## Issues needing help
4238

4339
Didn't find a bug or want a new feature not already reported? Check out the [help wanted](https://github.com/RocketChat/Rocket.Chat.ReactNative/issues?q=is%3Aissue+is%3Aopen+label%3A%22%F0%9F%91%8B+help+wanted%22) or the [good first issue](https://github.com/RocketChat/Rocket.Chat.ReactNative/issues?q=is%3Aissue+is%3Aopen+label%3A%22%F0%9F%8D%AD+good+first+issue%22) labels.

Gemfile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
source 'https://rubygems.org'
22
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
33
ruby '2.7.7'
4-
gem 'cocoapods', '~> 1.11', '>= 1.11.2'
4+
5+
# Exclude problematic versions of cocoapods and activesupport that causes build failures.
6+
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
7+
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
8+
gem 'xcodeproj', '< 1.26.0'
9+
gem 'concurrent-ruby', '< 1.3.4'
10+
11+
gem 'fastlane'
12+
plugins_path = File.join(File.dirname(__FILE__), 'ios', 'fastlane', 'Pluginfile')
13+
eval_gemfile(plugins_path) if File.exist?(plugins_path)

0 commit comments

Comments
 (0)