cm-sdk-react-native-v3 3.5.0 → 3.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,8 +41,10 @@ class CmSdkReactNativeV3Module(reactContext: ReactApplicationContext) :
41
41
  urlConfig = UrlConfig("", "", "", "")
42
42
  webViewConfig = ConsentLayerUIConfig(
43
43
  position = ConsentLayerUIConfig.Position.FULL_SCREEN,
44
+ backgroundStyle = ConsentLayerUIConfig.BackgroundStyle.dimmed(android.graphics.Color.BLACK, 0.5f),
44
45
  cornerRadius = 0f,
45
46
  respectsSafeArea = true,
47
+ isCancelable = false,
46
48
  allowsOrientationChanges = true
47
49
  )
48
50
  }
@@ -80,8 +82,10 @@ class CmSdkReactNativeV3Module(reactContext: ReactApplicationContext) :
80
82
 
81
83
  this.webViewConfig = ConsentLayerUIConfig(
82
84
  position = position,
85
+ backgroundStyle = ConsentLayerUIConfig.BackgroundStyle.dimmed(android.graphics.Color.BLACK, 0.5f),
83
86
  cornerRadius = (config.getDouble("cornerRadius") ?: 0.0).toFloat(),
84
87
  respectsSafeArea = config.getBoolean("respectsSafeArea"),
88
+ isCancelable = false,
85
89
  allowsOrientationChanges = config.getBoolean("allowsOrientationChanges")
86
90
  )
87
91
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cm-sdk-react-native-v3",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
4
  "description": "Consent Management React Native Library by consentmanager.net",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",