Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Re-fetching of devices certificates on comming back from DeviceDetails [WPB-6970] #3103

Conversation

borichellow
Copy link
Contributor

@borichellow borichellow commented Jun 17, 2024

BugWPB-6970 [Android] Verified device still shows red shield on devices list

What's new in this PR?

Issues

When user generate the E2EI certificate in DeviceDetails screen and go back to SelfDevices screen, then current device is still displayed as not-verified.

Causes (Optional)

DevicesCertificates list is not observable, but can be just get (CC doesn't provide any option to observe it).

Solutions

Observe LifecycleEvent of SelfDevicesScreen (added rememberLifecycleEvent() which can be used in LaunchedEffect) and refresh E2EI Certificates on every Resume

Copy link
Contributor

github-actions bot commented Jun 17, 2024

Test Results

825 tests   825 ✅  9m 10s ⏱️
110 suites    0 💤
110 files      0 ❌

Results for commit cce7f98.

♻️ This comment has been updated with latest results.

@AndroidBob
Copy link
Collaborator

Build 5315 failed.

@AndroidBob
Copy link
Collaborator

Build 5316 failed.

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

@borichellow borichellow merged commit ab3cabe into release/cycle-4.6 Jun 18, 2024
12 checks passed
@borichellow borichellow deleted the fix/re-fetching-of-devices-certificates-on-comming-back-from-device-details branch June 18, 2024 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants