mirror of
https://github.com/googlemaps/android-samples.git
synced 2025-12-08 18:02:20 +00:00
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:
parent
5095437b57
commit
5ea1951521
@ -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"
|
||||
}
|
||||
|
||||
@ -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" />
|
||||
|
||||
@ -1 +1 @@
|
||||
GOOGLE_MAPS_API_KEY=DEFAULT_API_KEY
|
||||
MAPS_API_KEY=DEFAULT_API_KEY
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user