-
27 Apr 2012 12:56 PM #11
It took a year to fix a bug I provided you guys with the fix for in a clearly stated and researched bug report.
-Shea
My Blog:VinylFox | Twitter:@VinylFox | JavaScript Magazine:JSMag | Curator of the Baltimore/DC JavaScript Meetup | Author: Learning ExtJS 3.x Book
ExtJS Extensions & Plugins: GMapPanel UX | HtmlEditor Buttons Plugin | Selection Enabler Plugin | Grid DataDrop Plugin | Additional Ext.Fx
Sencha Touch Plugins: Swipe Tabs | List Pull Refresh | Accelerometer Tabs
-
8 May 2012 1:50 PM #12
Seriously?!
Seriously?!
I love sencha, trust me I do. I am just confused as to how this bug is STILL in ST 2.0.1.
Path: \sdk\src\util
File: Geolocation.js
Line: 375
Currently:
Change toCode:allowHighAccuracy: this.getAllowHighAccuracy()
Pretty Please...Code:enableHighAccuracy: this.getAllowHighAccuracy()
For those trying to get this fixed now add the following code for ST2.0.1
Code:Ext.override(Ext.util.GeoLocation,{ parseOptions: function(){ var timeout = this.getTimeout(), ret = { maximumAge: this.getMaximumAge(), enableHighAccuracy: this.getAllowHighAccuracy() }; //Google doesn't like Infinity if (timeout !== Infinity) { ret.timeout = timeout; } return ret; } });
-
26 Jun 2012 1:42 AM #13
I'm actually not sure if this has really been fixed.....
@chaoswarp: thanks for your workaround. Unbelievable that this is still not fixed!
Seems that my device is now searching for GPS, but just for a second and then uses the default network location. I'll have to dig deeper into it.
-
14 Aug 2012 6:17 AM #14
Seems to be fixed since 2.0.2?!
http://dev.sencha.com/deploy/sencha-touch-2.1.0-b2/release-notes.html
http://stackoverflow.com/questions/9...-gps-in-sencha
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-2804
in
a recent build.
Similar Threads
-
Issue with Android geolocation...
By JoshAAiM in forum Sencha Touch 1.x: DiscussionReplies: 2Last Post: 3 Jul 2011, 4:41 AM -
Ext.Map with geolocation problem
By NitrOuS in forum Sencha Touch 1.x: DiscussionReplies: 6Last Post: 19 Jan 2011, 1:04 PM -
Phonegap and geolocation?
By johnwards in forum Sencha Touch 1.x: DiscussionReplies: 3Last Post: 14 Nov 2010, 3:41 PM -
Ext.util.GeoLocation and .99
By xnakxx in forum Sencha Touch 1.x: DiscussionReplies: 9Last Post: 5 Nov 2010, 1:31 PM




Reply With Quote