I am growing a Flutter SDK that I wish to distribute to integrators with out exposing my supply code. I’ve seen packages like zolozkit_for_flutter
on pub.dev that do not present their supply code (GitHub hyperlink) however are nonetheless out there to be used.
My necessities:
- Shield proprietary implementation particulars
- Permit simple integration by way of pub.dev or non-public repository
- Stop reverse engineering as a lot as attainable
My venture is at the moment structured as a Flutter module.
What is the advisable strategy to transform this right into a binary-only bundle much like zolozkit_for_flutter
?
Particularly:
- The best way to compile to binary artifacts (AAR/Framework)?
- What ought to the bundle construction seem like?
- The best way to correctly reference these binaries in pubspec.yaml?
- Can I nonetheless publish to pub.dev with out exposing a supply repository?
Any examples or step-by-step steering could be appreciated.