To update tlfs or tlfsc run
dart run tlfs:download_tlfs
Whenever the schema is changed in assets/todoapp.tlfs
, it needs to be recompiled using
the bin/build_schema.dart
script.
dart run tlfs:build_schema
flutter:
assets:
- assets/todoapp.tlfs.rkyv
install(FILES "../build/tlfs/linux/libtlfs.so" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
COMPONENT Runtime)
mkdir -p android/app/src/main/jniLibs/arm64-v8a
ln -s build/tlfs/android/libltfs.so android/app/src/main/jniLibs/arm64-v8a/libtlfs.so
Create a new plugin or copy packages/tlfs_ios
. Symlink the static library
ln -s build/tlfs/ios/libtlfs.a packages/tlfs_ios/ios/libtlfs.a
and add it to the podspec file.
s.static_framework = true
s.vendored_libraries = '**/*.a'
and finally add the plugin to your dependencies
dependencies:
tlfs_ios:
path: packages/tlfs_ios
Apache-2.0 OR MIT