flutter_minizip_ffi_bindings

Creator: coderz1093

Last updated:

0 purchases

flutter_minizip_ffi_bindings Image
flutter_minizip_ffi_bindings Images
Add to Cart

Description:

flutter minizip ffi bindings

flutter_minizip_ffi_bindings #
FFI bindings for zlib-ng/minizip-ng 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

You can use build_minizip_mobile


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
copied to clipboard

cd example && flutter run

Run example on iOS #

Build your iOS libminizip

You can use build_minizip_mobile


Copy built libminizip.3.0.dylib and include/ into example/ios/Runner/minizip/

example/ios/Runner/minizip/
├── include
│   ├── mz.h
│   ...
│   └── mz_zip_rw.h
└── libminizip.3.0.dylib
copied to clipboard

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

You can use build_minizip_mobile


import 'package:flutter_minizip_ffi_bindings/flutter_minizip_ffi_bindings.dart';

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.