Elias Nahum
9a83813c23
Fix build on Xcode 16.3 ( #8760 )
2025-04-10 09:09:03 +08:00
Daniel Espino García
a1ccdcb0da
Add ios native logs ( #8555 )
...
* Add ios native logs
* Use correct version
* Revert unneeded changes in package-lock
2025-02-24 11:50:39 +01:00
Elias Nahum
2f3dfbbbfa
Update dependencies and upgrade to RN 0.76.5 ( #8421 )
...
* 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>
2025-01-16 07:11:32 -07: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
Elias Nahum
9c69ab05dc
disable Flipper on iOS ( #7855 )
...
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-05-06 18:05:31 +08: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
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
Elias Nahum
551f3cf596
Set iOS minimum OS version requirement to 12.4 ( #7588 )
2023-10-06 15:50:05 +03:00
Elias Nahum
672e0ee225
update libwebp ( #7562 )
2023-09-28 16:44:31 +03: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
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
Elias Nahum
2e0cdebfd0
Add M1/2 support for npm scripts ( #7263 )
2023-04-03 13:00:51 -04:00
Elias Nahum
a804a7331f
support WS connection over TLS1.3 ( #7182 )
...
* support WS connection over TLS1.3
* fix updateDraftMessage on unmount
2023-03-03 11:33:01 +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
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
Elias Nahum
cae9dc21d2
[Gekidou] Upgrade to RN 0.70 ( #6690 )
...
* Upgrade to RN 0.70
* fix assembleAndroidTest
2022-10-20 10:18:25 -03:00
Elias Nahum
d20245f63f
Update to xcode 14 ( #6650 )
2022-09-21 11:56:16 -04:00
Elias Nahum
dcc05956b6
Gekidou upgrade RN to 0.69.3 and dependencies ( #6537 )
...
* module dependencies
* update fastlane
* upgrade types dependencies
* update dev deps
* update react-native-notifications
* update react-native-keychain
* update sentry
* update detox
* Upgrade to RN 69.3
* increase MaxMetaspaceSize gradle opts
* feedback review
2022-08-08 09:06:20 -04:00
Christopher Poile
5bb240dec8
MM-43300: Calls v2 first cut ( #6475 )
...
* Android and iOS requirements
* external types
* babel config for calls, package.json for calls dependencies
* state in rxJS; tests
* actions, client/rest, websocket events, constants
* webrtc connection logic
* calls components / screens
* handle peer destroyed gracefully
* PR comments
* remove ViewPropTypes from mocks; no need to ignore error in LogBox
* calls.d.ts -> calls.ts; i18-extract
* @app/products/calls -> @calls
* PR comments; test cleanup
* Revert "remove ViewPropTypes from mocks; no need to ignore error in LogBox"
This reverts commit f9bd171a544de9c02da8387455f904b3840fc5dc.
* working on typing withServerUrl
* added exportedForInternalUse instead of commenting "internal export"
* better switchToThread in call_screen
* i18n
* typed withServerUrl
2022-07-22 15:57:12 -04:00
Elias Nahum
d1c9c98900
Fix WS connection for cloud servers
2022-05-24 17:39:12 -04:00
Elias Nahum
08d80e6236
Replace lottie loading spinner for activity indicator ( #6266 )
2022-05-12 12:54:43 -04:00
Elias Nahum
10f7f008e4
Remove react-native-youtube and allow the link to be handled natively ( #6239 )
2022-05-06 14:28:33 -04:00
Elias Nahum
b530dbeb09
[Gekidou] upgrade to RN 68 (old arch) ( #6138 )
...
* upgrade to RN 68 (old arch)
* remove test setup unused & commented mock
* Android target set to 30
* Fix theme when opening app from push notification
* upgrade common mark
2022-04-08 12:40:44 -04:00
Elias Nahum
73d23ea515
[Gekidou] ci updates ( #6123 )
...
* use Flipper 0.125.0
* update fastlane
* update ci images & use node 16.14.2
* remove npm-install argument
* Remove DFB_SONARKIT_ENABLED flag in iOS Release mode
2022-04-04 18:37:56 -04:00
Elias Nahum
2621d921d6
[Gekidou] Performance & UI fixes ( #6122 )
...
* Fix search bar style
* MM-42983 Align mention badge on channel list item
* MM-42985 polish channel intro UI
* MM-42984 update fonts on 'Show' bottom sheet
* MM-42982 Increase tap area of back button on channel view
* Set StatusBar style based on theme sidebarBg
* Reconnect other WS after 20 seconds insted of 5
* Only fetch missing profiles for DM/GMs
* Database prepare records optimization
* Do not use fallbackUsername for storing GM/DM in the database
* fix filter for fetching missing dm/gm
* remove use of indexOf inside another loop
* remove use of includes inside another loop
* remove use of find inside another loop
* Add missing translations
* disable Flipper on iOS
* Remove Flipper code from AppDelegate
* feedback review
* trim DM display name to make sure is not empty
* fixing missing direct channels display name
* UI/UX feedback
* fix WS channel viewed and mark as unread
* Remove duplicate emojis from reaction bar
2022-04-04 17:09:26 -04:00
Daniel Espino García
d1322e84ce
[Gekidou] Add performance and code improvements around post_list ( #6113 )
...
* Add performance and code improvements around post_list
* Fix test
* Move observers from utils to queries
* remove Flipper on iOS to fix CI build
* Fix observePermissionForChannel for DM/GM
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-04-04 08:14:55 -04:00
Elias Nahum
8901afb0d8
Enable Flipper on iOS
2022-03-26 20:36:21 -03:00
Elias Nahum
eaf4f3166e
[Gekidou] update dependencies ( #6019 )
...
* Dependency updates
* npm audit fixes
2022-03-01 18:52:01 -03:00
Elias Nahum
5de54471b7
[Gekidou] Gallery ( #6008 )
...
* Gallery screen (ground work)
* Open the gallery from posts
* Open the gallery from post draft
* feedback review
* Feedback review 2
* do not remove dm channel names and localization fix
* update to the latest network-client
* do not override file width, height and imageThumbail if received file does not have it set
* bring back ScrollView wrapper for message component
* Remove Text wrapper for markdown paragraph
* Fix YouTube play icon placeholder
* Make video file play button container round
* Add gif image placeholder
* Save images & videos to camera roll
* Feedback review 3
* load video thumbnail when post is in viewport
* simplify prefix
2022-03-01 13:55:44 -03:00
Jason Frerich
520a28962b
[Gekidou] MM-39736 Login Flow ( #5799 )
2021-11-18 22:07:41 +01:00
Elias Nahum
880cfbb7ac
Upgrade unimodules with expo to use expo-file-system
2021-11-06 18:08:22 -03:00
Elias Nahum
f19c3b3b6c
Enable Hermes on iOS ( #5800 )
2021-11-03 11:14:00 -03:00
Daniel Espino García
d1e0c99c3d
Gekidou websockets ( #5671 )
...
* Adapt websocket client
* Add Websocket Manager
* Address feedback
* Start websockets on init and login, and invalidate on logout
* Add temporal logging and bug fixing
* Working WS
* Add reconnect actions and periodic updates
* Address feedback
* Add missing change
* Several improvements on websocket reconnect and channel handling
* fix gekidou package-lock.json
* update Podfile.lock
* Address feedback
* Address feedback
* Address feedback
* Fix update channel delete at
* Catch errors on batchRecords
* Update app/queries/servers/channel.ts
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-10-19 19:16:10 +02:00
Elias Nahum
a31a361fca
[Gekidou] Upgrade to RN 0.66.0 ( #5711 )
...
* Upgrade to RN 0.66.0
* Fix Remove existing credentials on first run
* Fix TS for unusued expect-error
2021-10-03 14:19:16 -03:00
Elias Nahum
4e0688aef5
[Gekidou] update dependencies ( #5691 )
2021-09-23 14:44:50 -03:00
Elias Nahum
5700ce7c86
[Gekidou] post component tree and partial postList ( #5637 )
2021-09-06 08:22:55 -03:00
Elias Nahum
8d2bd32897
[Gekidou] Update dependencies ( #5581 )
...
* Update detox deps
* Push notifications (android & launcher)
* Update dependencies
2021-08-01 21:09:19 -04:00
Miguel Alatzar
134c4a49c5
Integrate react-native-network-client ( #5499 )
...
* fix: handle NSMutableData
* feat: integrate react-native-network-client
* fix: typos
* fix: semicolon
* fix: rename to urlVersion
* fix: add returnDataOnly arg
* fix: configure network client
* fix: headers
* fix: handling of serverVersion
* fix: rename requests to actions
* fix: action imports
* fix: no need to stringify body
* fix: sso flow
* fix: address PR feedback
* fix: invalidate client on logout
* fix: address PR feedback take 2
* fix: address PR feedback take 3
* fix: tsc issues
* fix: get csrf token during client creation
* fix: linter
* fix: invalidate client onLogout
* fix: event emitter
* fix: unit tests
* fix: apply linter fixes
* fix lint
* Modify actions to add / update database values
* Rename clien4.d.ts to client.d.ts
* fix empty & missing translations
* cleanup api client
* Cleanup init & squash some TODO's
* Emit certificate errors in NetworkManager
* cleanup user actions
* Fix NetworkManager invalidate client
* Invalidate client when server screen appears
* Update kotlin to 1.4.30 required by network-client
* patch react-native-keychain to remove cached credential
* update react-native-network-client
* Use app.db instead of default.db in native code
* fix use of rnnc on Android
* Init PushNotifications
* No need to reset serverVersion on logout
* fix logout action
* fix deleteServerDatabase
* fix schedule expired session notification
* use safeParseJSON for db json fields
* unsubscribe when database component unmounts
* cleanup init
* session type
* pass launchprops to entire login flow
* Properly remove third party cookies after SSO login
* recreate network client if sso with redirect fails
* add missing launch props from server screen
* use query prefix for database queries
* Add temporary logout function to channel screen
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-07-06 11:16:35 -04:00
Elias Nahum
9a4a93a1a5
Update v2 dependencies ( #5312 )
2021-04-14 10:55:29 -04:00
Elias Nahum
22e82dfc2a
Barebones code for v2
2020-11-17 14:20:58 -03:00