briankabiro / react-native-get-sms-android

React Native module to get messages on an Android device
MIT License
135 stars 68 forks source link

Neither user {some id} nor current process has android.permission.READ_PHONE_STATE #79

Open nitish173 opened 3 years ago

nitish173 commented 3 years ago

When trying to use autoSend method, we see failure with this message Neither user {some id} nor current process has android.permission.READ_PHONE_STATE as failure message. This is not listed as one of the permission required, not sure why should this fail in that case?

mdipanjan commented 3 years ago

I'm also getting this same error while doing this from an actual device. (added READ_PHONE_STATE access in the Manifest file also) Failed with this error: Neither user 10192 nor current process has android.permission.READ_PHONE_STATE.

And when doing from an emulator it's showing message sent successfully but haven't received anything.

@briankabiro can you please suggest how to tackle this.

nitish173 commented 3 years ago

@mdipanjan , look like this is an open issue here: https://issuetracker.google.com/issues/66979952, unfortunately, this is tagged as wontfix.