Reputation: 1512
How do we secure api keys on rooted device?
As you know we cant trust the client what we can do is make things difficult for the hacker. Following are some of the points which I know to secure keys
What can be other options?
Upvotes: 0
Views: 1369
Reputation: 74066
Have a look at the Jetpack Security Library where you can encrypt files or shared preferences.
However a good rule of thumb is if you dont want things from your app to be accessed then you should not store them locally
Upvotes: 0