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
Daniel Espino García
b694809da1
Improve websocket behavior ( #7976 )
...
* Improve websocket behavior
* Revert uninteded changes
* Address feedback
2024-06-17 09:58:58 +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
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
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
Daniel Espino García
d469470592
Make app init more idempotent ( #7676 )
...
* Make app init more idempotent
* Remove previous subscriptions
2023-12-04 17:01:08 +01:00
Daniel Espino García
46125b201f
Fix issue when logout is called several times for the same server ( #7666 )
2023-11-27 10:50:40 +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
Pablo Andrés Vélez Vidal
41ca61966b
do not remove inside app alerts
2023-10-10 17:12:04 +02:00
Pablo Andrés Vélez Vidal
499114f4f9
Merge branch 'main' into MM-50354-not-show-push-notifications-warning-if-disabled
2023-10-09 16:28:58 +02:00
Elias Nahum
672e0ee225
update libwebp ( #7562 )
2023-09-28 16:44:31 +03:00
Elias Nahum
df52740752
Add alert when deeplink is invalid ( #7538 )
2023-09-12 07:26:05 -03:00
Elias Nahum
f463d12187
show alert when server SSL is invalid or untrusted ( #7533 )
2023-09-07 06:23:34 -03:00
Pablo Andrés Vélez Vidal
d4cd0cb1de
implement pr feedback; reuse existing keyfromurl function; fix imports
2023-08-22 15:50:45 +02:00
Pablo Andrés Vélez Vidal
7244f95fea
add unit test; refactor function; not remove on logout but on server remove
2023-08-21 17:31:16 +02:00
Daniel Espino García
bc1ad7362f
Fix login not doing entry logic after forced logout ( #7507 )
...
* Fix login not doing entry logic after forced logout
* Fix lint
2023-08-16 17:41:39 +02:00
Pablo Andrés Vélez Vidal
0da1b5c6a4
MM-50354 - do not show push disabled notification once acknowledged
2023-08-10 12:23:55 +02:00
Daniel Espino García
d74826064b
Remove keychain cache to avoid token invalidation problems ( #7479 )
2023-08-01 15:46:48 +02:00
Daniel Espino García
0c4f7f25bc
Upgrade React Native Network Client to 1.3.5 ( #7450 )
...
* Upgrade React Native Network Client to 1.3.5
* Fix defaults in the manager
2023-07-12 17:08:40 +02:00
Daniel Espino García
5ab2f86b66
Fix ios cache ( #7412 )
...
* Fix Keychain cache
* Fix
* Fix import
2023-07-05 14:01:51 -04:00
Elias Nahum
ef2c12e954
Update Dependencies ( #7409 )
...
* dev dependencies
* update deps
* update wdb
* update more deps
* update detox deps
* update logs for database batch
* fix jest setup
2023-06-21 13:40:23 -04:00
Daniel Espino García
841db48a86
Improve status sync ( #7379 )
2023-06-02 15:31:00 +02:00
Daniel Espino García
86658edc30
Refactor errors around the app ( #7306 )
...
* Refactor errors around the app
* Fix recursive function
* Fix tests
2023-05-03 13:08:55 +02:00
Elias Nahum
784b05fe97
Upgrade Dependencies ( #7299 )
...
* upgrade reanimated
* update devDependencies
* upgrade react-intl
* update react-native and some dependencies
* update react-native-permissions
* update RN
* use Share sheet for Report a problem
* update Sentry
* remove step to downloadWebRTC
* update detox deps
* feedback review
2023-04-21 12:16:54 -04:00
Daniel Espino García
9f84ab79ce
Only call app entry on websocket reconnect ( #7065 )
...
* Only call app entry on websocket reconnect
* Handle notification on its own entry and run app entry on websocket initialization
* Fix notification entry issues
* Fix login entry and add retry on entry failure
* feedback review
* Put back handleEntryAfterLoadNavigation before the batching
---------
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2023-02-23 10:11:34 +01:00
Daniel Espino García
980c31f40f
Remove watermelondb limitation on updating an already updated model ( #7067 )
...
* Remove watermelondb limitation on updating an already updated model
* Add logic to handle different prepare states and improve logging
* fix tests
---------
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2023-02-03 17:11:57 +02:00
Elias Nahum
c1fbaffd3e
Support for Android Tablets & Foldable ( #7025 )
...
* Add Support for Android tablets & foldables
* add tablet and book posture
* Regenerate disposed observable on WindowInfoTracker
2023-01-26 20:31:18 +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
Daniel Espino García
b191154db9
Clean todos ( #6897 )
...
* Clean todos
* Remove DatabaseHelper folder
2023-01-12 14:25:39 +01:00
Elias Nahum
bb351c7376
Fix some issues found by Sentry ( #6962 )
2023-01-12 11:01:59 +02:00
Daniel Espino García
6082a6a790
Fix connection banner showing when not needed ( #6948 )
...
* Fix connection banner showing when not needed
* Fix some issues and some refactoring
2023-01-11 21:37:09 +02:00
Elias Nahum
252dc1e3c8
check for analytics enabled
2023-01-09 11:13:11 +02:00
Daniel Espino García
25291b04f1
Fix server unreachable message showing too often ( #6890 )
2022-12-20 22:35:12 +02:00
Elias Nahum
e294b07418
Add DeepLink support ( #6869 )
2022-12-16 18:57:15 +02:00
Elias Nahum
b28e21a272
standardize user-agent ( #6866 )
2022-12-15 14:15:16 +02:00
Daniel Espino García
4482bd481e
Fix foldable devices by not allowing tablet mode on android ( #6856 )
2022-12-09 22:29:34 +04:00
Daniel Espino García
88835ce142
Add connection banner ( #6798 )
...
* Add connection banner
* Switch icon depending on whether it is connected or not
* Clean timeout and change text
* Handle optimistic approach
* Piggyback server item fix
* Use toMilliseconds util function
* Set the websocket as disconnected when we are manually closing it
* Do not hide banner when app state changes
Co-authored-by: Daniel Espino <danielespino@MacBook-Pro-de-Daniel.local>
2022-12-02 15:31:21 +01: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
Michael Kochell
c1f480de31
App framework - Post menu and channel info bindings, App forms ( #6735 )
2022-11-30 21:25:08 +02:00
Pablo Velez Vidal
f6d4fe2e75
PR feedback refactor
2022-11-29 13:21:44 +01:00
Pablo Velez Vidal
688537ff9c
Merge branch 'main' into MM-35065-add-onboarding-screens
2022-11-25 17:47:39 +01:00
Pablo Velez Vidal
32e2247b46
show onboarding again only on all servers removal
2022-11-25 11:17:22 +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
Elias Nahum
2a6bb1ddc1
[Gekidou] Show alert message when server is unsupported ( #6764 )
...
* Show alert message when server is unsupported
* set server min required version to 5.26.2
2022-11-18 12:18:11 +02:00
Pablo Velez Vidal
bdbbd2cb36
pr feedback: rename svg; remove unnecessary go to login screen logic; refactor save/getOnboardingViewed value function
2022-11-16 15:01:06 +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
9c1fd176f9
redirect to onboarding after deleting server; fix styles for server screen in IOS
2022-11-15 14:37:09 +01:00
Daniel Espino García
1aa4188f8e
Move config to its own database table ( #6744 )
...
* Move config to its own database table
* Address feedback
* Fix test
* Revert minimum version related changes
2022-11-11 21:20:42 +04:00
Elias Nahum
57ae3bbc7b
fix pods
2022-11-09 00:36:57 +02:00