Commit graph

309 commits

Author SHA1 Message Date
Daniel Espino García
b7791add7c
Use UUID native functions (#8032) 2024-06-20 18:22:59 +08:00
Elias Nahum
b8c088cc70
Upgrade RN as well as update or replace other dependencies (#8011)
* start upgrade to RN 74

* migrate react-native-fs to expo-file-system

* exclude expo-asset module

* fix database manager remove directory

* fix: android network helper

* include expo on android

* temporarily disable android dep lock

* replace react-native-create-thumbnail with expo-video-thumnails

* update patches file version

* fix android build on 74

* create local library to replace MattermostManaged, Notifications and SplitView modules with new arch support

* migrate app to use new mattermost-rnutils library

* remove unused flipper class for android unsigned

* fix mattermost-rnutils android foldedObserver lifecycle

* use mattermost-rnutils on Android

* use mattermost-rnutils on iOS

* path react-native-navigation to not crash when activity is not NavigationActivity

* create local library for android share extension with new arch support

* Replace ShareModule with @mattermost/rnshare library

* remove ShareModule from android native code

* update react-intl

* update nodejs to 20.x.x npm to 10.x.x and dev deps

* update @gorhom/bottom-sheet

* use MattermostShare conditionally based on the platform

* update @react-native-camera-roll/camera-roll

* remove unused react-native-calendars

* fix metro config

* fix terminate session race condition

* remove unused analytics

* replace react-native-device-info with expo-application and expo-device

* update @react-native-clipboard/clipboard

* update @react-native-community/datetimepicker

* update @react-native-community/netinfo

* update @sentry/react-native

* update react-native-document-picker

* update react-native-gesture-handler

* update react-native-share

* update react-native-svg and react-native-svg-transformer

* update react-native-vector-icons

* update babel

* update react-native-shadow-2

* update semver

* remove react-native-svg-transformer and convert svg files to svg components

* fix @mattermost/rnshare new-arch build on android

* remove react-native-create-thumbnail resolution in build.gradle

* create @mattermost/hardware-keyboard library to replace hw-keyboard-events

* fix hardware-keyboard library

* fix rnutils library

* create @mattermost/keyboard-tracker library

* replace react-native-keyboard-tracking-view with @mattermost/keyboard-tracker

* fix: rnutils to not crash on lateinit context

* fix: rnutils delete database

* revert changes to session_manager

* Removed react-native-webview and added expo-web-browser instead

With expo-web-browser we no longer need the webview for SSO login
the SSO login is now done by using "custom Chrome tabs" on Android
and ASWebAuthenticationSession on iOS

* remove patch for react-native-keyboard-tracking-view

* replace react-native-linear-gradient with expo-linear-gradient

* replace react-native-in-app-review with expo-store-review

* fix: shared group database directory on ios

* replace react-native-fast-image with expo-image

* remove unusued type def for react-native-keyboard-tracking-view

* replace react-native-elements and react-native-button with @rneui

* node version

* update sizzling methods

* fix tests using jest-expo

* replace jail-monkey with expo-device

* update babel deps

* update typescript eslint

* update rn and expo

* react-native-document-picker @react-native-camera-roll/camera-roll @react-native-community/datetimepicker react-native-reanimated react-native-safe-area-context

* update patches

* update @sentry/react-native

* upgrade react-native-navigation

* update expo & expo-image

* upgrade to working version of @sentry/react-native

* update node, cocoapods, bundler, fastlane versions

* @testing-library/react-native and eslint-plugin-jest

* fix: FloatingTextInput causing a crash with reanimated

* update sentry, localize, @types/lodash and uuid

* fix floating text input label

* update react-native-video

* fix: cannot calculate shadow efficiently on some components

* fix: reduce motion warning for bottomSheet

* fix: shadow on YouTube component

* update react-native-webrtc expo and @typescript-eslint

* audit fix

* fix swizzling bad merge

* temp use of github dependency for @mattermost libraries

* feedback review

* feedback review

* npm audit fix

* update bundle deps

* update @mattermost/react-native-turbo-log

* update deps
2024-06-19 09:33:45 +08:00
unified-ci-app[bot]
6195833723
Bump app build and version number (#8023)
* Bump app build number to 528
* Bump app version number to 2.18.0

---------

Co-authored-by: runner <runner@Mac-1718623031725.local>
2024-06-17 15:22:28 +02:00
Daniel Espino García
5f01f9e9af
Add performance metrics to the app (#7953)
* Add performance metrics to the app

* add batcher and improve handling

* Add tests

* Fix test

* Address feedback

* Address feedback

* Address feedback

* update podfile
2024-06-12 09:45:27 +02:00
Elias Nahum
f0e80aa7eb
replace swizzle method_exchangeImplementations with method_setImplementation (#7991) 2024-06-11 05:14:53 +08:00
unified-ci-app[bot]
0473c1bfc8
Bump app build number to 525 (#7987)
Co-authored-by: runner <runner@Mac-1717409210410.local>
2024-06-03 13:00:56 +02:00
unified-ci-app[bot]
c00bf9cb4b
Bump app build number to 523 (#7974)
Co-authored-by: runner <runner@Mac-1716820087705.local>
2024-05-27 17:23:21 +02:00
unified-ci-app[bot]
32e4e0a74b
Bump app build and version number (#7959)
* Bump app build number to 522

* Bump app version number to 2.17.0

---------

Co-authored-by: runner <runner@Mac-1715946646591.local>
2024-05-17 08:39:02 -04:00
Mario Vitale
7b14ea27ec
Bump app build number to 521 (#7952)
Co-authored-by: runner <runner@Mac-1715329932711.local>
2024-05-14 09:27:25 +02:00
Daniel Espino García
4992a96891
Avoid race condition setting the badge number when the app is in the background (#7925) 2024-05-10 09:21:32 +02:00
unified-ci-app[bot]
c27abc9986
Bump app build number to 520 (#7941)
Co-authored-by: runner <runner@Mac-1715088900980.local>
2024-05-07 15:50:03 +02:00
Elias Nahum
9c69ab05dc
disable Flipper on iOS (#7855)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-05-06 18:05:31 +08:00
unified-ci-app[bot]
8799f2bb55
Bump app build number to 519 (#7921)
Co-authored-by: runner <runner@Mac-1714114726289.local>
2024-05-06 07:16:13 +02:00
Christopher Poile
c009013356
[MM-58074] Calls: Fix crashing app when starting/joining call (#7926) 2024-05-01 11:15:42 -04:00
Daniel Espino García
c5e6e34fea
Fix MM 56723 (#7883)
* Fix MM 56723 (iOS)

* Add android

* Android fixes and version checking

* Add version check to ios

* Address feedback

* Add all versions to android

* Check all versions on iOS

* Fix unhandled version case

* Add comments

* Add final version numbers
2024-04-24 17:12:56 +02:00
Daniel Espino García
9d1030a445
Push react native to 0.73.6 (#7863)
* Bump react native to 0.73.6

* iOS changes

* Fix gallery

* Fix test

* Add missing patch

* Unify react native navigation patch

* Update the rest of libraries

* iOS updates

* Update mattermost libraries

* Fix tests and final bumps

* iOS podfile update

* Update android locks

* Revert webrtc update because it was messing with the tests

* Update podfile for webrtc
2024-04-22 12:44:39 +02:00
unified-ci-app[bot]
c3e31b6813
Bump app build and version number (#7915)
* Bump app build number to 518

* Bump app version number to 2.16.0

---------

Co-authored-by: runner <runner@Mac-1713529249511.local>
2024-04-19 08:28:38 -04:00
Daniel Espino García
65e59724f1
Add missing privacy requirements (#7902) 2024-04-16 07:44:10 +08:00
unified-ci-app[bot]
1eab3a9a6f
Bump app build number to 515 (#7901)
Co-authored-by: runner <runner@Mac-1712912495407.local>
2024-04-15 11:15:47 +03:00
unified-ci-app[bot]
c2f631ed24
Bump app build number to 514 (#7899)
Co-authored-by: runner <runner@Mac-1712671935360.local>
2024-04-09 16:33:54 +02:00
Daniel Espino García
c8ca39e91e
Update sentry to fix error with the Privacy files (#7897)
* Update sentry to fix error with the Privacy files

* Update sentry cocoa
2024-04-09 15:53:58 +02:00
unified-ci-app[bot]
e239887cef
Bump app build number to 513 (#7887)
Co-authored-by: runner <runner@Mac-1711702917950.local>
2024-04-05 19:08:11 +02:00
Daniel Espino García
f4e3193b57
Add needed access reasons to APIs (#7891) 2024-04-04 10:06:17 +02:00
unified-ci-app[bot]
baf3d96560
Bump app build number to 512 (#7877)
Co-authored-by: runner <runner@Mac-1711097107491.local>
2024-03-28 14:13:54 +01:00
Elias Nahum
73fc79903f
Allow iOS to connect to servers without SSL (#7881) 2024-03-28 20:09:50 +08:00
Christopher Poile
4e68662899
[MM-57019] Calls: Live captions support for mobile (#7854)
* mobile support for live captions

* add the 'Live captions turned on' ephemeral notice

* PR comments

* message should be translatable

* run i18n-extract

* call_recording_state -> call_job_state; ccAvailable is now dynamic

* backwards compatibility with pre calls v0.26.0

* correct mobile version in deprecation comments

---------

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2024-03-20 09:10:05 -04:00
unified-ci-app[bot]
b75ab03701
Bump app build and version number (#7870)
* Bump app build number to 511

* Bump app version number to 2.15.0

---------

Co-authored-by: runner <runner@Mac-1710764125160.local>
2024-03-18 13:22:53 +01:00
unified-ci-app[bot]
42e566394e
Bump app build number to 510 (#7846)
Co-authored-by: runner <runner@Mac-1708677847420.local>
2024-03-11 11:30:37 +01:00
Mario Vitale
c0b2c957e1
CLD-7165 Bump MacOS runner version (#7828)
* CLD-7165 Bump MacOS runner version
* Bump Ruby version
* Adapt pipelines to utilize the ruby version in .ruby-version

---------

Co-authored-by: Daniel Espino <larkox@gmail.com>
2024-02-22 11:35:56 +01:00
unified-ci-app[bot]
a1401faa53
Bump app build and version number (#7836)
* Bump app build number to 509

* Bump app version number to 2.14.0

---------

Co-authored-by: runner <runner@Mac-1708096715862.local>
2024-02-16 16:45:35 +01:00
unified-ci-app[bot]
7ee6109f34
Bump app build number to 508 (#7834)
Co-authored-by: runner <runner@Mac-1708074078937.local>
2024-02-16 13:01:10 +01:00
unified-ci-app[bot]
2ed556286e
Bump app build number (#7823)
* Bump app build number to 508

* Use build number 507 instead

---------

Co-authored-by: runner <runner@Mac-1707468657872.local>
Co-authored-by: Mario Vitale <mvitale1989@hotmail.com>
2024-02-09 16:44:15 +01:00
Elias Nahum
3653df354d
Revert "Channel Bookmarks (#7750)" (#7816)
* Revert "Channel Bookmarks (#7750)"

This reverts commit 2c5c878829.
2024-02-07 07:52:55 +08:00
Elias Nahum
2c5c878829
Channel Bookmarks (#7750) 2024-02-05 17:07:01 +08:00
unified-ci-app[bot]
302c273fa1
Bump app build number to 506 (#7808)
Co-authored-by: runner <runner@Mac-1706864534213.local>
2024-02-02 12:52:12 +01:00
Daniel Espino García
41113ce857
Update iOS permissions texts (#7805)
* Update iOS permissions texts

* Add missing changes
2024-02-01 13:23:58 -05:00
Elias Nahum
f2842bdec7
revert change to allow arbitrary loads (#7801) 2024-02-01 20:36:25 +08:00
unified-ci-app[bot]
3a49b83bc3
Bump app build number to 505 (#7799)
Co-authored-by: runner <runner@Mac-1706625774368.local>
2024-01-30 16:18:22 +01:00
unified-ci-app[bot]
5e3e66281a
Bump app build number to 504 (#7788)
Co-authored-by: runner <runner@Mac-1706259209788.local>
2024-01-29 14:51:10 +01:00
unified-ci-app[bot]
f94e3688e3
Bump app build and version number (#7779)
* Bump app build number to 503

* Bump app version number to 2.13.0

---------

Co-authored-by: runner <runner@Mac-1705935432189.local>
2024-01-22 16:05:56 +01:00
unified-ci-app[bot]
73c9bf0589
Bump app build number to 502 (#7752)
Co-authored-by: runner <runner@Mac-1705050085350.local>
2024-01-22 11:44:02 +01:00
unified-ci-app[bot]
810f4b3d24
Bump app build number to 501 (#7733)
Co-authored-by: runner <runner@Mac-1703233954558.local>
2024-01-08 17:44:11 +01:00
unified-ci-app[bot]
b405b3a872
Bump app build number to 500 (#7717)
Co-authored-by: runner <runner@Mac-1702629622103.local>
2023-12-15 13:16:45 +01:00
Mario Vitale
c90ed51981
Bump to version 2.12.0 build 499 (#7705) 2023-12-08 15:34:05 +01:00
Mario Vitale
21acf6b0e6
Bump build version to 498 (#7700) 2023-12-05 19:24:25 +01:00
Elias Nahum
de57c343f0
MM-55621 fix layout for tablets and foldables (#7697)
* MM-55621 fix layout for tablets and foldables

* feedback review
2023-12-05 11:08:43 +08:00
Mario Vitale
1fc0611f04
Bump build 497 (#7692) 2023-11-29 13:20:27 +01:00
unified-ci-app[bot]
bf4498251d
Bump app build number to 495 (#7687)
* Bump app build number to 495

---------

Co-authored-by: runner <runner@Mac-1701091359077.local>
Co-authored-by: Mario Vitale <mvitale1989@hotmail.com>
2023-11-28 15:49:53 +01:00
Elias Nahum
edef4ec4a3
Update libraries and dependencies (#7678)
* update js dependencies

* update react-native libraries

* update watermelonDB

* update RN to 0.72.7

* update fastlane

* fix remove_markdown/at_mention import

* update mattermost libraries

* update fastlane deps

* remove haptic-feedback patch

* update okhttp to 4.12.0 and patch netinfo to accurately identify VPN connections

* create ImaegStyles intersection type
2023-11-25 07:46:13 +08:00
Daniel Espino
88240ae813 Bump app build number to 494 2023-11-16 17:19:19 +01:00