Migration Guide: From 9.6 to 9.7
Starting with release 9.7, the Document Reader SDK Flutter plugin supports Swift Package Manager (SPM). You can continue using CocoaPods or switch to SPM to manage iOS dependencies.
See the Flutter migration options below.
Mobile Hybrid SDK
Flutter
CocoaPods
To continue using CocoaPods with SDK 9.7 and later, add the Regula Specs repository as a dependency source in your project ios/Podfile:
Podfile
source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/regulaforensics/podspecs.git'
...
Podfile
source 'https://github.com/CocoaPods/Specs.git'
...
All other CocoaPods installation steps remain unchanged.
Swift Package Manager
To use Swift Package Manager, run the following commands from the root directory of your Flutter project:
flutter config --enable-swift-package-manager
flutter pub get
flutter run
For details, see Installation on Flutter.
For details about the Flutter API, see Flutter API Reference Documentation.