1.0.12 • Published 2 years ago
@kasterweb/get-native-array v1.0.12
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-arrayUsage
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