When using iPhone4s with iOS6 it works fine in the browser. It prompts fine and everything.
If I save the same application to homescreen. Nothing happens. It will not prompt, succes or failure is never run.
I have tried with higher timeout etc. nothing works?
If I call it in init it works. If I call it on itemtap etc. it does not work.
We can look into what's going on to see if it's our bug or another iOS 6 bug.
Yes I started with that code with the same result.
What I have found out is that somehow the code is run twice!(also if I only execute the code once) And it only works the first time, the next time nothing happens.
So if you check if it is all ready run and return the position from before it "works". But not a very good solution if you are moving.
This bug is out of our control and appears to be Apples problem. Apps added to the homescreen will fail on GPS requests unless you strip out the "apple-mobile-web-app-capable" meta tag. This adds the browser chrome back around your app and is not a solution.
To test this comment out line #657 in core/Ext-more.js and re-add the application to the homescreen.