For the More Curious: Teams and API Keys

When you have more than one person working an app with an API key, debug builds start to be a pain. Your signing credentials are stored in a keystore file, which is unique to you. On a team, everyone will have their own keystore file, and their own credentials. In order for anyone new to work on the app, you have to ask them for their SHA1, and then go and update your API key’s credentials.

Or, at least, that is one option for how to manage the API key: manage all of the signing hashes in your project. If you want a lot of explicit control over who is doing what, that may be the right solution.

But there is another option: create a debug keystore specifically for the project. Start by creating ...

Get Android Programming: The Big Nerd Ranch Guide, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.