Skip to content
This repository has been archived by the owner on May 26, 2019. It is now read-only.

Commit

Permalink
fixes #22 Arreglar funcionamiento en android 4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jperelli committed Jan 3, 2017
1 parent 4f463fe commit 7e6c017
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<widget android-versionCode="3098" id="com.cualbondi.buscador" version="3.0.9" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<widget android-versionCode="030010" id="com.cualbondi.buscador" version="3.0.10" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Cualbondi</name>
<description>
Aplicación para la búsqueda de recorridos de bondis, colectivos, micros, buses, trenes, tranvías, metro, subte de corta y media distancia de cualbondi.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cualbondi",
"version": "3.0.9",
"version": "3.0.10",
"description": "cualbondi v3",
"dependencies": {
"gulp": "^3.5.6",
Expand Down
23 changes: 23 additions & 0 deletions www/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ div.contextmenu-marker-icon:before {
ion-pull-up-handle {
border-radius: 5px 5px 0px 0px;
top: -15px !important;
height: 30px !important;
}

.radioContainer {
Expand Down Expand Up @@ -288,4 +289,26 @@ ion-pull-up-handle {
}
.item.highlight {
background-color: #eef;
}

/* leave an empty space for ads */
html {
position: absolute;
top: 0;
bottom: 50px;
left: 0;
right: 0;
min-height: initial;
background-color: white;
}
body {
position: absolute;
height: 100%;
width: 100%;
}
.modal-backdrop {
width: initial;
height: initial;
right: 0;
bottom: 50px;
}
18 changes: 17 additions & 1 deletion www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,22 @@
alert(url+':'+linenumber+'\n\n'+msg);
return true;
}

// Element.closest() polyfill
// from https://developer.mozilla.org/en-US/docs/Web/API/Element/closest
if (window.Element && !Element.prototype.closest) {
Element.prototype.closest =
function(s) {
var matches = (this.document || this.ownerDocument).querySelectorAll(s),
i,
el = this;
do {
i = matches.length;
while (--i >= 0 && matches.item(i) !== el) {};
} while ((i < 0) && (el = el.parentElement));
return el;
};
}
</script>

<!-- ionic/angularjs js -->
Expand Down Expand Up @@ -167,7 +183,7 @@ <h1 class="title">Menu</h1>
</ion-list>
</ion-content>
<ion-footer-bar class="bar-stable">
<h1 class="title">v3.0.9</h1>
<h1 class="title">v3.0.10</h1>
</ion-footer-bar>
</ion-side-menu>

Expand Down
10 changes: 6 additions & 4 deletions www/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,16 @@ function init($ionicPlatform, geolocationService, $timeout) {
console.log('PLUGIN NOT FOUND window.StatusBar')
}
if (window.AdMob) {
window.AdMob.createBanner( {
var options = {
adId: 'ca-app-pub-1193419141108967/7166287944',
isTesting: false,
overlap: false,
overlap: true,
offsetTopBar: false,
position: window.AdMob.AD_POSITION.BOTTOM_CENTER,
bgColor: 'black'
} );
bgColor: 'white'
}
window.AdMob.setOptions(options);
window.AdMob.createBanner(options);
}
else {
console.log('PLUGIN NOT FOUND window.AdMob')
Expand Down

0 comments on commit 7e6c017

Please sign in to comment.