I am using Google cloud translate in my app. I am storing the JSON service API key in the raw folder and getting access with input stream like this below
When I build my release APK and renamed it to relese.zip and extracted and find JSON in a raw folder with all API keys. Some others might do the same and use the API for their apps. How to store a JSON API key in another way.
GoogleCredentials myCredentials = GoogleCredentials.fromStream(is);