1 Star 0 Fork 0

yuezl / react-native-clear-cache

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

react-native-clear-cache

This app is a clone of react-native-clear-app-cache but transformed to work with RN 0.60+

Getting started

Add to your package.json:

"react-native-clear-cache": "sowlutions/react-native-clear-cache"

Mostly automatic installation

No need to link as of RN 0.60.

Usage

import ClearCache from 'react-native-clear-cache';

// get the storage usage
ClearCache.getAppCacheSize(data => {
  alert(data) // will show the App's storage usage in the app's cache.
});


// clear the storage
ClearCache.clearAppCache(data => {
  alert(data) // will alert the new size
});

空文件

简介

react-native-clear-cache 展开 收起
取消

发行版 (1)

全部

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/yuezonglun/react-native-clear-cache.git
git@gitee.com:yuezonglun/react-native-clear-cache.git
yuezonglun
react-native-clear-cache
react-native-clear-cache
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891