Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member Carlos.D's Avatar
    Join Date
    Nov 2011
    Location
    Luxembourg
    Posts
    38
    Vote Rating
    1
    Carlos.D is on a distinguished road

      0  

    Default 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
    }
    ]
    ...

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,212
    Vote Rating
    858
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    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
    ________________
    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 in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha Premium Member Carlos.D's Avatar
    Join Date
    Nov 2011
    Location
    Luxembourg
    Posts
    38
    Vote Rating
    1
    Carlos.D is on a distinguished road

      0  

    Default


    Did you (the team) report the bug to Apple ? How can we open such case ?

  4. #4
    Touch Premium Member BostonMerlin's Avatar
    Join Date
    Aug 2010
    Location
    Boston
    Posts
    522
    Vote Rating
    41
    BostonMerlin has a spectacular aura about BostonMerlin has a spectacular aura about BostonMerlin has a spectacular aura about

      0  

    Default


    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