cocoapods-flutter

cocoapods plugin for integration Flutter easily.

Installation

Precondition Before you use cocoapods-flutter, make sure binary server and archive CI tool is ready. I provide you an archive tool and a binary server. Click link below and redirect to another repository.

BinaryServer FlutterArchiveTool

Gem install

$ gem install cocoapods-flutter

Or download source code build gem on your own

$ gem install cocoapods-flutter.gem

Config environment

$ export FLUTTER_BINARY_SERVER_BASEURL=https://www.example.com

Here is simple binary server

Usage

In Podfile

Case 1

flutter_pod 'package_name', '0.0.1', :mode=>'debug/release', :sdk_version=>'1.12.13'

package_name Name of package :sdk_version Flutter sdk version,default is 1.12.13 :mode Download binary package of version of debug/release from binary server. On mode debug, of course you can attach, and on mode release, yeah it is just release.

Case 2

flutter_pod 'PACKAGE_NAME', :path=>'local/module/path'

:path Local path of module

and pod install