A simple, cross-platform Geocaching app built with Compose Multiplatform.
Supports OpenCaching sites through OKAPI.
It's fully automated thanks to 1Password.
Run ./setup_credentials
script from the project root. It creates, among
other stuff, an .env
file with all the required secrets, encoded as
1Password secret references
Export values from the .env
file into the current shell environment:
while read -r line; do export "$line"; done < .env
To run a command that requires secrets in the form of environment variables,
prefix it with [op run
][oprun], for example:
op run -- bundle exec fastlane ios tst
This project uses Cirrus CI for CI and CD.
op run -- cirrus run \
--output simple \
--lazy-pull \
--env CIRRUS_BRANCH=master \
--env OP_SERVICE_ACCOUNT_TOKEN="$(op read "op://Personal/1Password/service accounts/3eyjcas2mkzd4yh4jmwgd7xzoa")" \
'Deploy iOS app'
[!NOTE]
This file is automatically created by thesetup_credentials
script.
To display the map, a Google Maps API key is needed. It can be obtained through
Google Cloud Console. Once you have the key, paste it into
composeApp/src/androidMain/res/values/google_maps_api_key.xml
:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="google_maps_key" translatable="false">API_KEY_HERE</string>
</resources>