Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

Is there a way for React Native to persist data even when app uninstalled?

$
0
0

I was trying to do some fingerprinting on user's devices because we have a few functions that is to make sure that whatever transaction that user made, cannot be executed again. Plus we want to detect whether this user have used our app before prior to the app uninstall.

I have tried few methods to achieve this. MAC address is not available on iOS and using getUniqueId() from react-native-device-info library is not really I want because the unique ID will be removed when the app uninstalled. I have tried on caching values by using react-native-webview with window.localStorageinjectedJavascript() but the key-value pairs that I've cached through the webview browser was removed too.

I hope there's idea or solution for this use case. I have been breaking my brains on doing this for awhile.


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>