How to prevent Admob ad ids from leaked by android hackig app

I have developed an android app. All the things are working fine but the main problem is, using the Hack App Data anyone can see the ad codes which is a very dangerous threat.

Now how can i prevent hack app to open my application or edit my application data or how can i prevent hack app data to access this sensitive information?

note: I have turned off android:exported="false" and also add <permission android:protectionLevel="signature" android:name="apricot.com.newshunt"/> to my menifest file

1 answer

  • answered 2018-07-11 10:29 amit

    you can set the Copy Protection to On in the Android Market upload page. It's near the bottom. I doubt it is fool-proof but it can help keep some of the people likely to do this from being able to.

    You should add the view in Java instead of XML and obfuscate your code.