New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 629511 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Aug 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Bug



Sign in to add a comment

Support loading API keys from the Info.plist

Project Member Reported by bzanotti@chromium.org, Jul 19 2016

Issue description

The code to load and handle the different API keys lives in google_apis/google_api_keys.cc.
By default, keys are baked in during the compilation, and they can be overridden at runtime via the environment or the command-line. On iOS, we should support loading them from the Info.plist as well.

The key can be loaded from the Info.plist like this: base::mac::ObjCCast<NSString>([base::mac::FrameworkBundle() objectForInfoDictionaryKey:key_name]).
 
Status: Fixed (was: Assigned)

Sign in to add a comment