Multiple API keys in the same Android project

后端 未结 4 984
既然无缘
既然无缘 2021-01-15 06:26

Is it possible to specify multiple keys for Google Maps Android API in the same code base?

It looks like I have to change the key in manifest file each time I change

4条回答
  •  臣服心动
    2021-01-15 07:11

    AFAIK, there is no programmatical form on doing this. For comodity, you can define API keys in strings.xml, and retrieve it from the manifest

提交回复
热议问题