Problem sending SMS or email with sample form

Using Android 7.0 on Samsung Galaxy S8.
SMS Application is "Messages 4.2.03.12"
Email Application is "Gmail 8.4.8.194949231"
I don't get any message when it crashes.

i used:
ex:android.intent.action.SENDTO(uri_data='smsto:5555555', sms_body=${message})
from https://docs.opendatakit.org/launch-apps-from-collect/

i was concating 'smsto:5555555', storing it in a variable and equating that to uri_date. That was causing the crash, then i copied the example from the sample form where the "uri_data" and "sms_body" are flipped e.g:

ex:android.intent.action.SENDTO(sms_body=${message}, uri_data=${send_to})

That worked as expected.

So the example in the documentation needs to be fixed.

1 Like