@pinwheel/react-native-pinwheel 3.3.1 → 3.4.0

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.
@@ -9,7 +9,7 @@ Pod::Spec.new do |s|
9
9
  s.description = package["description"]
10
10
  s.homepage = package["homepage"]
11
11
  s.license = package["license"]
12
- s.platforms = { :ios => "12.0" }
12
+ s.platforms = { :ios => "13.0" }
13
13
  s.author = package["author"]
14
14
  s.source = { :git => package["repository"], :tag => "#{s.version}" }
15
15
 
@@ -17,5 +17,5 @@ Pod::Spec.new do |s|
17
17
 
18
18
  install_modules_dependencies(s)
19
19
 
20
- s.dependency 'PinwheelSDK', '3.2.2'
20
+ s.dependency 'PinwheelSDK', '3.3.2'
21
21
  end
@@ -32,7 +32,7 @@ repositories {
32
32
  google()
33
33
  }
34
34
 
35
- def PW_ANDROID_SDK_VERSION = '3.2.0'
35
+ def PW_ANDROID_SDK_VERSION = '3.4.1'
36
36
 
37
37
  dependencies {
38
38
  def pwVersion = rootProject.hasProperty('pwVersion') ? rootProject.pwVersion : PW_ANDROID_SDK_VERSION
@@ -89,7 +89,7 @@ class Pinwheel : FrameLayout {
89
89
  Handler(Looper.getMainLooper()).post {
90
90
  if (this.pinwheelFragment == null) {
91
91
  this.token?.let {
92
- val pinwheelFragment = PinwheelFragment.newInstanceWithAdvancedOptions(it, "react native", "3.3.1", getReactNativeVersion(), this.handleInsets, this.useDarkMode)
92
+ val pinwheelFragment = PinwheelFragment.newInstanceWithAdvancedOptions(it, "react native", "3.4.0", getReactNativeVersion(), this.handleInsets, this.useDarkMode)
93
93
  pinwheelEventListener?.let { listener ->
94
94
  pinwheelFragment.pinwheelEventListener = listener
95
95
  }
@@ -43,7 +43,7 @@ using namespace facebook::react;
43
43
  }
44
44
 
45
45
  if (self.token != nil) {
46
- self.pinwheelWrapperVC = [[PinwheelWrapperVC alloc] initWithToken:self.token delegate:self sdk:@"react native" version:@"3.3.1" useDarkMode:self.useDarkMode];
46
+ self.pinwheelWrapperVC = [[PinwheelWrapperVC alloc] initWithToken:self.token delegate:self sdk:@"react native" version:@"3.4.0" useDarkMode:self.useDarkMode useAppBoundDomains:NO useAppBoundDomainsForNativeLink:NO];
47
47
  [self addSubview:self.pinwheelWrapperVC.view];
48
48
  }
49
49
  }
@@ -145,7 +145,7 @@ Class<RCTComponentViewProtocol> RTNPinwheelCls(void)
145
145
  }
146
146
 
147
147
  if (self.token != nil) {
148
- self.pinwheelWrapperVC = [[PinwheelWrapperVC alloc] initWithToken:self.token delegate:self sdk:@"react native" version:@"3.3.1" useDarkMode:self.useDarkMode];
148
+ self.pinwheelWrapperVC = [[PinwheelWrapperVC alloc] initWithToken:self.token delegate:self sdk:@"react native" version:@"3.4.0" useDarkMode:self.useDarkMode useAppBoundDomains:NO useAppBoundDomainsForNativeLink:NO];
149
149
  [self addSubview:self.pinwheelWrapperVC.view];
150
150
  }
151
151
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinwheel/react-native-pinwheel",
3
- "version": "3.3.1",
3
+ "version": "3.4.0",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",