googlemaps / googlemaps/flutter-navigation-sdk

[Feature request]: Support Runtime Dynamic API Key Configuration for Google Navigation SDK for Android

Open
#517 0 comments 0 reactions 1 assignee Claimed by @jokerttu View on GitHub
status: investigating type: feature request
Dominant language
Dart
Stars
75
Forks
54
Avg merge
4d 2h
Merged PRs (30d)
5

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Use case

Summary
Request support for setting Google Navigation SDK API keys dynamically at runtime instead of requiring static configuration in AndroidManifest.xml.

Business Problem: Multiple Google Cloud Billing Accounts

Our organization operates with multiple separate Google Cloud billing accounts (different business units), and we need navigation API usage to be charged to the appropriate account based on the user.

Current Limitation:
```xml

```

Impact:
- ❌ One APK can only use ONE API key
- ❌ All navigation costs bill to ONE Google Cloud account
- ❌ Cannot route charges to appropriate billing accounts per user/region
- ❌ Forces us to build and maintain multiple APKs just to separate billing

Use Case
Scenario:
- Organization with 3 Google Cloud Organizations (separate billing accounts)
- Single mobile application used by users across all organizations
- Need navigation API costs to bill to the correct account automatically

### Proposal

Current Limitation:
```xml

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.