apptentive / apptentive-android

Apptentive Android SDK
http://www.apptentive.com
BSD 3-Clause "New" or "Revised" License
65 stars 64 forks source link

why is GlobalInfo.apiKey written to the logs as an info message? #121

Closed ericsavage closed 8 years ago

ericsavage commented 8 years ago

Why is the GlobalInfo.apiKey written to the logs as an info message? We are told in settings/api to Keep your API key secret.

screen shot 2016-04-24 at 11 51 21 am

https://github.com/apptentive/apptentive-android/blob/master/apptentive/src/com/apptentive/android/sdk/Apptentive.java#L1003 Log.i("API Key: %s", GlobalInfo.apiKey);

skykelsey commented 8 years ago

Hi Eric,

The API Key is not actually as sensitive as our instructions make it out to be, but I will make sure we aren't logging it in a future release. I'll have the instructions updated to make it more clear.

Thanks!