Quantcast
Channel: Edit an AndroidManifest when compiling to remove API-key - Stack Overflow
Browsing latest articles
Browse All 5 View Live

Answer by RAKHMATILLA TUGANOV for Edit an AndroidManifest when compiling to...

If you create Google Maps Activity from Android Studio as a template it will add needed plugin in your build.gradle file, and then you can put your API key in local.properties file and use it as...

View Article



Answer by Paul Spiesberger for Edit an AndroidManifest when compiling to...

I suggest to use Gradle to dynamically load the API key for different build types and load a dummy key if none is found. This has the advantage that also a CI can build your application without the...

View Article

Answer by Bryan Denny for Edit an AndroidManifest when compiling to remove...

Create a new *.xml file in your res/values (call it api-keys.xml or something similar).Change your manifest to point to this string:<meta-data android:name="com.google.android.maps.v2.API_KEY"...

View Article

Answer by sgarman for Edit an AndroidManifest when compiling to remove API-key

The way I have approached similar issues in the past is by using specific branches in my git repo for pubic pushes.Say you have a local master branch with your keys in the manifest. When you are ready...

View Article

Edit an AndroidManifest when compiling to remove API-key

I'm currently working on an Android project, and learning how to use git.I'm blocked because of a problem with git : I have my Google Maps api key declared in my android-manifest file :<meta-data...

View Article

Browsing latest articles
Browse All 5 View Live




Latest Images