Why I get localStorage Error in React Native

As of version 2.9.10 of QiscusSDK, there's a fix for synchronizing issue in our Qiscus SDK core. The fix is using localStorage which isn't available in React Native. To mitigate this issue you can follow this steps:

Install a polyfill of localstorage:

npm install localstorage-polyfill

Then import the package

import 'localstorage-polyfill'; 

Was this article helpful?



Please sign in to leave a comment.