Running into an interesting issue with a `Broadca...
# android
m
Running into an interesting issue with a
BroadcastReceiver
when trying to set a permission. So I set the permission in the sending app in the manifest using
<uses-permission.... />
and then include that permission in the
sendBroadcast(intent, permission)
call. And in the receiving app I have the permission set in the manifest where I am declaring the receiver. But my
BroadcastReceiver
won't accept the broadcast. The interesting thing is that as soon as I remove the permission from both apps, my broadcast works perfectly. Any ideas? Edit: Fixed. It was due to the app signature.
s
Curious as well, just a hunch, could be something related to sharedUserId and/or app signature
m
App Signature 🙂
s
👍