Skip to content

Building apps with closed source dependencies #51362

@dmjones

Description

@dmjones

Use case

A start-up has patented a cunning new way of compressing data and has developed a Flutter package that implements it.

They want to sell copies of this library to Flutter app developers who value this capability. They don't want to release the source code publicly (to pub.dev), because they consider the contents to include proprietary information. They realise reverse engineering can eventually unpick everything, but they would still prefer to ship a closed-source library.

Proposal

  1. Flutter to add support for building against AOT-compiled Dart code. Perhaps this would be a new dependency source type (e.g. "native")?
dependencies:
  transmogrify:
    native: /Users/me/transmogrify.bin
  1. Flutter to add support for building closed-source packages for distribution. This might be a variant of the flutter build commands, which outputs the compiled library (and any associated metadata).

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: new featureNothing broken; request for a new capabilitydependency: dartDart team may need to help us

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions