flutter_barcode_sdk_macos 1.0.2
flutter_barcode_sdk_macos: ^1.0.2 copied to clipboard
macOS platform implementation of flutter_barcode_sdk.
1.0.2 #
- Fixed missing Dynamsoft
Templates/andModels/resources in the built app, which causedInitSettings error -10030("Syntax error: value, object or array expected") at startup — the SDK loads them from the directory containing its dylibs, but they were buried in a.bundleinside the plugin framework.- Podspec: replaced the misused
resource_bundleswithpreserve_pathsfor theResources/folder. - Example: added a
Copy Dynamsoft Resourcesbuild phase to the Runner target that copies the folders intoContents/Resources/and exposes them inContents/Frameworks/via symlinks (placing data files inFrameworks/directly breaks code signing).
- Podspec: replaced the misused
- README: documented the required resource setup for consumers, with a
ready-to-paste
post_installsnippet formacos/Podfilethat injects the build phase automatically onpod install.
1.0.1 #
- Fixed broken install names of the bundled
libDynamicPdf.dylibandlibDynamsoftNeuralNetwork.dylib(now@rpath/...), which crashed the app at launch with "Library not loaded". - Example: raised the Podfile platform to macOS 12.0.
- Example: disabled the app sandbox — the Dynamsoft license module needs
IOKit access and a writable license cache, otherwise license activation
fails with
EC_LICENSE_BUFFER_FAILED (-20002). - Example: skip
setParameterswhengetParametersreturns an empty string (avoids-10030/EC_JSON_PARSE_FAILED).
1.0.0 #
- Initial release.
- macOS implementation of
flutter_barcode_sdkusing the Dynamsoft Barcode Reader C++ SDK (11.6.1000, universal-2 dylibs bundled). - Implements all methods of
BarcodeSdkPlatformover theflutter_barcode_sdkMethodChannel.