Commit graph

69 commits

Author SHA1 Message Date
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
Amy Blais
08c38259cb
Update README.md (#7946)
* Update README.md

* Update full_description.txt

* Update changelog
2024-05-16 08:05:49 -04: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
Mario Vitale
0a8f3cebb8
Fix build script failure (#7740) 2024-01-08 15:06:06 +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
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
Amy Blais
148f9dd716
Update supported ESR version (#7610)
* Update README.md

* Update supported_server.ts

* Update full_description.txt

* Update changelog
2023-11-10 09:19:54 -05:00
Elias Nahum
f2b4312a57
Bump build to 489 (#7592)
* Bump app version number to 2.9.0

* Bump app build number to 489

* update fastlane
2023-10-12 10:55:27 +04:00
Elias Nahum
6fd8465e66
Bump version to 2.9.0 and build 486 (#7560)
* Bump app version number to 2.9.0

* Bump app build number to 486

* update fastlane
2023-09-28 08:43:25 +03:00
Elias Nahum
eb9262e389
Bump Version to 2.7.0 build 480 (#7475)
* Bump app version number to 2.7.0

* Bump app build number to 480

* update fastlane
2023-07-27 08:51:39 -04:00
Saturnino Abril
275f40f8d9
CLD-5901 Fix: iOS simulator download link (#7427)
* fix: iOS simulator download link

* use the S3 bucket name
2023-06-27 07:15:42 -04:00
Dmitry Lyzlov
cc2728aaa8
Added localization into iOS share extension (#7351) 2023-06-21 12:42:31 +02:00
Elias Nahum
cc176f6f98
fix env var for sentry project android (#7398) 2023-06-09 10:38:16 -04:00
Elias Nahum
817cfc8acd
Bump build to 474 (#7396)
* update fastlane

* Bump app build number to 474
2023-06-09 09:33:15 -04:00
Antonis Stamatiou
8d475d8a36
feat: Migrate to Github Actions (#7394) 2023-06-08 16:02:59 +03:00
Daniel Espino García
825e70d945
Substitute Google Play icon on Fastlane (#7374) 2023-05-26 14:54:46 +02:00
Elias Nahum
a10e6d0d4d
Remove Fastlane message attachment icon (#7341) 2023-05-12 09:26:50 -04:00
Amy Blais
35023ea389
Update supported ESR version (#7316)
* Update README.md

* Update full_description.txt

* Update changelog

* update app to alert on servers below 7.8.0

---------

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2023-04-28 11:56:07 -04:00
Elias Nahum
519c146aac
Bump app build number to 467 (#7305) 2023-04-21 17:25:10 -04:00
Elias Nahum
1a4bc4217c
Added localization for iOS plist files (#7303)
* Added localization for iOS plist files

* update strings

* Update app/constants/permissions.ts

* Update assets/base/i18n/en.json

* Update ios/Mattermost/Info.plist

* Update ios/Mattermost/Info.plist

Co-authored-by: Christopher Poile <cpoile@gmail.com>

* Update app/constants/permissions.ts

Co-authored-by: Christopher Poile <cpoile@gmail.com>

* Update assets/base/i18n/en.json

Co-authored-by: Christopher Poile <cpoile@gmail.com>

* add suggestions

---------

Co-authored-by: Dmitry Lyzlov <dlyzlov@stsoft.ru>
Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com>
Co-authored-by: Christopher Poile <cpoile@gmail.com>
2023-04-21 13:57:38 -04:00
Dmitry Lyzlov
d3a9b35d42
Added support for self-hosted Sentry (#7230) 2023-04-19 14:58:59 -04:00
Elias Nahum
c12f70a3eb
Bump app build number to 466 (#7285)
* Bump app build number to 466

* update fastlane
2023-04-14 18:34:15 -04:00
Elias Nahum
dee100f1d9
Fix mattermost incoming webhook action for fastlane (#7262)
* Fix mattermost incoming webhook action for fastlane

* feedback review

* fix fastlane bundler version
2023-04-04 10:26:21 -04:00
Elias Nahum
5bb7238fd1
Bump app build number to 463 (#7232) 2023-03-26 11:20:41 -03:00
Daniel Espino García
01b5fc0f9e
Bump app build number to 461 (#7192) 2023-03-07 20:28:41 +01:00
Elias Nahum
d61fbd3180
Various fixes (#7161)
* Save message draft when post input is unmounted

* Fix switch CRT on/off

* Handle iPad on Stage Manager

* iOS Share Extension to use LRU cache instead of file cache

* Support building android as aab

* use handleReconnect instead of appEntry on handleCRTToggled

* show skin tone selector tutorial after running all interactions

* Update app/actions/remote/preference.ts

Co-authored-by: Daniel Espino García <larkox@gmail.com>

* fix lint

---------

Co-authored-by: Daniel Espino García <larkox@gmail.com>
2023-02-24 13:02:05 +02:00
Elias Nahum
f37a9fbabb
Replace package and imports for Kotlin files (#7090) 2023-02-07 11:34:49 +02:00
Elias Nahum
c83f53abd9
Add set_app_version_build to Fastlane (#7089) 2023-02-07 10:59:03 +02:00
Elias Nahum
7aa5bd0611
Update Dependencies and bug fixes (#7000)
* update dependencies

* update dependencies

* feedback review

* update @mattermost/react-native-turbo-mailer
2023-01-24 09:14:23 +02:00
Elias Nahum
c8d9758f18
CI fixes (#6936)
* CI fixes

* Fix fastlane script
2023-01-06 21:41:03 +02:00
Elias Nahum
413d3c59dd
update dependencies (#6886)
* update dependencies

* update react-native-image-picker

* use Xcode 14.2 on CI

* downgrade readable-stream

* update fastlane

* Revert "use Xcode 14.2 on CI"

This reverts commit cb0ed81a85d79ca37d1dd7f23fd44450a3d5ddde.
2022-12-23 14:46:58 +02:00
Avinash Lingaloo
92ca1e3704
Sentry fixes (#6830) 2022-12-21 19:34:44 +02:00
Saturnino Abril
ec7066ad06
Combine fastlane for iOS unsigned and simulator and enable build of iOS simulator both in release and PR (#6854)
* combine fastlane for ios unsigned and simulator and enable build of ios simulator both in release and pr

* revert changes to circleci
2022-12-13 05:58:11 +08:00
Stuart Doherty
178eff3c96
Updated build path for unsigned builds (#6843) 2022-12-08 17:28:54 +02:00
Elias Nahum
83b251d1ff
update dependencies (#6840)
* update dependencies

* fix iOS SQLite.swift

* update fastlane dependencies
2022-12-08 09:46:44 +02:00
Joseph Baylon
2105d93473
Fix fastlane simulator lane (#6832) 2022-12-05 12:43:12 -08:00
Elisabeth Kulzer
bbd9affaf6
Required changes to the CI automation for e2e-testing (#6629)
* Migrate steps to gekidou

* Port changes for gekidou

* run tests again

* bump cache to check

* Change image to make sure

* try npm i

* Run NODE_ENV=development npm update

* Try stuff

* try

* Try

* Try

* use a bashrc file

* use a bashrc file

* use a bashrc file

* use a bashrc file

* use a bashrc file

* revert

* Tests run now again

* Comment test step again

* Migrate steps to gekidou

* Port changes for gekidou

* run tests again

* Change image to make sure

* try npm i

* Run NODE_ENV=development npm update

* Try stuff

* try

* Try

* Try

* use a bashrc file

* use a bashrc file

* use a bashrc file

* use a bashrc file

* use a bashrc file

* revert

* Tests run now again

* Comment test step again

* Change derived data path

* Fix commata

* Add headless

* Remove headless, because it is not supported

* Fix no job

* Try other system image

* Fix calling

* Remove unnecessary changes.

* Focus on important changes for ios to succeed.
2022-12-01 10:11:04 -08:00
Elias Nahum
6eadc527bb
Gekidou Android share extension (#6803)
* Refactor app database queries to not require the app database as argument

* Android Share Extension and fix notifications prompt

* feedback review
2022-11-30 23:18:56 +02:00
Amy Blais
c8ccbeffb1
Update ESR version (#6793)
* Update README.md

* Update calls.ts

* Update full_description.txt

* Update changelog

* Update calls.ts
2022-11-29 13:42:10 -05:00
Pablo Velez Vidal
688537ff9c Merge branch 'main' into MM-35065-add-onboarding-screens 2022-11-25 17:47:39 +01:00
Daniel Espino García
5fae120826
Add support for review app (#6772)
* Add app review

* Use overlay instead of modal

* Add fixes for ios

* i18n-extract

* Add to milliseconds function

* Address review feedback

* Add try to queryGlobalValue

* added app review illustration

* add feedback illustration

* Add animations and feedback bot message

* Restrict reviews to build environment variable

* Fix bug with "dont ask anymore"

* Add check for only supported servers

* Add missing change

* Use for await

Co-authored-by: Daniel Espino <danielespino@MacBook-Pro-de-Daniel.local>
Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
2022-11-24 18:52:15 +01:00
Pablo Velez Vidal
31f0a27a5a Merge branch 'gekidou' into MM-35065-add-onboarding-screens 2022-11-15 16:09:19 +01:00
Pablo Velez Vidal
f1f43880a7 Add logic to guard behind the showOnboarding config value the Onboarding feature 2022-11-15 13:50:19 +01:00
Elias Nahum
e4bff927c3
Bump app build number to 438 (#6767) 2022-11-14 19:48:14 +02:00
Avinash Lingaloo
3e7ebfe95c
[Gekidou] Bump app build number to 427 (#6671)
* Bump app build number to  427

* Update Gemfile.lock
2022-10-07 21:08:02 +04:00
Elias Nahum
335ec0c588
Bump app build number to 422 (#6617) 2022-09-03 04:57:35 -04:00
Elias Nahum
68da0cc8a5
Gekidou fix unsigned builds (#6614) 2022-09-02 10:46:44 -04:00
Elias Nahum
fa24f4a5e4
Bump app build number to 421 (#6604) 2022-08-30 00:13:00 -04:00
Elias Nahum
2703407e3a
Bump app build number to 420 (#6587) 2022-08-20 09:57:51 -04:00
Elias Nahum
63e6290c76
Gekidou bump build to 419 (#6576)
* Fix profile picture update locking the screen

* Bump app build number to  419

* update fastlane
2022-08-13 09:00:25 -04:00