I have a broadcast receiver in a app which uses my permission com.myexample.permission.MY_PERMISSION.
com.myexample.permission.MY_PERMISSION
I am able to send the broadcast using
se
Use arg --receiver-permission which belongs to subcmd broadcast:
--receiver-permission
broadcast
adb shell am broadcast -a com.com.myexample.MY_ACTION --receiver-permission com.myexample.permission.MY_PERMISSION