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.
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.
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();
}
}
]
});
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?
Has a solution been found in the meantime?