Multiple API keys in the same Android project

后端 未结 4 982
既然无缘
既然无缘 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:23

    I added both keys in the manifest at once. Like this

    
    
    
            
            
    
            
            
    
        
    
    
    

    Apparently, this works. Looks like Google code is smart enough to use relevant key automatically.

提交回复
热议问题