user2638180
user2638180

Reputation: 1023

How to make LocalBroadcastManager safe enough

I've heard that LocalBroadcastManager is potentially insecure and that there are better options to it.

I've an app that uses several of them and I think it's worthwhile to make them more secure in one way, even changing them for an Observable or the like if needed, although if possible I'd prefer to stick with the LocalBroadcastManager.

For my app I'd like that other apps won't be able to read the extra that is put in the Intent with which the LocalBroadcastManager is launched, and from what I know they could make that just by listening to it with the same identifier.

But I think that if the extra I put in the LocalBroadCastManager is encrypted and then decrypted in my activity, all the other apps that would try to read that extra, would only be able to get meaningless data just by listening to it.

Am I right that this would make it secure enough for my app?

Upvotes: 0

Views: 37

Answers (0)

Related Questions