nativescript-google-maps-sdk
nativescript-google-maps-sdk copied to clipboard
Android- programmatically specify API key?
We dynamically inject various API keys during the build step depending on the environment. We're able to do this for iOS with GMSServices.provideAPIKey, but for Android is there a way to not use the XML file but instead specify the key via an API call? Thanks!
do you find a solution for this problem? i am stuck to on this thing
Is it possible to use this solution with that plugin?
@neil-119 , how did you do it for iOS?
Maybe this is of help to anyone ending here, it's not exactly programmatically but editing the XML files on build: https://github.com/dapriett/nativescript-google-maps-sdk/issues/307#issuecomment-924696828