i put this
<script type="text/javascript" src="cordova.js"></script>
> <script type="text/javascript">
> document.addEventListener("deviceready", function() {
> setTimeout(function() {
> navigator.splashscreen.hide();
> }, 5000, false);
> });
> </script>
// Banner code
var service = Cocoon.Ad;
//multiplatform default configuration
service.configure({
android: {
banner:“ca-app-pub-3940256099942544/6300978111”}
});
var banner = Cocoon.Ad.AdMob.createBanner("ca-app-pub-3940256099942544/6300978111");
banner.load();
//Automatic banner layout
banner.setLayout(Cocoon.Ad.BannerLayout.TOP_CENTER);
banner.show();
and this but not show the banner
the core is html and javascript without any framework js
What about cordova.js
should i download the file or it will be automatically added by the plugin
i dont put this in head
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
becouse change my layout