-1

Today i tried and decompile my product apk and seen the values which i defined in gradle.properties. I really shock, my authentication details shown to everyone like when some body try to decompile my product apk.

Any guess and ideas how will protect those information from others. In My product - i am using some slat key / htaccess username and password. Those details wants to protect from others.

Suggestion pls.

Saikumar
  • 825
  • 1
  • 8
  • 21

1 Answers1

0

First of all use proGuard to protect your source code against decompiling. you can read about it here: proGuard

For storing your users informations like usernames and passwords you can use firebase authentication . I believe it is the most powerful and secure way to store such informations. You can also read about it here: firebase authentication

Soroosh
  • 195
  • 1
  • 15