After few exploration I finally found the mapping. Please check here. Search your intent action string, and you will find the permission it requires.
How do I find the permission I need for intent-filter action
-
30-07-2022 - |
Frage
I find that if I want to put some actions in intent-filter of my broadcast receiver, I need to add certain actions. For example, if I add android.provider.Telephony.SMS_RECEIVED
to actions
<receiver android:name=".listener.SmsListener">
<intent-filter>
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
</intent-filter>
</receiver>
I need to add this permission:
<uses-permission android:name="android.permission.RECEIVE_SMS" />
I know there exists a mapping between API calls and permissions: http://pscout.csl.toronto.edu/. I'm writing to ask if there's any official or unofficial document to check such mapping between intent-filters and permissions.
Thanks a lot!
Lösung 2
Andere Tipps
I think there is no such documentation for Intent-filters and their permissions but here you check some of them take a look at here..
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow