wp7
wp7

Reputation: 41

How to cache webview in react-native

I'm currently using WebView component to render a website inside my app but I also want to cache that website so that it can be opened even when there is no internet and also how to remove that cache whenever needed. Please suggest me how to do this.

Upvotes: 3

Views: 6213

Answers (1)

Andriy Klitsuk
Andriy Klitsuk

Reputation: 564

Here you have: react-native-offline-cache-webview

It can cache your WebView for offline consulting, and it works for Android and iOS.

Example app here

Upvotes: 2

Related Questions