DEV Community

Discussion on: Hide your api keys from your android manifest file with Flutter using local.properties

Collapse
 
uchihasharukh profile image
uchihasharukh

how to access this key in the app??

Collapse
 
no2s14 profile image
Steve • Edited

You will need to write plateform channels to do that.
Since we've declared a variable in our gradle, it will be avaible for use in Java/Kotlin under the BuildConfig class.