Skip to content

Can't send SMS (no android.permission.READ_PHONE_STATE) #387

@gatosyperros

Description

@gatosyperros

Problem description
I can't seem to send sms, the API does show the inbox, list calls, and call, but the sms never seem to work.
It's clear that it's a permission issue according to the logcat:
"Neither user 10224 nor current process has android.permission.READ_PHONE_STATE"
But I'm also getting:
com.termux.api.util.-$$Lambda$ResultReturner$oCU8JqHW5HLMrNZa40ThjAWcwzo.run(Unknown Source:8)
I've recently downloaded fdroid, installed termux from fdroid, and got the api from fdroid...
Am I doing something wrong? do I need root?

I've included a screenshot of log cat output right after I do termux-sms-send -n number "testing":
Screenshot_20201129_211429

Additional info
here are the permissions
Screenshot_20201129-211715

Steps to reproduce
termux-sms-send -n [a number that I have access to] "testing"

Expected behavior
send the sms and receive "testing"

Additional information
Termux api:0.45
Termux application version:0.103
Android OS version:8.0.0
Device model:CAT S41

I found out just recently that you added back sms support after having used an outdated version that only gave me "sms read" support, but alas I can not send sms :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions