I am working on an android project and securing my code from reverse engineering using proguard. I'm facing a serious issue my code is secure like 90% secure but issue is with my web services URL. I did save URL's path in separate class like
Public class key_Strings
{
public static url="https://www.google.co.uk";
}
and say i'm using this URL in my activity like :
public class MainActivity extends Activity
{
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
String URL=key_Strings.url;
}
}
after exporting my .APK file i did apply reverse engineering tools and then at the end i get this class with anonymous name but thing is that i get the URL something like:
this.h="https://www.google.co.uk";
i want to secure my URL so need help Thanks