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 ?

Developer technologies | .NET | Xamarin
0 comments No comments
{count} votes

Accepted answer
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,126 Reputation points Microsoft External Staff
    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.