fix: fixed secrets in wearable module (#1788)

* fix: import rememberMarkerState and use the marker state correctly

* fix: fixed secrets in wearable module

---------

Co-authored-by: dkhawk <107309+dkhawk@users.noreply.github.com>
This commit is contained in:
Enrique López Mañas 2024-08-30 17:39:09 +02:00 committed by GitHub
parent 5095437b57
commit 5ea1951521
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 2 deletions

View File

@ -65,5 +65,13 @@ dependencies {
// [END maps_wear_os_dependencies]
secrets {
// To add your Maps API key to this project:
// 1. If the secrets.properties file does not exist, create it in the same folder as the local.properties file.
// 2. Add this line, where YOUR_API_KEY is your API key:
// MAPS_API_KEY=YOUR_API_KEY
propertiesFileName = "secrets.properties"
// A properties file containing default secret values. This file can be
// checked in version control.
defaultPropertiesFileName = "local.defaults.properties"
}

View File

@ -27,7 +27,7 @@
<!-- API key for the Android Maps API v2. The value is defined in local.properties. -->
<meta-data android:name="com.google.android.geo.API_KEY"
android:value="${GOOGLE_MAPS_API_KEY}"/>
android:value="${MAPS_API_KEY}"/>
<meta-data
android:name="com.google.android.wearable.standalone"
android:value="true" />

View File

@ -1 +1 @@
GOOGLE_MAPS_API_KEY=DEFAULT_API_KEY
MAPS_API_KEY=DEFAULT_API_KEY