Waggoner_Keith
Waggoner_Keith

Reputation: 600

Android google map api

If you sign with your own api key for the google maps will it work while your device is in debug mode to test it or will your personal api key only work when the device is live on the market?

So will my personal api key only work once my app is live on the market. I can't test my own api key out before i publish ...

Upvotes: 0

Views: 162

Answers (3)

Reno
Reno

Reputation: 33792

From the documentation :

You can get a temporary Maps API Key based on your debug certificate, but before you publish your application, you must register for a new Key based on your release certificate and update references in your MapViews accordingly

Upvotes: 1

Dimitris Makris
Dimitris Makris

Reputation: 5183

If you sign with the android keystore, the app will only work while debugging. In order your app to be able to operate correctly when published, the map key should be signed with the official keystore of the app (the one you create when exporting your application).

Hope this helps!

Upvotes: 1

Dany's
Dany's

Reputation: 928

Will work only on the market...for debugging you must get fingerprint of your debug.keystore. You find here more details. http://mobiforge.com/developing/story/using-google-maps-android

Upvotes: 1

Related Questions