flutter_minizip_ffi_bindings 0.1.4
flutter_minizip_ffi_bindings: ^0.1.4

Flutter Android iOS

FFI bindings for [nmoinvaz/minizip](https://github.com/nmoinvaz/minizip) made using [dart-lang/ffigen](https://github.com/dart-lang/ffigen) and trivial trick.

flutter_minizip_ffi_bindings #

FFI bindings for nmoinvaz/minizip made using dart-lang/ffigen and trivial trick.

Notes #

This package does not include binary library of minizip.

Build your libminizip and add to your app project or example project.

Run example on Android #

  • Build your android libminizip
  • Copy built libminizip.so into example/android/app/src/main/jniLibs/
example/android/app/src/main/jniLibs/
├── arm64-v8a
│   └── libminizip.so
├── armeabi-v7a
│   └── libminizip.so
├── x86
│   └── libminizip.so
└── x86_64
    └── libminizip.so
  • cd example && flutter run

Run example on iOS #

  • Build your iOS libminizip
  • Copy built libminizip.2.5.dylib and include/ into example/ios/Runner/minizip/
example/ios/Runner/minizip/
├── include
│   ├── mz.h
│   ...
│   └── mz_zip_rw.h
└── libminizip.2.5.dylib
  • cd example && flutter run

Using this package with your app project #

  • Add this package as dev_dependency in your pubspec.yaml
  • Build your libminizip and add libminizip to your app's native project
  • import 'package:flutter_minizip_ffi_bindings/flutter_minizip_ffi_bindings.dart';
1
likes
90
pub points
0%
popularity

FFI bindings for [nmoinvaz/minizip](https://github.com/nmoinvaz/minizip) made using [dart-lang/ffigen](https://github.com/dart-lang/ffigen) and trivial trick.

Repository (GitLab)
View/report issues

Documentation

API reference

Uploader

yt0316dev@gmail.com

License

BSD (LICENSE)

Dependencies

ffi, flutter

More

Packages that depend on flutter_minizip_ffi_bindings