CRAlpha / CRAlpha/react-native-wkwebview
Consider changing the type of injectJavaScript from string to function ?
Open
- Dominant language
- Objective-C
- Stars
- 637
- Forks
- 263
- PR merge metrics
- No merged PRs in 30d
Description
The type of prop `injectJavaScript` is string on iOS, but webview's `injectJavaScript ` is function.
This leads to a warning on Android as follows if use same codes.
```
Failed prop type: Invalid prop `injectJavaScript` of type `string` supplied to `WebView`, expected `function`
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.