For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 10 replies, 4 voices, and was last updated 13 years, 8 months ago by
Unknown Author.
-
AuthorPosts
-
Unknown AuthorParticipantSo…I wrote a quick “Find Me” app using the map widget and geolocation. It’s working beautifully.
When the iOS native app is started for the first time, there’s a dialogue:
“AppName would like to use location services”
Once into the app, if a page uses geolocation, there’s another dialogue:
“iphoneid/apps/AppName/page_name.html Would like to use location services”
This is a very long, incomprehensible (to users) dialogue that will cause confusion. I would like to suppress this if possible. I read on other forums that it’s not possible, as it’s written into the HTML5 standard.
Is there anything that can be done?
-1TC
October 22, 2012 at 8:32 am #331538
support-michaelKeymaster@1thinchip
We are looking into this. I can replicate it with the showlocation example in an ios app.
October 22, 2012 at 9:20 am #331539
EmazMemberHello, I am developing an application, inside there will be a button for the current position, I tried to do it but only occasionally tells me exactly where I am, most of the time I like to be in Dallas. Could you help me? I do not know who to ask.
Thank you very muchOctober 22, 2012 at 9:42 am #331543
Unknown AuthorParticipantIn the Test Center, it says Dallas. Compile it for your phone. It will use your real location.
You can also edit your location in Test Center, under Geolocation. You can put in co-ordinates.
-1TC
October 24, 2012 at 6:01 am #331634
EmazMemberI understand, but because I want to put my app on Apple Store, how do people who download my app to see their current location? I mean, my app will be a free for tourists and there will be a button do not get lost in the city.
October 24, 2012 at 6:32 am #331636
Unknown AuthorParticipantFollow the geolocation code here, Section 3.4:
http://www.genuitec.com/mobile/docs/usingMaps/usingMaps.htmlIf you can see your current location on your phone, then they’ll be able to see their current locations on their phones, right? Don’t get confused just because test center uses geolocation co-ordinates for Dallas.
-1TC
October 25, 2012 at 11:48 am #331689
support-octavioMember@1thinchip,
We found the cause of the issue and will share how to avoid dual notifications by tomorrow.
October 25, 2012 at 2:58 pm #331699
Unknown AuthorParticipantExcellent! Thank you!
-1TCNovember 12, 2012 at 11:10 am #332227
Unknown AuthorParticipantAnxiously awaiting this solution…
-1TC
November 12, 2012 at 11:57 am #332228
support-michaelKeymaster@1thinchip
>Anxiously awaiting this solution…
Please revisit this example: http://www.genuitec.com/mobile/docs/usingMaps/usingMaps.html#center_on_current_loc
Notice that the snippet has been updated from the original to better account for native environment/phonegap. You should only see the traditional prompt for the app to use your location.November 19, 2012 at 12:15 pm #332461
Unknown AuthorParticipantI got this working on real hardware. Thanks! I noticed that this will work if done for the first map instance, but will hang map operations if the code is part of an “update map” function.
-1TC
-
AuthorPosts
