react-native-app-cache
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

react-native-app-cache

OverView

  • get and claer app cache (Only support >=React Native 0.69)

Installing

 npm install --save react-native-app-cache

or

 yarn add react-native-app-cache

Use

   import cache from 'react-native-app-cache'

    cache.clearAppCache(() => {
        console.log("success")
    })
    
    cache.getAppCacheSize((value, unit) => {
        console.log("size", value)
        console.log("unit", unit)
    })

Readme

Keywords

none

Package Sidebar

Install

npm i react-native-app-cache

Weekly Downloads

13

Version

0.1.1

License

ISC

Unpacked Size

118 kB

Total Files

24

Last publish

Collaborators

  • liuwote