capcom6/android-sms-gateway

error android.permission.MANAGE_SUBSCRIPTION_USER_ASSOCIATION

hasanbasri1993 opened this issue · 4 comments

"error": "Sending: getSubscriptionUserHandle. Does not have any of the following permissions. [android.permission.MANAGE_SUBSCRIPTION_USER_ASSOCIATION]",
"phoneNumber": "+xxxxxxxxxx",
"state": "Failed"

Hello,

Thank you for reaching out. To assist you better, could you please provide the following details?

  • The model of your device and the Android version it's running.
  • The version of the app that you're experiencing this issue with.

Also, please confirm if you granted all the requested permissions when you first launched the app. It would be helpful if you could share a screenshot of the permissions for the SmsGateway app found in the Android Settings under Apps.

The permission mentioned in the error is not part of the official Android documentation. Additionally, the app does not explicitly call the getSubscriptionUserHandle method, which suggests that this could be related to vendor specific issue.

Looking forward to your reply to resolve this issue promptly.

Redmi Note 8
i use custom rom
https://pixelos.net/download/ginkgo

IMG_5669

IMG_5670

IMG_5671
Here Phone call and SMS was granted

i try to add

--

into AndroidManifest.xml
it's work now

Thank you for your feedback!

I have added this permission to the manifest in #74. I will conduct tests on my devices running stock firmware to ensure everything functions correctly before including it in the upcoming release.