Android Question Api key problem

TheSketchees

Member
Licensed User
Longtime User
I have an api key I wish to keep secret but I found when I open the apk file I can see it in plain text. This worries me. Is there a way I can encrypt something to be compiled so no one can just extract my apk and find the api key

Thanks
 

DonManfred

Expert
Licensed User
Longtime User
See https://www.b4x.com/android/forum/threads/probundle-chargeable.58754/
It has a helpfile/description how to can save your data.

Additionally:
You can use a b4j server app which does the connection to any host using your credentials/apikey/whatever.
And your app just talks to your b4j server and get the result from the b4j server.
In this case you dont need a apikey inside your app.
 
Upvote 0
Top