Use sharedDarwinSource
to share MacOS and iOS implementation details
#782
Labels
sharedDarwinSource
to share MacOS and iOS implementation details
#782
Since the MacOS implementation is very small, it is probably worth it to make use of the new
sharedDarwinSource
configuration.Then we can have a single implementation that handles both platforms, which simplifies maintenance.
See https://docs.flutter.dev/packages-and-plugins/developing-packages#shared-ios-and-macos-implementations
This will require bumping the minimum Flutter version to 3.7.0
TODO:
DetectionSpeed.swift
file is essentially the same between the two -> deduplicate itBarcodeHandler
event sink wrapper, but MacOS does not -> share it between MacOS & iOSisBarcodeInScanWindow
#777 with this refactortoggleTorch
currently has two implementations, this can be shared and deduplicatedThe text was updated successfully, but these errors were encountered: