Hi Petr, Here are some instructions for removing Tentacle from your build. We do not distribute the tentacle SDK due to licensing restrictions.
The Tentacle SDK provides Bluetooth timecode sync with Tentacle Sync devices. It’s not distributed to licensees, so you need to strip it before building. There are 5
files to edit and 3 files to delete.
Files to Edit
1. pubspec.yaml — Remove the dependency
flutter_tentacle:
path: ../../Flutter/FlutterTentacle
2. lib/main.dart — Remove all Tentacle usage
a) Delete the import:
import ‘package:flutter_tentacle/tentacle.dart’;
b) In the shutdown() function, delete:
TentaclePlugin.shutdown();
c) In _VcamAppState.build(), delete the TentacleDeviceManager provider :
Provider(
create: (\_) \=\> TentacleDeviceManager(),
dispose: (\_, provider) \=\> provider.dispose(),
),
d) In the same method, remove TentacleTimecodeSource registration:
manager.registerSource(TentacleTimecodeSource());
e) In the localizationsDelegates list, delete (line 169):
...TentacleLocalizations.localizationsDelegates,
3. IOS/Podfile — Remove the Tentacle configuration
Delete the entire configure_flutter_tentacle function definition:
# Configure the Pods project with build information necessary for flutter_tentacle.
# … (entire block through `end`)
And remove its call in post_install:
configure_flutter_tentacle(installer)
4. assets/licenses/manifest.json — Remove the license entry
Find and delete this key-value pair:
“Tentacle SDK”: {“version”: “5.0.1”, “file”: “…”},
Files to Delete
1. ffigen_tentacle.yaml — FFI bindings config for the Tentacle C SDK
2. lib/tentacle/api/tentacle_ffi.g.dart — Auto-generated FFI bindings (and the lib/tentacle/ directory if empty after)
3. assets/licenses/text/2f46753e11435a8cd42019e72b05fc62 — Tentacle SDK license text
After All Changes
# Clean generated plugin registrations
flutter clean
# Re-resolve dependencies (this regenerates .flutter-plugins)
flutter pub get
# For iOS, re-install pods
cd IOS && pod install && cd ..