cm-sdk-react-native-v3 3.2.0 → 3.2.2

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.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # ``consentmanager CMP SDK v3.2.0``
1
+ # ``consentmanager CMP SDK v3.2.1``
2
2
 
3
3
  # cm-sdk-react-native-v3
4
4
 
@@ -96,5 +96,5 @@ dependencies {
96
96
  //noinspection GradleDynamicVersion
97
97
  implementation "com.facebook.react:react-native:+"
98
98
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
99
- implementation "net.consentmanager.sdkv3:cmsdkv3:3.2.0"
99
+ implementation "net.consentmanager.sdkv3:cmsdkv3:3.2.1"
100
100
  }
@@ -117,4 +117,9 @@ RCT_EXTERN_METHOD(resetConsentManagementData:(RCTPromiseResolveBlock)resolve
117
117
  RCT_EXTERN_METHOD(getATTAuthorizationStatus:(RCTPromiseResolveBlock)resolve
118
118
  withRejecter:(RCTPromiseRejectBlock)reject)
119
119
 
120
+ + (BOOL)requiresMainQueueSetup
121
+ {
122
+ return YES;
123
+ }
124
+
120
125
  @end
@@ -299,4 +299,9 @@ class CmSdkReactNativeV3: NSObject {
299
299
  reject("ERROR", "ATT is only available on iOS 14 and later", nil)
300
300
  }
301
301
  }
302
+
303
+ @objc
304
+ static func requiresMainQueueSetup() -> Bool {
305
+ return true
306
+ }
302
307
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cm-sdk-react-native-v3",
3
- "version": "3.2.0",
3
+ "version": "3.2.2",
4
4
  "description": "Consent Management React Native Library by consentmanager.net",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
15
15
  s.source = { :git => "https://github.com/iubenda/cm-sdk-react-native-v3.git", :tag => "#{s.version}" }
16
16
 
17
17
  s.source_files = "ios/**/*.{h,m,mm,swift}"
18
- s.dependency "cm-sdk-ios-v3", "3.1.1"
18
+ s.dependency "cm-sdk-ios-v3", "3.2.0"
19
19
 
20
20
  # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
21
21
  # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.