-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
  • 877
  • 1
  • 9
  • 22
  • Possible duplicate of [How to avoid reverse engineering of an APK file?](https://stackoverflow.com/questions/13854425/how-to-avoid-reverse-engineering-of-an-apk-file) – Zoe May 21 '18 at 12:39
  • would you please tell in which file you were seeing it in decompiled app? does it go to strings.xml? – user2425109 Sep 17 '18 at 13:58
  • How did you decompile? I have tried and could not find gradle.properties – abhishek maharajpet Jun 09 '23 at 16:20

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
  • 543
  • 1
  • 4
  • 21