This duplicates another bug already reported in our system: TOUCH-3495
  1. #1
    Sencha Premium Member
    Join Date
    Jan 2011
    Location
    Dundas, Ontario, Canada
    Posts
    83
    Vote Rating
    -4
    rgporter can only hope to improve

      0  

    Default Second, third, etc geolocation call fails in IOS 6 chromeless

    Second, third, etc geolocation call fails in IOS 6 chromeless


    I don't know if this is a Sencha bug or an iOS one, but in iOS 6 when an app is loaded in chromeless/standalone, only one GPS call can be made, all further GPS calls time out or just don't plain work.

    This is on v2.0.2, and v1.1.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,549
    Vote Rating
    873
    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


    This sounds like an iOS issue as we use the standard HTML5 Geolocation. Actually couldn't get it to update once on my iPhone 4S with iOS 6 and saved the test to homescreen. So I have opened a bug in our bug tracker to see if there is anything we can do.

    Code:
    var geo = new Ext.util.Geolocation({
        autoUpdate : false,
        listeners  : {
            locationupdate : function() {
                Ext.Viewport.down('container').add({
                    html : 'location update'
                });
            },
            locationerror : function() {
                Ext.Viewport.down('container').add({
                    html : 'location update'
                });
            }
        }
    });
    
    Ext.Viewport.add({
        items : [
            {
                xtype   : 'button',
                text    : 'Update Location',
                handler : function() {
                    geo.updateLocation();
                }
            }
        ]
    });

  3. #3
    Sencha Premium Member
    Join Date
    Jan 2011
    Location
    Dundas, Ontario, Canada
    Posts
    83
    Vote Rating
    -4
    rgporter can only hope to improve

      0  

    Default


    One workaround is to disable the apple-mobile-webapp-capabile meta tag, but I can't see any way to do this in ST2. Any suggestions?

  4. #4
    Sencha User
    Join Date
    Apr 2011
    Posts
    4
    Vote Rating
    1
    rHodges is on a distinguished road

      0  

    Default Seeing this problem as well..

    Seeing this problem as well..


    Has a solution been found in the meantime?

Thread Participants: 2