Skip to content

Commit

Permalink
chore: Update Guide.md to link a working static server package (#3049)
Browse files Browse the repository at this point in the history
The static server package does not seem to work in the later version of React Native. Or, there's a way to make it work but not discussed. 
A fork of this [library](https://github.com/birdofpreyru/react-native-static-server) works as expected. 
While it may not have many 'stars' the fact that it works and is also maintained, makes it a more suitable candidate.
  • Loading branch information
qwertynik committed Jul 18, 2023
1 parent e76933f commit 2060bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class MyWeb extends Component {

### Loading local HTML files

Note: This is currently not working as discussed in [#428](https://github.com/react-native-webview/react-native-webview/issues/428) and [#518](https://github.com/react-native-webview/react-native-webview/issues/518). Possible workarounds include bundling all assets with webpack or similar, or running a [local webserver](https://github.com/futurepress/react-native-static-server).
Note: This is currently not working as discussed in [#428](https://github.com/react-native-webview/react-native-webview/issues/428) and [#518](https://github.com/react-native-webview/react-native-webview/issues/518). Possible workarounds include bundling all assets with webpack or similar, or running a [local webserver](https://github.com/birdofpreyru/react-native-static-server).

<details><summary>Show non-working method</summary>

Expand Down

0 comments on commit 2060bd6

Please sign in to comment.