|
Rank: Newbie Groups: Member
Joined: 5/21/2015 Posts: 2
|
I am using navigator.geolocation.watchPosition to get the current location of a user's device. In Chrome I get the message that the website would like to use my current location and if I click yes, the location is retrieved. In EO.WebBrowser there is no prompt and I get a Permission Denied error.
|
|
Rank: Newbie Groups: Member
Joined: 5/21/2015 Posts: 2
|
Any ideas why this won't work? Do I need to configure something?
Michelle Tiahi, O.P.T.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
We have confirmed that this is not supported in the current build. We will support this in our next build, which is due to be released early next month.
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
This is just to let you know that we have a test build that added geo location support. We have sent you a private message with the details. You can click the "inbox" link on top of the forum to view the message.
Thanks
|
|
Rank: Newbie Groups: Member
Joined: 6/15/2015 Posts: 2
|
Hi, Any updates on the new build? I am also looking for geo location support in the EO.WebBrowser
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
The new release will be posted later this week.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 12/9/2014 Posts: 79
|
Any news? In a webpage that uses navigator.geolocation.getCurrentPosition i get a console error(the error callback of function) and no security question ask user. I dont see any option in EO.WebBrowser to allow/block this. Is working ok in Firefox and Chrome.
I tested webpage with your last tabbed browser (2015.4.1.0)
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, We have looked into this. Please check whether you have provided your Google API key. The actual location resolving is done by Google Map Geo Location API on Google's server, which requires a Google API key to function. See here for more information on how to get the API key: http://www.essentialobjects.com/doc/webbrowser/advanced/speech_recognition.aspxNote that Google has since changed their UI since the above documentation was written, as such the actual steps will be different. But the basic steps is the same (creating project, go to credentials to create an API key). We will update our documentation soon to reflect the changes. Once you have the API key, you can apply it through EO.WebBrowser.Runtime.GoogleAPIKey or through engine options. After that the location service should work. Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 12/9/2014 Posts: 79
|
I'll give a try.
Thank you very much
|
|