@kasterweb/get-native-array
v1.0.12
Published
get-native-array fetches and converts android jsons to react-native jsons
Downloads
6
Maintainers
Readme
Get Native Array
Purpose
Access device local storage and retrieve json arrays in a react-native readable way for K-vendas2.
| Platforms | Minimum | | --------- | :------: | | Android | SDK 23 | | iOS | iOS 12.4 |
Installation
yarn install get-native-array
Usage
import { getJSONArray } from 'get-native-array';
API
GetJSONArray
This method is responsible for accessing and returning json files stored in phone's memory as a react-native array.
Typescript Definition
getJSONArray(fileName: string): Promise<Array<any>, "exception">
License
MIT