Commit Graph

91 Commits

Author SHA1 Message Date
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
Elias Nahum
0d7cc9fa75 Patch RNNotification Android (#6615) 2022-09-02 10:45:23 -04:00
Elias Nahum
c2f5092678 [Gekidou] refactor clean notifications (#6566) 2022-08-19 16:29:15 -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
Jason Frerich
28a52d327f correct spelling for log messages (#6551) 2022-08-08 10:59:36 +02:00
Daniel Espino García
f4e6917185 Ensure no unresolved types in the definition files (#6521)
* Ensure no unresolved types in the definition files

* Address feedback and general cleanup

* Move import from @constants/x to @constants where relevant

* Remove unneeded "import as"
2022-08-05 14:36:19 +02:00
Anurag Shivarathri
690dd1e66e [Gekidou MM-42242 MM-46043] Paginating Threads (#6535)
* Pagination and bug

* Feedback and version update

* Making the args optional

* Code refactor
2022-08-04 17:19:55 +05:30
Anurag Shivarathri
102789bbd9 [Gekidou MM-40089 MM-39318] CRT New Messages Line (#6489)
* New Messages Line + More Messages

* Misc

* Update app/actions/local/thread.ts

Co-authored-by: Avinash Lingaloo <avinashlng1080@gmail.com>

Co-authored-by: Avinash Lingaloo <avinashlng1080@gmail.com>
2022-07-22 17:28:14 +05:30
Anurag Shivarathri
306fbba3a7 [Gekidou MM-44135 MM-44134 MM-40088] Group & Clear channel and thread notifications when CRT is on (#6429)
* Android

* iOS changes

* client changes

* Misc

* Update CustomPushNotification.java

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-06-30 21:26:14 +05:30
Daniel Espino García
d2e2cf3ec1 Substitute all console.x by an appropiate log util function (#6427)
* Substitute all console.x by an appropiate log util function

* Address feedback
2022-06-24 10:26:40 -04:00
Elias Nahum
8795ca85b5 [Gekidou] cleanup fixes (#6376)
* Separate NavigationStore from EphemeralStore

* Prevent WS to mark channel as read while switching to the channel

* Fix mark channel as unread
2022-06-13 08:07:24 -04:00
Elias Nahum
0b4980cf65 [Gekidou] multiple fixes (#6335)
* Fix navigation stack tracking

* Fix hardwareBackPress handlers

* Use user locale for formattedTime

* Show in-app notifications when in a thread but hide when in the same thread

* Fix post draft archived & read only safe area

* Do not show reply post option in thread screen

* Open permalink as full screen modal

* Fix crash when using chinese locale

* Fix team list and call handle team change
2022-06-03 07:18:29 -04:00
Elias Nahum
353e5ceb0a [Gekidou] Skip push notification processing for CRT (#6289)
* Skip push notification processing for CRT

* Fix pushNotificationEntry
2022-05-19 13:03:14 -04:00
Daniel Espino García
75d1c9d228 Try to remove as many as as possible (#6200)
* Try to remove as many ` as ` as possible

* Fix imports
2022-05-12 15:46:11 +02:00
Elias Nahum
3aa0425fdd Preserve notifications when tapping or clearing notifications from a channel (#6209) 2022-05-04 09:12:37 -04:00
Daniel Espino García
02b4295464 [Gekidou] [MM-39936] Add Select Team Screen (#6180)
* Add Select Team Screen

* Fixes for iPhone and iPad

* Fix tests

* Address feedback

* Fix tests

* Theme illustration

* Address feedback and fixes

* Remove database warnings by avoiding recalculations on repeated events.

* Address feedback

* Remove unneeded catch

Co-authored-by: Daniel Espino <danielespino@MacBook-Pro-de-Daniel.local>
2022-05-03 17:22:21 +02:00
Elias Nahum
a2fac160ef set badge count on cancel notifications (#6189) 2022-04-28 11:20:16 -04:00
Elias Nahum
6e2782ae1e Use device locale to display the untrusted device alert (#6194) 2022-04-26 07:46:21 -04:00
Daniel Espino García
14d6d53cc9 [Gekidou] Move managers (#6171)
* Move managers to their own folder

* Fix lint

* Fix unit tests

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-04-16 09:44:11 -04:00