@dp-goto Have you had any luck resolving this? I'm encountering the same issue with rn-qualtrics version 2.7.0.
No, we kept 2.5.0 for now
FYI: This is still an ongoing isue in 2.11.0, I wonder if they test there code.
Anyway a patch commenting the faulty code allow me to continue:
File: react-native-qualtrics+2.11.0.patch
diff --git a/node_modules/react-native-qualtrics/ios/RNQualtricsDigital.swift b/node_modules/react-native-qualtrics/ios/RNQualtricsDigital.swift
index 4e59595..2acc45f 100644
--- a/node_modules/react-native-qualtrics/ios/RNQualtricsDigital.swift
+++ b/node_modules/react-native-qualtrics/ios/RNQualtricsDigital.swift
@@ -291,7 +291,8 @@ class RNQualtricsDigitalImpl: NSObject {
@objc(setLastDisplayTimeForIntercept:)
func setLastDisplayTimeForIntercept(_ interceptId: String) {
- Qualtrics.shared.properties.setLastDisplayTimeForIntercept(for: interceptId)
+ // For an unknown reason this is linked to something not existing, commenting it out allow us to make the project compile and boot.
+ //Qualtrics.shared.properties.setLastDisplayTimeForIntercept(for: interceptId)
}
@objc(setNotificationIconAsset:)
I spoke too fast, and it was our fault and not theirs, we were hardcoding the iOS Qualtrics SDK pod version to 2.9.1, upgrading to 2.31.0 fixed the issue