Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Commit

Permalink
restore
Browse files Browse the repository at this point in the history
  • Loading branch information
etown committed Nov 3, 2014
1 parent 265987d commit 2f01553
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
9 changes: 4 additions & 5 deletions config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,17 @@
<gap:platform name="ios" minVersion="3.2" />
</gap:platforms>

<gap:config-file platform="ios" parent="NSLocationAlwaysUsageDescription" overwrite="false">
</gap:config-file>

<gap:plugin name="org.apache.cordova.file"/>
<gap:plugin name="org.apache.cordova.file-transfer"/>
<gap:plugin name="org.apache.cordova.dialogs"/>
<gap:plugin name="org.apache.cordova.geolocation" version="0.3.7" />
<gap:plugin name="org.apache.cordova.geolocation" version="0.3.10" />
<gap:plugin name="org.apache.cordova.splashscreen" />
<gap:plugin name="org.apache.cordova.inappbrowser" />
<gap:plugin name="com.ohh2ahh.plugins.appavailability" />

<gap:config-file platform="ios" parent="NSLocationAlwaysUsageDescription" overwrite="false">

</gap:config-file>

<access origin="*" subdomains="true" />

</widget>
1 change: 0 additions & 1 deletion www/js/application/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@
function onGeoPositionError (err) {
console.log('Error: Could not geolocate user');
Map.setView(Map.DEFAULT_CENTER, Map.DEFAULT_ZOOM);
alert(err.code + ' : ' + err.message);
// positionMarker.setPosition([position.coords.latitude,position.coords.longitude]);
// GeoPosition.set({latitude: Map.getCenter().lat,longitude: Map.getCenter().lng});
}
Expand Down

0 comments on commit 2f01553

Please sign in to comment.