\n\n \n\n \n \n \n
\n\n```","suggestedAnswer":[{"@type":"Answer","text":"It is a file present in the Ionic bundle that must be copied to the root of our build"},{"@type":"Answer","text":"This file will be automatically generated and added at the time of the Cordova build"},{"@type":"Answer","text":"The cordova.js file bridges the gap between native plugins and JavaScript code"},{"@type":"Answer","text":"Ionic depends on cordova.js to run"}],"acceptedAnswer":[{"@type":"Answer","text":"This file will be automatically generated and added at the time of the Cordova build"},{"@type":"Answer","text":"The cordova.js file bridges the gap between native plugins and JavaScript code"}]}}
Expert
Here is the index.html of our Ionic application, what is the cordova.js file?
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title></title>
<link href="lib/ionic/css/ionic.css" rel="stylesheet">
<script src="lib/ionic/js/ionic.bundle.js"></script>
<script src="cordova.js"></script>
<script src="js/app.js"></script>
</head>
<body ng-app="app">
</body>
</html>
Author: Benjamin CanacStatus: PublishedQuestion passed 146 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
1
How to store data in Ionic1
Get the current position of the user in Ionic using the cordova plugin *cordova-plugin-geolocation*1
Ionic is a front-end HTML5 framework.1
How to check if the device is connected to the internet in Ionic0
Ionic is a framework that uses AngularJS.1
Explain the benefits of using a ViewContainerRef in Ionic1
Create an Ionic app that loads items when the user scrolls down and displays items when the view loads.