HomePhabricator
Diffusion Comm c07b9f31f489

[native] Add error handling to KeyserverSelection

Description

[native] Add error handling to KeyserverSelection

Summary:
I want to display an error to the user if we aren't able to reach the keyserver that they've selected.

Depends on D8197

Test Plan:
First, I overrode defaultURLPrefix in native/utils/url-utils.js to return some random string. That made sure that the "default" of Ashoat's keyserver does not work, and makes it so the registration flow only worked if the user selected a custom keyserver and all of the server calls in the registration flow used that custom keyserver.

Next, I played around with the screen:

Reviewers: atul, ginsu

Reviewed By: ginsu

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D8198

Details

Provenance
ashoatAuthored on Jun 13 2023, 9:46 AM
Reviewer
ginsu
Differential Revision
D8198: [native] Add error handling to KeyserverSelection
Parents
rCOMMf1b74a2258e9: [native] Set urlPrefix in Redux following successful registration
Branches
Unknown
Tags
Unknown