<WebViewBridge ref="webviewbridge" style={{flex: 1, height: 500, justifyContent: 'center'}} source={{uri:"file:///android_asset/file_name.html"}} scalesPageToFit={false} scrollEnabled javaScriptEnabled onLoad={this.onLoad} onBridgeMessage={this.onBridgeMessage} />
it displays only html code and not the js files
<html>
<head>
<title>ReactNative WebViews iOS: Part 1</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=0, height=device-height">
<link type="text/css" rel="stylesheet" href="jquery-ui.1.12.1.smoothness.css">
<link type="text/css" rel="stylesheet" href="bootstrap.min.3.3.7.css">
<link type="text/css" rel="stylesheet" href="w3.v4.css">
<link type="text/css" rel="stylesheet" href="w3-theme-blue.v4.css">
</head>
<body>
<div id="message"></div>
<div id="surveyElement"></div>
<div><p>test</p></div>//displays ony this part
<script src="jquery.3.2.1.min.js"></script>
<script src="jquery-ui.1.12.1.min.js"></script>
<script src="babel.min.from-babel-standalone-6.25.0.js"></script>
<script src="react.production.min.16.0.0-alpha.12.js"></script>
<script src="react-dom.min.from-react-native-0.46.1.js"></script>
<script src="survey.react.min.0.12.23.js"></script>
<script type="text/babel" src="mycustomsurvey.js"></script>
</body>
</html>
<WebViewBridge ref="webviewbridge" style={{flex: 1, height: 500, justifyContent: 'center'}} source={{uri:"file:///android_asset/file_name.html"}} scalesPageToFit={false} scrollEnabled javaScriptEnabled onLoad={this.onLoad} onBridgeMessage={this.onBridgeMessage} />it displays only html code and not the js files