You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a reusable component for a full-screen webview.
You know, instead of layering this over the map, it would probably be best to have it be a different navigation screen. A separate stack navigator? Essentially you want to be able to press an x at the top left of the screen to go back to the previous screen.
This should be a purely (pure?) presentational component. I.e. just take as props:
HTML source or URL
path to local css
inline boolean?
Check out a library like juice for inlining css. That way you can store e.g. wikipedia's css once, and then display the formatted css offline. Not sure what to do with links though, in order to try and get local links working offline, but that's low-priority.
also see #23
Create a reusable component for a full-screen webview.
You know, instead of layering this over the map, it would probably be best to have it be a different navigation screen. A separate stack navigator? Essentially you want to be able to press an x at the top left of the screen to go back to the previous screen.
This should be a purely (pure?) presentational component. I.e. just take as props:
Check out a library like juice for inlining css. That way you can store e.g. wikipedia's css once, and then display the formatted css offline. Not sure what to do with links though, in order to try and get local links working offline, but that's low-priority.
react-native-webview looks easy.
The text was updated successfully, but these errors were encountered: