Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can obfuscated code for Flutter package or Flutter plugin

Tags:

flutter

this doc shows how to obfuscate the flutter app. But in my case, I write a flutter package, and I don't want to provider its source code while other flutter app using this package, just like an android app using .aar as dependency. I cound not find relative doc for this situation.

flutter/issues/98633

like image 301
ke ji Avatar asked Mar 23 '26 11:03

ke ji


1 Answers

The short answer seems to be that no, there is no simple way to achieve this. Take a look at this Github issue where someone asks a similar question and it is explained that no built-in way exists to achieve this, though some suggestions are given that might be worth exploring.

like image 117
fravolt Avatar answered Mar 25 '26 23:03

fravolt