0.1.0 • Published 7 months ago

react-native-resource-reader v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

react-native-resource-reader

Read values from info.plist and strings.xml in your javascript code.

Installation

npm install react-native-resource-reader

Usage

import { getResourceValue } from 'react-native-resource-reader';

// ...

const value = await getResourceValue('YOUR_RESOURCE_KEY');
console.log(value); // This will print the value associated with 'YOUR_RESOURCE_KEY' in either `info.plist` or `strings.xml`

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

0.1.0

7 months ago