Android issue: Sensitive data being saved on xml file #8414
Labels
Needs Attention
platform: android
plugin: app-core
Firebase Apps / Core internals.
type: bug
New bug report
Workflow: Waiting for User Response
Blocked waiting for user response.
Currently, the react-native-firebase library stores Firebase Cloud Messaging (FCM) notification data in the SharedPreferences file named io.invertase.firebase.xml in plain text. This poses a security risk, as sensitive notification details and metadata can be easily accessed on a compromised device. There is no configuration option to disable this storage or to use encrypted storage (e.g., EncryptedSharedPreferences) by default.
Steps to reproduce:
We either need a configuration flag or secure defaults option that either:
I was able to create a patch that converts encrypts the data saved on xml,
The text was updated successfully, but these errors were encountered: