diff --git a/ios/KlaviyoBridge.swift b/ios/KlaviyoBridge.swift index f6ed59f..8c2ec2f 100644 --- a/ios/KlaviyoBridge.swift +++ b/ios/KlaviyoBridge.swift @@ -1,4 +1,5 @@ import KlaviyoSwift +@_spi(KlaviyoPrivate) import KlaviyoCore @objc public class KlaviyoBridge: NSObject { diff --git a/ios/klaviyo-react-native-sdk-configuration.plist b/ios/klaviyo-react-native-sdk-configuration.plist new file mode 100644 index 0000000..2da6721 --- /dev/null +++ b/ios/klaviyo-react-native-sdk-configuration.plist @@ -0,0 +1,19 @@ + + + + + + react_native_sdk_name + react_native + react_native_sdk_version + 1.0.0 + + diff --git a/klaviyo-react-native-sdk.podspec b/klaviyo-react-native-sdk.podspec index c296d6e..e39d833 100644 --- a/klaviyo-react-native-sdk.podspec +++ b/klaviyo-react-native-sdk.podspec @@ -13,6 +13,7 @@ Pod::Spec.new do |s| s.platforms = { :ios => "13.0" } s.source = { :git => "https://github.com/klaviyo/klaviyo-react-native-sdk.git", :tag => "#{s.version}" } s.source_files = "ios/**/*.{h,m,mm,swift}" + s.resources = ["ios/klaviyo-react-native-sdk-configuration.plist"] s.pod_target_xcconfig = { "DEFINES_MODULE" => "YES" }