How to protect .apk file generated from Visual studio from tampering ?

V, Kavyasri 41 Reputation points
2023-02-02T08:51:13.74+00:00

We have developed the app using Xamarin Android native.

While decompiling the apk we can see the manifest file is accessible and able to add debug options.How to protect it ?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,291 Reputation points Microsoft Vendor
    2023-02-03T03:24:33.7933333+00:00

    Hello,

    For how to protect the Xamarin Android project, you can refer to this section of the official documentation:

    Protect the Application Prevent users or attackers from debugging, tampering, or reverse engineering the application by disabling debugging, obfuscating the managed code, adding anti-debug and anti-tamper, and using native compilation.

    Please refer to Protect the Application to get more details.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful