Unable to request android.permission.RECEIVE_SMS #19658
Labels
area-essentials
Essentials: Device, Display, Connectivity, Secure Storage, Sensors, App Info
fixed-in-8.0.7
fixed-in-9.0.100-preview.1.9973
platform/android 🤖
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
Hi.
Looks like after merging PR #14203 -
Remove ReceiveSms added by default
it's impossible to requestandroid.permission.RECEIVE_SMS
permission at all. It's not in the list anymore.The problem is in the file Microsoft.Maui.ApplicationModel.Permissions.android.cs
I think it should look like this:
My app needs this permission to process messages in background using
BroadcastReceiver
, but I'm unable to request it :(I have a proper line in my Manifest file, but anyway it doesn't work:
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
8.0.3
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
Giving this permission manually through settings
Relevant log output
No response
The text was updated successfully, but these errors were encountered: