* update dev deps
* partial update dependencies
* update watermelondb
* update rn to 0.76.5, expo to 52.0.18 and others
* upgrade android firebase
* upgrade detox deps
* fix package-lock.json
* update emm and paste-input
* update turbo-log
* update network library
* fix tests
* review feedback
* fix Keyboard blocking signIn button
* Fall back to iphone 14 iOS 17.2 simulator as app crashes on iOS 17.4
* changes in deleteCredentialsForServer is causing a crash
* withOptions x2 clearly is wrong
* re-add cli-platform-apple fix
* fix: RN 0.76.5 issue with bottom sheet disappearing (#8478)
* experiment, using view vs BottomSheetView
* revert previous & try disabling enableDynamicSizing
* revert an unintended removal
---------
Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| android_emulator | ||
| e2e | ||
| utils | ||
| .babelrc | ||
| .detoxrc.json | ||
| create_android_emulator.sh | ||
| inject-detox-settings.js | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| save_report.js | ||
| tsconfig.json | ||
| webhook_server.js | ||
How to Run Detox Tests
Android
Install Dependencies
From the root directory, run the following command to install the necessary dependencies:
npm install
Inject Detox Settings
To inject the Detox settings into your project, navigate to the detox directory and run the following command:
npm run inject-detox-settings
Update minSdkVersion for react-native-image-picker
On macOS machines, update the minSdkVersion of react-native-image-picker to 23 by running the following command from the root directory:
sed -i '' 's/minSdkVersion 21/minSdkVersion 23/' ./node_modules/react-native-image-picker/android/build.gradle
Build detox android app
From the detox folder run:
npm run e2e:android-build