Skip to content

Commit

Permalink
docs: update injectedJavascript ios docs (react-native-webview#1704 bu
Browse files Browse the repository at this point in the history
  • Loading branch information
Crisfole authored Oct 21, 2020
1 parent 4d8a76f commit 1bc38da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ Set this to provide JavaScript that will be injected into the web page after the

Make sure the string evaluates to a valid type (`true` works) and doesn't otherwise throw an exception.

On iOS, see [`WKUserScriptInjectionTimeAtDocumentEnd`](https://developer.apple.com/documentation/webkit/wkuserscriptinjectiontime/wkuserscriptinjectiontimeatdocumentend?language=objc)
On iOS, see [`WKUserScriptInjectionTimeAtDocumentEnd`](https://developer.apple.com/documentation/webkit/wkuserscriptinjectiontime/wkuserscriptinjectiontimeatdocumentend?language=objc). Be sure
to set an [`onMessage`](Reference.md#onmessage) handler, even if it's a no-op, or the code will not be run.

| Type | Required | Platform |
| ------ | -------- | ------------------- |
Expand Down

0 comments on commit 1bc38da

Please sign in to comment.