cht-core icon indicating copy to clipboard operation
cht-core copied to clipboard

When I have no SIM and click `tel://` link I get "ERR_UNKOWN_URL_SCHEME" and can not go back

Open mrjones-plip opened this issue 1 year ago • 0 comments

Describe the bug When I have no SIM and click tel:// link I get "ERR_UNKOWN_URL_SCHEME" and can not go back.

To Reproduce

  1. have a phone with no SIM, just WiFo
  2. click "CALL" button in the CHT

Expected behavior Some sort of error/warning that says "no phone available" and a "Cancel" button to take you back to where you came from

Logs NA

Screenshots

image

image

image

https://github.com/medic/cht-core/assets/8253488/39f18ad3-9e24-46cf-b5db-eb92c80f37ba

Environment

  • Instance: car-teams-4x.dev.medicmobile.org
  • Browser: CHT Android 1.0.1 unbranded
  • Client platform: android 5.1
  • App: CHT Android
  • Version: 4.5.0-track-granular-performance.7840926386

Additional context I have to quit the app and relaunch to get back into CHT. See end of video above.

mrjones-plip avatar Feb 15 '24 06:02 mrjones-plip