Conversation
|
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
jmartinesp
left a comment
There was a problem hiding this comment.
LGTM. Following the flow is a bit difficult, but that's just how the Messenger pattern works.
| } | ||
| } | ||
|
|
||
| private val elementClassicConnectionStateFlow = MutableStateFlow<ElementClassicConnectionState>(ElementClassicConnectionState.Idle) |
There was a problem hiding this comment.
Nit: just stateFlow is good enough? This is a bit verbose 😅 . Up to you, though.
|
| * Handler of incoming messages from service. | ||
| */ | ||
| @Suppress("DEPRECATION") | ||
| inner class IncomingHandler : Handler() { |
There was a problem hiding this comment.
⚠️ ThisHandlerclass should be static or leaks might occur (io.element.android.features.login.impl.screens.onboarding.classic.DefaultElementClassicConnection.IncomingHandler)
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #6013 +/- ##
===========================================
- Coverage 81.38% 81.28% -0.11%
===========================================
Files 2550 2556 +6
Lines 68272 68456 +184
Branches 8759 8783 +24
===========================================
+ Hits 55564 55644 +80
- Misses 9455 9557 +102
- Partials 3253 3255 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|



Content
In order to let the user be able to migrate from Element Classic to Element X, we want Element X to propose the user to sign in using the existing session in Element Classic.
This PR does not contain the whole flow, but is introducing a way to let both application communicate together. We want to ensure that production application downloaded from the PlayStore are able to communicate together.
The UI is a temporary implementation, that's why no new strings have been added to Localazy yet.
Motivation and context
Part of element-hq/element-meta#3073
Screenshots / GIFs
Tests
Tested devices
Checklist