Install via Cordova
Qonversion Plugin package is available on npm. Add it to your project with:iOS requirements
Starting from plugin version 7.10.0 the native iOS dependency (QonversionSandwich and the Qonversion iOS SDK) is resolved through Swift Package Manager on cordova-ios 8 and through CocoaPods on older cordova-ios:
The iOS deployment target must be 13.0 or higher. cordova-ios 8 uses 13.0 by default; on cordova-ios 6/7 add the preference to your
config.xml, otherwise CocoaPods refuses to install the pod:
On cordova-ios 8 the CocoaPods tool must still be installed even though nothing is downloaded from it: cordova-ios keeps processing the plugin’s CocoaPods declarations, writes a Podfile without any pods and runs
pod install.Troubleshooting
CocoaPods was not foundduringcordova plugin addorcordova build— install CocoaPods (sudo gem install cocoapodsorbrew install cocoapods). On cordova-ios 8, if the plugin was added while CocoaPods was missing, re-add the iOS platform (cordova platform rm ios && cordova platform add ios) rather than only the plugin, otherwise Xcode reportsConflicting identity for cordova-plugin.The platform of the target ... (iOS 11.0) is not compatible with QonversionSandwichon cordova-ios 6/7 — add thedeployment-targetpreference above and runcordova platform rm ios && cordova platform add ios.- A
Qonversionpod declared in your own Podfile — remove it: the sandwich pins the native SDK exactly, a second copy produces duplicate symbols.