question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Medical Emergency Service Hotline 116 117 not linked as phone in Request TAN

See original GitHub issue

Avoid duplicates

  • Bug is not mentioned in the FAQ
  • Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
  • Bug is not already reported in another issue

Technical details

  • Device name: Samsung Galaxy A5 (2017) SM-A520F
  • Android version: 8.0.0
  • App version: 1.11.0 (also checked with branch release/1.12.x)

Describe the bug

In the Request TAN view the telephone number 116 117 is not linked as a phone number. For comparison, the same phone number is linked in the view shown via App Information > Technical hotline.

Steps to reproduce the issue

Note: autoLink used in CWA version 1.11.0 is dependent on the device’s locale setting. The following steps are with the device’s language set to English (United Kingdom). If the device’s language is set to English (United States) the telephone number 116 117 is not linked in the Technical Hotline view nor in the Request TAN view.

  1. Under “Have you been tested?” tap “NEXT STEPS”
  2. Scroll down to “No TAN yet?” and tap
  3. Scroll down to the paragraph “If you have any health-related questions, please contact your general practitioner or the medical emergency service hotline, telephone: 116 117.”
  4. Tap on the phone number 116 117 and note that nothing happens.

Request TAN


Compare to the link to phone number 116 117 shown on the Technical hotline view

Technical hotline

Expected behaviour

After opening the view Request TAN through “Have you been tested?” > “NEXT STEPS” > “No TAN yet?” the phone number 116 117 should be underlined and tapping on it should bring up the Phone app.

The Request TAN view should show the phone number 116 117 the same way that the Technical Hotline view (accessed through three-dot overview menu > App Information > Technical hotline) shows it.

Possible Fix

Add the following attributes to TextView +id/submission_contact_body_other in layout\include_submission_contact.xml

so that the TextView is aligned with TextView @+id/information_contact_body_other in layout\fragment_information_contact.xml

android:autoLink="phone"
android:textColorLink="@color/colorTextTint"

I will submit a PR for this. PR https://github.com/corona-warn-app/cwa-app-android/pull/2292

Additional context

This came to light due to examining phone number autoLinking under https://github.com/corona-warn-app/cwa-app-android/issues/2275


Internal tracking ID: EXPOSUREAPP-5007 This issue will be solved with EXPOSUREAPP-4992.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
dsarkarcommented, Mar 7, 2021

@MikeMcC399 Thank you.

1reaction
MikeMcC399commented, Feb 8, 2021

PR #2286 (EXPOSUREAPP-4992) is now in the 1.13.0 Milestone.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Medical Helpline 116 117 - Ministry of Social Affairs and Health
Please call Medical Helpline on number 116 117 before you go to an emergency clinic. In an emergency, call the emergency number 112...
Read more >
How do I get an appointment with my doctor? | TK
Simply call 040 - 46 06 61 92 20 (Monday to Friday from 7:00 a.m. to 10:00 p.m.). The TK-AppointmentService is free of...
Read more >
Medical Helpline 116117 - HUS
Call the Medical Helpline's toll-free number 116117 before seeking medical attention from the HUS emergency clinics. We will guide you to the appropriate ......
Read more >
Federal Register/Vol. 86, No. 116/Monday, June 21, 2021 ...
For technical inquiries: Contact. Andrew Levinson, Directorate of. Standards and Guidance, U.S.. Department of Labor; telephone (202). 693–1950.
Read more >
AMERICAN RESCUE PLAN ACT OF 2021 - Congress.gov
Funding for grants for health care providers to promote mental health ... Consolidated Appropriations Act, 2021 (Public Law 116–260) is.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found