skip to Main Content

I am building an SDK in Flutter and my client said that is should be closed source. For native IOS and Android I have created flutter module and compiled them to binary .framework and .aar files. I can use these binaries in a Navtive app but for Flutter it is not working because in every Flutter project contains its own Flutter and the flutter inside my sdk is overlooked and not being shown. So basically at this point I gave up on the idea of installing the Flutter module in binary format to a Flutter project. Is there any other way of creating a Flutter plugin which is closed source?

2

Answers


  1. This answer can help you. It exposes a few solution to archive an opaque interface to flutter code, using Dart snapshots.

    Login or Signup to reply.
  2. Yeah, it is possible.

    Flutter has a way to integrate with unpublished (private) packages.

    Check out this link: https://docs.flutter.dev/packages-and-plugins/using-packages#dependencies-on-unpublished-packages

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search