diff --git a/CHANGELOG.md b/CHANGELOG.md index e7f2140..a7e5c86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ The changelog for `Superwall`. Also see the [releases](https://github.com/superwall/react-native-superwall/releases) on GitHub. +## 2.1.6 + +### Enhancements + +- Upgrades iOS SDK to 4.5.0 [View iOS SDK release notes](https://github.com/superwall/Superwall-iOS/releases/tag/4.5.0). + +### Fixes + +- Fixes issue with `enableExperimentalDeviceVariables`. + ## 2.1.5 ### Enhancements diff --git a/ios/Json/SuperwallOptions+Json.swift b/ios/Json/SuperwallOptions+Json.swift index d16b3fd..7c5d4f4 100644 --- a/ios/Json/SuperwallOptions+Json.swift +++ b/ios/Json/SuperwallOptions+Json.swift @@ -18,7 +18,7 @@ extension SuperwallOptions { let isGameControllerEnabled = dictionary["isGameControllerEnabled"] as? Bool ?? false let storeKitVersion = dictionary["storeKitVersion"] as? String let enableExperimentalDeviceVariables = - dictionary["enableExperimentalDeviceVariables"] as? String + dictionary["enableExperimentalDeviceVariables"] as? Bool let superwallOptions = SuperwallOptions() superwallOptions.paywalls = paywalls diff --git a/package.json b/package.json index 9435f7e..c77c7b6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@superwall/react-native-superwall", - "version": "2.1.5", + "version": "2.1.6", "description": "The React Native package for Superwall", "main": "lib/commonjs/index", "module": "lib/module/index", diff --git a/superwall-react-native.podspec b/superwall-react-native.podspec index 4e81009..d333254 100644 --- a/superwall-react-native.podspec +++ b/superwall-react-native.podspec @@ -15,7 +15,7 @@ Pod::Spec.new do |s| s.source = { :git => "https://github.com/superwall/Superwall-React-Native.git", :tag => "#{s.version}" } s.source_files = "ios/**/*.{h,m,mm,swift}" - s.dependency "SuperwallKit", '4.4.1' + s.dependency "SuperwallKit", '4.5.0' # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0. # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.