Use your own Google key

Trip planning uses Google Maps data. The app includes a small free allowance. Add your own Google key and trip planning uses your own free monthly usage from Google instead. Setup takes about 10 minutes on a computer.

1. Create a project with billing

  1. Open the Google Cloud console and create a project (any name).
  2. Link a billing account to it. Google asks for a card even for free usage; you’re only charged if you go past the free usage.

2. Turn on two services

Open each link with your new project selected and click Enable:

3. Create and lock the key

  1. Open Keys & Credentials and click Create credentials → API key.
  2. Open the new key. Under Application restrictions pick your phone:

    Android — choose Android apps → Add, then enter:

    • Package name: net.johnlazarus.evmileagetracker
    • SHA-1 fingerprint: 4E:01:70:35:AE:46:6C:6D:0B:ED:0D:62:71:21:0A:65:26:21:C0:3C

    iPhone — choose iOS apps → Add, then enter:

    • Bundle ID: johnlazarus.EV-Mileage-Tracker
  3. Under API restrictions choose Restrict key, tick Places API (New) and Routes API, and click Save.
  4. Copy the key.

Using both an iPhone and an Android phone? Make one key for each.

4. Add it to the app

Settings → Trip planner → Your own Google key → paste → Test key.

Optional: never pay anything

Google gives every billing account free usage each month and sets the amounts per country. See the current amounts on Google’s official pricing page.

Privacy

Your key stays on your phone, protected by the iPhone Keychain or Android Keystore. It is sent only to Google and nowhere else. Remove it any time from the same screen.

If it doesn’t work