Introducing cross-platform implementation of React Native's Settings API
Aaron Lipman
Posted on May 14, 2024
React Native provides a Settings API, acting as a persistent key–value data store with synchronous reads: https://reactnative.dev/docs/settings
However, the Settings API is only available to iOS applications. I've published an NPM package extending this interface to Android:
https://github.com/alipman88/react-native-cross-platform-settings
I'm new to the React Native ecosystem, and this is my first NPM package. Neither React Native or Kotlin are among the frameworks & languages I regularly use, so I very much appreciate feedback regarding conventions & best practices.
💖 💪 🙅 🚩
Aaron Lipman
Posted on May 14, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
reactnative I have an error when installing and using the react-native-bluetooth-serial-next library on an ios device.
November 29, 2024
react How to build type-enforced UI components in React Native using @shopify/restyle
November 28, 2024