Geolocation

14 views
Skip to first unread message

Xavier Vergés

unread,
Jan 29, 2013, 4:26:22 AM1/29/13
to node-...@googlegroups.com
Hello everyone. node-webkit looking awesome so far.

I've tried to call the geolocation API navigator.geolocation.getCurrentPosition and nothing happened.

On chrome, the user is asked to grant permission to the page, and then the success or the error callback is called.

On node-webkit, no prompt asking for permission, no callback, and nothing logged to the JavaScript console.

Any clue?
Thanks for your time.
-Xavier




Roger WANG

unread,
Jan 29, 2013, 8:09:37 PM1/29/13
to Xavier Vergés, node-...@googlegroups.com
Hello Xavier,

Code need to be done in node-webkit to just grant the permissions.

It's reported here and we'll implement it:
https://github.com/rogerwang/node-webkit/issues/236

Thanks
--
Roger WANG Intel Open Source Technology Center

nico...@gmail.com

unread,
Feb 21, 2013, 7:51:25 AM2/21/13
to node-...@googlegroups.com
Hello! Any news on this fully needed method? :) 
+1

jasper...@gmail.com

unread,
Aug 16, 2013, 8:25:31 AM8/16/13
to node-...@googlegroups.com, Xavier Vergés
I'm also wondering whether anyone has already worked on this.

Perhaps instead of node-webkit actually handling this granting of the permissions, it would be easier to implement a way to automatically grant it (for a certain domain)? Leaving it up to the wrapped application to communicate the fact that the geolocation is being used.


Op woensdag 30 januari 2013 02:09:37 UTC+1 schreef Roger WANG:

pabl...@gmail.com

unread,
Feb 4, 2014, 7:22:53 AM2/4/14
to node-...@googlegroups.com
Hello Roger.

Any news on HTML5 Geolocation? It is the main drawback for our use cases right now.

Thank you 
Reply all
Reply to author
Forward
0 new messages