-
26 Dec 2012 4:17 AM #1
UseCurrentLocation not working from home screen launch mode
UseCurrentLocation not working from home screen launch mode
Hi,
ST : 2.1
Test on : iOS 6
When the user launch the app from the home screen icon. The setUseCurrentLocation() is not working anymore.
The same piece of code is working on browser.
Code:Ext.define('App.view.MyMap', { extend: 'Ext.Panel', ... items :[ { //*** bouton "user position" docked :'top', items :[ { xtype : 'button', iconCls :'locate', iconMask : true, handler: function() { Ext.getCmp('mymap').setUseCurrentLocation(true); } } ], //*** map { xtype:'map', id:'mymap', useCurrentLocation :false } ] ...
-
26 Dec 2012 8:12 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
There is an Apple bug that GeoLocation does not work when you launch from the homescreen. This is something we will not be able to overcome, Apple has to fix it.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
26 Dec 2012 8:41 AM #3
Did you (the team) report the bug to Apple ? How can we open such case ?
-
26 Dec 2012 9:00 AM #4
At the moment, launching any sencha touch app using the latest ST framework does not work full screen so this answer is disingenuous at best. blanket statements such as this are why I increasingly doubt the responses i get from their support staff w/out first spending time to research before asking the forums.
John
White Screen of Death
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote