-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
App: ElementX AndroidApp: ElementX iOST-User StoryTeam: Element X FeatureX-Needs-SignoffStories and Epics which are ready for review by product, design and QAStories and Epics which are ready for review by product, design and QA
Description
- As a maintainer of a fork
- I want to be able to use my own provider for
- the map tile server
- the static map images API
- so that I can pick the option that works for my budget and privacy concerns
Size estimate
M
Dependencies
Acceptance criteria
- The app does not value the tile server setting from
.well-known
because this doesn't cover static maps and will likely require a holistic redesign later - Setting the API key or replacing the map provider URLs in forks is easy enough (e.g. dedicated file or interface)
- There is documentation in the repositories that explains how to replace the API key and URLs in forks
- The API keys used for Element's apps must not be put in the source code but rather they must be baked into the .apk/.ipa at build time using a GitHub Actions secret
- For local builds (during development) a dev-only API key must be used in place of the platform-specific ones
Other
- It looks like we are already using a "provider" mechanism for allowing different push notification providers. In the android code is called "pushproviders" perhaps we could create a similar architecture for maps (e.g. a map providers interface which will have multiple implementations: maptiler... and perhaps others)
Out of scope
- Nothing
Subtasks
### Android
- [ ] https://github.com/vector-im/element-x-android/pull/886
### iOS
- [ ] https://github.com/vector-im/element-x-ios/pull/1313
- [ ] https://github.com/vector-im/element-x-ios/pull/1364
### Other
Metadata
Metadata
Assignees
Labels
App: ElementX AndroidApp: ElementX iOST-User StoryTeam: Element X FeatureX-Needs-SignoffStories and Epics which are ready for review by product, design and QAStories and Epics which are ready for review by product, design and QA