google/secrets-gradle-plugin

Is not reading the key values

johnjeremih opened this issue · 8 comments

I added as is displayed in the documentation and doesn't work
image
image

Can you provide details on the error you are seeing (if any)?

/Users/johndelacruz/Documents/development/android/kotlin/seattap-android/app/src/main/AndroidManifest.xml:64:13-51 Error: Attribute meta-data#com.google.android.geo.API_KEY@value at AndroidManifest.xml:64:13-51 requires a placeholder substitution but no value for <GOOGLE_MAPS_API_KEY> is provided. /Users/johndelacruz/Documents/development/android/kotlin/seattap-android/app/src/main/AndroidManifest.xml Error: Validation failed, exiting

image
image

The key GOOGLE_MAPS_API_KEY should be in your local.properties file, not gradle.properties (unless you explicitly configured the plugin to read from that file instead).

Thank you!

For some reason when adding the variables like this ${GOOGLE_MAPS_KEY} on the value.
image

The program compiles, but it gives me this error.
image

Hi @johnjeremih, the issue you pasted is unrelated to this library. Looks like you need to request those permissions in your app to remove that warning. Closing this.

@arriolac It is related because it is happening in two of my apps. Please see the image below. When I remove the variable the problem disappears. I just added a video.

Screen.Recording.2021-08-09.at.2.37.51.PM.mov

image

Perhaps an issue with Android Studio? This plugin doesn't modify app permissions so I'm having trouble trying to draw a correlation between the two.