Document that WebView is iOS-only until we open source the Android implementation

Summary: The absence of docs can be confusing:
https://twitter.com/40_thieves/status/659500246632939520

public

Reviewed By: davidaurelio

Differential Revision: D2595809

fb-gh-sync-id: b741263782ad579bb40e94a383992dca3a6e8040
This commit is contained in:
Martin Konicek 2015-10-29 09:00:33 -07:00 committed by facebook-github-bot-4
parent 5518279610
commit 8167f40163
2 changed files with 10 additions and 0 deletions

View File

@ -31,6 +31,10 @@ var WebViewState = keyMirror({
ERROR: null,
});
/**
* Note that WebView is only supported on iOS for now,
* see https://facebook.github.io/react-native/docs/known-issues.html
*/
var WebView = React.createClass({
propTypes: {

View File

@ -75,6 +75,12 @@ var defaultRenderError = (errorDomain, errorCode, errorDesc) => (
</View>
);
/**
* Renders a native WebView.
*
* Note that WebView is only supported on iOS for now,
* see https://facebook.github.io/react-native/docs/known-issues.html
*/
var WebView = React.createClass({
statics: {
JSNavigationScheme: JSNavigationScheme,