diff --git a/CHANGELOG.md b/CHANGELOG.md index a7e5c86..bfbfeb7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ The changelog for `Superwall`. Also see the [releases](https://github.com/superwall/react-native-superwall/releases) on GitHub. +## 2.1.7 + +### Fixes + +- Fixes issue with `enableExperimentalDeviceVariables`. + ## 2.1.6 ### Enhancements diff --git a/ios/Json/SuperwallOptions+Json.swift b/ios/Json/SuperwallOptions+Json.swift index 7c5d4f4..778a48a 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? Bool + dictionary["enableExperimentalDeviceVariables"] as? Bool ?? false let superwallOptions = SuperwallOptions() superwallOptions.paywalls = paywalls diff --git a/package.json b/package.json index c77c7b6..1d89a56 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@superwall/react-native-superwall", - "version": "2.1.6", + "version": "2.1.7", "description": "The React Native package for Superwall", "main": "lib/commonjs/index", "module": "lib/module/index",