TheoForger
ece82d75ca
[MM-60236] Remove ephemeral posts on refresh/during initial load ( #8260 )
...
* fix: remove ephemeral posts on refresh
* fix: remove ephemeral posts during app launch
* fix: remove code to await the cleanup
* use built in constant instead of string `system_ephemeral`
* remove sort from `queryPostsByType()`
* switch back to the `await` approach in `cleanupEphemeralPosts`
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-11-01 09:28:06 -06:00
Elias Nahum
1beb9a99c2
Add logs when notification device tokens is registered or fails to do so ( #8282 )
2024-10-29 08:18:51 +08:00
Elias Nahum
4048b70713
fix cannot read data when opening a deeplink ( #8109 )
2024-07-27 03:37:57 +08:00
Christopher Poile
92bdb2847b
[MM-57486] [MM-58008] Calls: Mobile ringing for incoming calls ( #7984 )
...
* notification ringing, settings screen, native code patch, ringing mp3s
* i18n
* play preview on first press
* prevent playing from background (only affects Android) to match iOS beh
* stop ringing/vibration on entering background
* ring when coming back from background and new incoming call is present
* no push notification sound when it's a call; improve ringing
* move sounds to asset folder; copy on postinstall for android bundling
* make Ringtone type a string enum
* make Android ring async + await ring and stop; changes from PR comments
* missing fields after merge
* release lock on an exception
* cancel sample ringing when turning notifications off
* copy sound files for android build
* typo
* update snapshots
* testing if the problem is copying the mp3 files
* fix android mp3 assets when building for non-release
* add sounds to .gitignore
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2024-07-03 10:22:46 -04: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
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
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
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
Christopher Poile
6fb5d85798
MM-55036 - Calls: Fix: Receiving in-app notifications for calls notifications while active ( #7623 )
...
* when active, do not show overlay if this is a calls-started notification
* add calls notification type; keep message test for backwards compat
* process calls notifications properly
* revert NOTIFICATION_TYPE.CALLS; use sub_type for backwards compatibility
* add ticket and comment for future refactoring of isCallsStartedMessage
2023-11-16 09:28:29 -05:00
Elias Nahum
df52740752
Add alert when deeplink is invalid ( #7538 )
2023-09-12 07:26:05 -03:00
Harshal sanghvi
b94eb1d4d8
added Remember last viewed channel or thread on cold start feature ( #7434 )
...
* added last viewed feature
* added constants
* storing data in global table and added server col
* fixed stack screen"
* fixed values for crt
* fixed threadid store logic
2023-07-21 10:09:26 +02:00
Daniel Espino García
0a3f5e5914
Fix problems related to closing react but keeping other state ( #7405 )
2023-06-28 12:49:58 +02:00
Daniel Espino García
0bfa4e429c
Fix MarkThreadAsRead on notifications ( #7417 )
2023-06-20 16:24:03 +02:00
Daniel Espino García
0a89ac7cf3
Fix minor error on marking threads as read ( #7355 )
2023-05-23 17:40:07 +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
Elias Nahum
05469207d7
Fix iOS Push notification crashes ( #7237 )
2023-03-30 09:26:56 -03:00
Elias Nahum
3c046ae39c
Fix push notification token registration race/missing ( #7183 )
2023-03-03 12:14:08 +02: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
Elias Nahum
265b8b2193
Request permissions for Android push notifications and refactor code to use network client ( #7059 )
2023-01-31 21:33:35 +02:00
Elias Nahum
4aaf08b12a
Remove mock locations from jailbrake detection ( #7005 )
2023-01-24 10:42:52 +04:00
Daniel Espino García
b191154db9
Clean todos ( #6897 )
...
* Clean todos
* Remove DatabaseHelper folder
2023-01-12 14:25:39 +01:00
Elias Nahum
4199b13843
Bump build number to 450 ( #6950 )
...
* Fix upgrade path
* Introduce Upgrade helper
* Reset server database schema version to 1
* Enable release builds on the CI
* Bump build number to 450
2023-01-11 21:40:49 +02:00
Elias Nahum
c2aaef2e14
Preserve new message line on WS reconnect ( #6934 )
2023-01-06 13:38:40 +04:00
Elias Nahum
0c4e554534
Use Promise.allSettle when fetching emojis ( #6921 )
2023-01-03 23:45:50 +02:00
Avinash Lingaloo
92ca1e3704
Sentry fixes ( #6830 )
2022-12-21 19:34:44 +02:00
Elias Nahum
e294b07418
Add DeepLink support ( #6869 )
2022-12-16 18:57:15 +02:00
Elias Nahum
d676568c61
Refactor NavigationStore ( #6842 )
2022-12-07 16:44:21 +02:00
Elias Nahum
da5b877297
Refactor how keyboard tracking is resumed & paused ( #6822 )
...
* Refactor how keyboard tracking is resumed & paused
* Rector as a hook
2022-12-05 12:02:15 +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
Pablo Velez Vidal
688537ff9c
Merge branch 'main' into MM-35065-add-onboarding-screens
2022-11-25 17:47:39 +01:00
Pablo Velez Vidal
812bb61e3b
fix blank screen animation
2022-11-25 16:00:40 +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
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
27557b171e
remove unnecessary code
2022-11-15 16:15: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
Pablo Velez Vidal
f1f43880a7
Add logic to guard behind the showOnboarding config value the Onboarding feature
2022-11-15 13:50:19 +01:00
Pablo Velez Vidal
b398c90f89
simplyfy signatures
2022-11-15 13:33:27 +01:00
Pablo Velez Vidal
375d64c35e
Add logic to don't show the onboarding once it has been shown once
2022-11-15 00:11:24 +01:00
Pablo Velez Vidal
ca053ed9c4
more advances on initial launch
2022-11-12 17:06:07 +01:00
Pablo Velez Vidal
5b09f03ac1
make the redirect to login work
2022-11-11 22:30:36 +01:00
Pablo Velez Vidal
46b66a5baf
initial logic for showing/not showing the onboarding
2022-11-10 15:27:35 +01:00
Pablo Velez Vidal
d11662508e
make scroll to easing and depending on how many items to move, fix SVG
2022-11-09 13:03:31 +01:00
Elias Nahum
ae0eb43793
[Gekidou] EMM fixes ( #6730 )
2022-11-08 22:49:39 +02:00
Pablo Velez Vidal
b7e8c3b739
MM-35065 - add addonboarding screens; first steps
2022-11-07 18:44:10 +01:00
Anurag Shivarathri
04c3533b95
[Gekidou MM-47224] Don’t show in app notifications for the active thread ( #6704 )
...
* Conditions fix
* Comments fix
2022-10-28 10:04:58 -03:00
Elias Nahum
e1c74124e2
Fix switch to channel when notification is dismissed ( #6675 )
2022-10-11 10:36:45 -03:00
Elias Nahum
4c389a49fa
Gekidou session expired notification ( #6639 )
...
* Fix crash on Android when session expired notification is presented
* react-native-notification patch for schedule fix on android and open local notification on iOS
* Fix android scheduled session notification crash
* patch react-native-navigation to support blur/focus AppState on Android
* remove schedule session expired notification from login entry point
* schedule session expired notification actions
* add session manager
* Handle open session expired notification
2022-09-18 06:57:55 -04:00
Anurag Shivarathri
1fd475aaf1
fix ( #6623 )
2022-09-06 19:59:06 -03:00