CEF chromiumembedded + geolocation + Google APIs = Error 403

579 views
Skip to first unread message

jvp7500 .

unread,
Jan 13, 2014, 5:00:52 PM1/13/14
to chromi...@chromium.org
Hi friends,

I have a development environment (Windows), in order to have the opportunity HTML5 and geolocation from Chrome embedded into C++ application. I have spent time researching chromiumembedded / Chrome Embedded Framework (CEF), which seems to be the solution.
My development environment is set up so that I have downloaded Chromium as source, created a include.gypi file containing only my three Google APIs (API + client id + secret). Then I form Visual Studio solution with the information from gypi file. In Visual Studio I adds callback->Continue(true); inside OnRequestGeolocationPermission, so I decide that the user will always allow the GPS location.


When I finish building solution, I end up with a file called cefclient.exe. This file opens a simple browser, and when I browse to a website using HTML5 and geolocation, I get the error ERROR (2): Network location provider to https://www.googleapis.com : Returned error code 403
(I have not used up my quota of daily requests to Google API.)

I'm stuck in development, and hope one can help me further. I know that the CEF and Chromium-dev is not a single branch, but the interest has to be the same :-)

Marcus Bulach

unread,
Jan 14, 2014, 7:00:33 AM1/14/14
to jvp...@gmail.com, chromium-dev
Hi jvp,

It looks like Geolocation:
 requires enabling billing but is free to use; you can skip this one, in which case geolocation features of Chrome will not work.

Could you check your google apis have this enabled?

Thanks,
Marcus



--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.

jvp7500 .

unread,
Jan 19, 2014, 10:48:13 AM1/19/14
to chromi...@chromium.org
Hi Marcus,

Thanks for your answer. I enabled billing for two weeks ago. But I still checked the billing is still enabled; Yes, billing is enabled.
Reply all
Reply to author
Forward
0 new messages