Code Obfuscation with the Microsoft Store

Hey, everyone. I have a question regarding submitting our app to the Microsoft store. We are almost ready with it, but before doing so we wanted to discuss ways of securing our app once it is in the Microsoft store. We know there is a code obfuscation feature that comes out of the box, but I also found this answer from the Microsoft forums that states that code obfuscation is forbidden for the Microsoft store. We don’t want to risk the submission, so does anyone have experience with obfuscating a Flutter app for the Microsoft store? Is it safe? Anything that we need to know beforehand? Thank you in advance!

Just don’t care about the obfuscation. It is not like you can easily convert a Flutter application back to maintainable code and it is not like obfuscation are preventing bad actors from extracting secret algorithms from your application. It just makes it a bit harder but nowhere near impossible so any benefits of obfuscation are rather limited.

Also, your application should not contain any secrets which could harm your business since you should never expect local running code to be safe from manipulations.

@julemand101 While I agree it is more of a deterrence, it still makes sense if it is out of the box, and we’d like to be thorough and make sure we’ve covered our bases.

Thank you for the secrets related advice, we’ve already optimized that.

Just be aware that the builtin obfuscator in Flutter are really not that great since it basically just removes method and calss names. It does not add or shuffle any new logic to the code that makes it harder to understand what is going on which is something you would see with more professional obfuscation tooling.