Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 781 Bytes

File metadata and controls

51 lines (31 loc) · 781 Bytes

react-native-webview-clear-cache

clear webview cache on android and ios

Installation

npm install react-native-webview-clear-cache

Usage

import { clearCache } from 'react-native-webview-clear-cache';

// ...

const result = await clearCache();

Test example

To test the example project inside this project, you have to add the workspace example on the package.json

  "workspaces": [
    "example"
  ],

and then run:

yarn
yarn example ios
yarn example android

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