[CLOSED] Request Geolocation

Answered
0
0

Hi, i’m using the geolocation in one of my app, but i need to cast before the request, anyone know how?

  • You must to post comments
Good Answer
0
0

Ok, let’s try to get more specific, i’m trying to get the position of the user using the vanilla code i’ve taken here on this forum, double checked with the original api and the example project created by your team, but i need before to ask the user if they want to do stuff with his position data or not. Checking the mozilla’s developer page i sought that i need to ask the user beforehand the permission, just like a classic ios or android app, Ask permission —&> yay–>use the data|||Ask Permision—>nay–>messagebox for begging the user to use the data, the only thing i could find were the code in javascript, that i can’t make JS and VB talk

  • Luca (ITG)
    It’s not you or your app asking for permission. It’s the browser that asks. There is nothing you can do to change that. It’s not a wisej functionality, it’s the way browsers work.
  • You must to post comments
0
0

Hi Jacob,

I am not sure I understand your question. What do you want to cast before the request ?
Can you please elaborate a bit more about what you are trying to achieve and what result (error ?)
you are getting right now ?

Thanks in advance.

Best regards
Frank

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.