onnela-lab / beiwe-android

Beiwe is a smartphone-based digital phenotyping research platform. This is the Beiwe Android app code. The Beiwe2 app is also available on the Google Play store to use with open source builds of the Beiwe backend.
https://www.beiwe.org/
BSD 3-Clause "New" or "Revised" License
26 stars 16 forks source link

Ability for phone extensions in call button #60

Open amgeronimo opened 2 years ago

amgeronimo commented 2 years ago

I would like to add the ability to include an extension on the research assistant's phone number. Not sure about compatibility across cellphones, but with my android, i can enter a 10 digit number, comma, and 6 digit extension, and it will autodial the extension after a short pause.

example entry in phone # prompt: XXXXXXXXXX,YYYYYY

Is it possible for this to be integrated into the Android (and iOS!) apps?

biblicabeebli commented 2 years ago

That format is technically a standard, so it should be fine if such a feature is added on either app. Field input may be weird due to the need for a comma as a typeable character, so it would probably need to be a separate, optional text field.

(I might shift this to the backend repo as this covers both apps.)