In the Xamarin Forms Prepare for Release guide mentioned, we should use Dotfuscator to protect code.
However, I have been trying this and testing in different settings for about two days now. Result is horrifying.
DI across platform with DependencyService, Dotfuscator doesn't support. So, all cross platform services can't be Dotfuscatored.
Custom Renderer, which is also cross platform, Dotfuscator doesn't support. So, all Custom Renderers can't be Dotfuscatored.
MVVM, Dotfuscator doesn't support. So, views, pages, view models, page models, can't be Dotfuscatored.
Unity DI, Dotfuscator doesn't support. So, all services which depend on DI can't be Dotfuscatored.
Entities, obviously can't Dotfuscator this, all DB table names, column names are mapped with entities.
So, what's left? Static helpers and single classes if you have any. If this is true, seems like not much point to consider Dotfuscator at all.
If anyone has experience with Dotfuscator, please share, please let me know if I'm doing anything wrong. Any suggestions are welcome.
Thanks in advance.