Menu

Our delete-my-data list clears eight keys off the phone, and the product cache moved to v3 without it
📰

Our delete-my-data list clears eight keys off the phone, and the product cache moved to v3 without it

DEV Community: reactnative·Daniel Pertu·2 days ago
#EWgiGON0
#devtoreactnative#devto#dev#munchable#test
Reading 0:00
15s threshold

Munchable's privacy notice makes a short, checkable promise. The conditions you pick, the ingredients you have marked as personal sensitivities and the history of what you have scanned are written to storage on your own phone and stay there. We cannot read any of it, we cannot recover it for you, and there is nothing in it to hand over if anyone ever asked. You can read the whole thing at munchable.app/privacy , where it also says this:

Uninstalling the app, clearing its storage, or deleting your account all remove it.

Uninstalling is the operating system's job. Clearing storage is the operating system's job. The third one is ours, and in a React Native app it comes down to a hand-written list of strings.

The whole erasure is eight keys and a swallowed error

export async function wipeLocalData ( ) : Promise < void > { try { await AsyncStorage .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.