To update tlfs or tlfsc run
dart run tlfs:download_tlfsWhenever the schema is changed in assets/todoapp.tlfs, it needs to be recompiled using
the bin/build_schema.dart script.
dart run tlfs:build_schemaflutter:
assets:
- assets/todoapp.tlfs.rkyvinstall(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.soCreate a new plugin or copy packages/tlfs_ios. Symlink the static library
ln -s build/tlfs/ios/libtlfs.a packages/tlfs_ios/ios/libtlfs.aand 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_iosApache-2.0 OR MIT