From 1bb334cee2fb44fd78c77a559675c940a53d4212 Mon Sep 17 00:00:00 2001 From: Nikita Dudin Date: Fri, 13 Jun 2025 20:34:12 +0300 Subject: [PATCH 1/2] Set the default value to false for the enableExperimentalDeviceVariables parameter --- ios/Json/SuperwallOptions+Json.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 25e9bd27b3e12fa7b2f32d9256224f6463a6d34a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yusuf=20To=CC=88r?= <3296904+yusuftor@users.noreply.github.com> Date: Fri, 13 Jun 2025 21:05:20 +0200 Subject: [PATCH 2/2] Update version --- CHANGELOG.md | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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/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",