1

I'd like to know if it was possible, using only a HTML page (Javascript allowed), to send a SMS to a number. I know it's possible to get the GPS position after having asked the user if he allowed the page to access this data, I imagine there is a "Do you allow this page to send SMS?" message I could display. Of course, I don't want the SMS window to display or to use a third party API, I'd like my app to work without internet. Thanks in advance :)

1 Answer 1

1

This is not possible, at least in Google Chrome. You can verify this by looking in your device settings and confirming that Google Chrome does not request SMS permissions - thus, there is no way that it could send an SMS message without opening the SMS app for the user to send it themself.

Sign up to request clarification or add additional context in comments.

1 Comment

I use Firefox, but you're right, when I check the authorizations of all the browsers, none of them allow to send SMS. That's a shame, but I can easily understand why. Thank you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.