The Readium LCP persistence layer was extracted to allow applications to provide their own implementations. The previous implementation is now part of a new package, ReadiumAdapterLCPSQLite, which you need to use to maintain the same behavior as before.
To use ReadiumAdapterLCPSQLite, you must update your imports and the dependencies included in your project:
Swift Package Manager:
Add the ReadiumAdapterLCPSQLite package to your project dependencies.
Carthage:
Update the Carthage dependencies and make sure the new ReadiumAdapterLCPSQLite.xcframework was built.
Add this new framework to your project dependencies.
CocoaPods:
Update the pod statements in your Podfile with the following, before running pod install:
pod 'ReadiumAdapterLCPSQLite', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/3.0.0/Support/CocoaPods/ReadiumAdapterLCPSQLite.podspec'
Then, provide the adapters when initializing the LCPService.
The Readium LCP persistence layer was extracted to allow applications to provide their own implementations. The previous implementation is now part of a new package,
ReadiumAdapterLCPSQLite
, which you need to use to maintain the same behavior as before.To use
ReadiumAdapterLCPSQLite
, you must update your imports and the dependencies included in your project:ReadiumAdapterLCPSQLite
package to your project dependencies.ReadiumAdapterLCPSQLite.xcframework
was built.pod
statements in yourPodfile
with the following, before runningpod install
:Then, provide the adapters when initializing the
LCPService
.