Quellcode durchsuchen

chore(docs): Update Guide.md (#1305 by @bovesan)

[skip ci]
Bengt Ove Sannes vor 4 Jahren
Ursprung
Commit
d9c73e0f6f
Es ist kein Benutzerkonto mit dieser Commiter-Email verbunden
1 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  1. 5
    0
      docs/Guide.md

+ 5
- 0
docs/Guide.md Datei anzeigen

@@ -55,6 +55,10 @@ class MyWeb extends Component {
55 55
 
56 56
 ### Loading local HTML files
57 57
 
58
+Note: This is currently not working as discussed in [#428](https://github.com/react-native-community/react-native-webview/issues/428) and [#518](https://github.com/react-native-community/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).
59
+
60
+<details><summary>Show non-working method</summary>
61
+
58 62
 Sometimes you would have bundled an HTML file along with the app and would like to load the HTML asset into your WebView. To do this on iOS and Windows, you can just import the html file like any other asset as shown below.
59 63
 
60 64
 ```js
@@ -84,6 +88,7 @@ class MyWeb extends Component {
84 88
   }
85 89
 }
86 90
 ```
91
+</details>
87 92
 
88 93
 ### Controlling navigation state changes
89 94