...
That’s it, this new task will run, obfuscate your project and the packaged dll will be obfuscated.
Config explanation:
In the first part, we create an ObfuscationConfigXml
that we’ll pass to the obfuscator, there, we pass an inPath
and AssemblySearchPath
to be able to link libraries. As you can see Note:
As seen in the example config, KeepPublicApi
is set to true
, so it which means that public methods will be kept as is. It can be set to false
for better obfuscation but please note that it is likely to break the app because of .NET bindings not being able to interact with native iOS/Android APIs.