dart-lang / sdk

The Dart SDK, including the VM, dart2js, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
9.96k stars 1.53k forks source link

Dart code obfuscator #43706

Open Defuera opened 3 years ago

Defuera commented 3 years ago

It would be great to have official obfuscator for dart projects. The goal is to be able to distribute "closed source" packages and SDKs.

Since it's not possible to distribute binaries the only way I see to make harder to get access to package source code is to have it obfuscated.

My own goal is to distribute flutter SDK which would be used for iOs and Android projects, but I believe generic solution would make sense.

PS. This solution is not acceptable, because my SDK will be consumed by flutter project, so I need expose dart code.

BenevidesLecontes commented 1 year ago

This a must-have feature, we're seeking for this.