Google API keys are missing.

5,708 views
Skip to first unread message

jonasko

unread,
Jun 4, 2014, 9:44:16 AM6/4/14
to chromium...@chromium.org
I am working on web application which run on a device without internet connection.
How to get rid of the warning message "Google API keys are missing. Some functionality of Chromium will be disabled."?
I do not need anything from Google APIs. I just need to get rid of the message.

Chromium version: Chromium 32.0.1700.107

PhistucK

unread,
Jun 4, 2014, 1:25:27 PM6/4/14
to lukas....@gmail.com, Chromium-discuss
Follow http://www.chromium.org/developers/how-tos/api-keys#TOC-Providing-Keys-at-Runtime by setting the mentioned environmental variables, perhaps it would make the warning go away.
(Try entering bogus values, it might be enough. If the warning stays, it might expect a certain pattern, so follow the entire process and put the values from the relevant mentioned fields)


PhistucK


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

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

jonasko

unread,
Jun 5, 2014, 2:17:07 AM6/5/14
to chromium...@chromium.org, lukas....@gmail.com
This is my setup of the environment variables:

export GOOGLE_API_KEY="no"
export GOOGLE_DEFAULT_CLIENT_ID="no"
export GOOGLE_DEFAULT_CLIENT_SECRET="no"

And the warning message is gone.

Thanks!


Dňa streda, 4. júna 2014 19:25:27 UTC+2 PhistucK napísal(-a):

Bob Smith

unread,
Aug 15, 2016, 2:01:55 AM8/15/16
to Chromium-discuss, lukas....@gmail.com
Would you just copy and paste those into a command prompt? Could you also run those from a run box (windows button + r)?

export GOOGLE_API_KEY="no"
export GOOGLE_DEFAULT_CLIENT_ID="no"
export GOOGLE_DEFAULT_CLIENT_SECRET="no"


PhistucK

unread,
Aug 15, 2016, 2:05:00 AM8/15/16
to coked...@gmail.com, Chromium-discuss, Lukáš Ondriga
1. export statements do not work on Windows. :)
2. Curious - the original poster found an answer, why do you suggest the same answer again? :)


PhistucK

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.

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

Bob Smith

unread,
Aug 15, 2016, 2:26:40 AM8/15/16
to Chromium-discuss, coked...@gmail.com, lukas....@gmail.com
I prefer command line methods when possible. They are quicker. If using windows you need to use setx. If you want it set at the system environment variable level you need the /M switch otherwise it gets set at the user level. 

setx GOOGLE_API_KEY no
setx GOOGLE_DEFAULT_CLIENT_ID no
setx GOOGLE_DEFAULT_CLIENT_SECRET no

setx GOOGLE_API_KEY no /M
setx GOOGLE_DEFAULT_CLIENT_ID no /M
setx GOOGLE_DEFAULT_CLIENT_SECRET no /M


PhistucK


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

Reply all
Reply to author
Forward
0 new messages