We plan to decouple running the keyserver, webapp, and landing for the purposes of running them on AWS
This adds a configuration option RunServerConfig which can be used to specify which of the three will be run
Depends on D12808
Differential D12810
[keyserver] run webapp, landing, and keyserver conditionally will on Jul 19 2024, 3:07 PM. Authored by Tags None Referenced Files
Subscribers
Details We plan to decouple running the keyserver, webapp, and landing for the purposes of running them on AWS This adds a configuration option RunServerConfig which can be used to specify which of the three will be run Depends on D12808 flow check. Will test more thoroughly by running them on aws in isolated containers and connect them
Diff Detail
|
We definitely should return something from this lambda since otherwise it is useless to assign it to variable.
If we find that we don't have permissions then just calling await this.requestAndroidNotificationsPermission(); would result in a prompt asking for notifications permissions. However if the user grants those permissions then hasPermissions is still falsy (since promise returned nothing), so deviceToken will be set to null. Nevertheless permissions are actually granted byt the OS, so the state on the device and keyserver would heal itself on next render.
This differential fixes this case so that if user grants permissions correct state is achieved immediately without need for additional re-render to heal the state.