Skip to content

API Keys and Admin Password

mnipper edited this page Jan 27, 2014 · 1 revision

To set up the api keys and admin password, you should create an xml file at res/values/keys.xml

Do not commit this file to version control. It is already in .gitignore.

In this file, place the various keys needed for the application.

<?xml version="1.0" encoding="utf-8"?>
<resources
  xmlns:tools="http://schemas.android.com/tools"
  tools:ignore="MissingTranslation">
    <string name="crashlytics_api_key">CRASHLYTICS KEY GOES HERE</string>
    <string name="backend_api_key">BACKEND KEY GOES HERE</string>
    <string name="admin_password_hash">SHA256 HASH FOR ADMIN PASSWORD GOES HERE</string>
</resources>

Clone this wiki locally