@pinwheel/react-native-pinwheel 3.2.4 → 3.2.5
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.
|
@@ -84,7 +84,7 @@ class Pinwheel : FrameLayout {
|
|
|
84
84
|
Handler(Looper.getMainLooper()).post {
|
|
85
85
|
if (this.pinwheelFragment == null) {
|
|
86
86
|
this.token?.let {
|
|
87
|
-
val pinwheelFragment = PinwheelFragment.newInstance(it, "react native", "3.2.
|
|
87
|
+
val pinwheelFragment = PinwheelFragment.newInstance(it, "react native", "3.2.5", getReactNativeVersion(), this.handleInsets)
|
|
88
88
|
pinwheelEventListener?.let { listener ->
|
|
89
89
|
pinwheelFragment.pinwheelEventListener = listener
|
|
90
90
|
}
|
package/ios/RTNPinwheelView.mm
CHANGED
|
@@ -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.2.
|
|
46
|
+
self.pinwheelWrapperVC = [[PinwheelWrapperVC alloc] initWithToken:self.token delegate:self sdk:@"react native" version: @"3.2.5"];
|
|
47
47
|
[self addSubview:self.pinwheelWrapperVC.view];
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -135,7 +135,7 @@ Class<RCTComponentViewProtocol> RTNPinwheelCls(void)
|
|
|
135
135
|
|
|
136
136
|
- (void)initPinwheelWrapperVC {
|
|
137
137
|
if (self.token != nil && self.pinwheelWrapperVC == nil) {
|
|
138
|
-
self.pinwheelWrapperVC = [[PinwheelWrapperVC alloc] initWithToken:self.token delegate:self sdk:@"react native" version: @"3.2.
|
|
138
|
+
self.pinwheelWrapperVC = [[PinwheelWrapperVC alloc] initWithToken:self.token delegate:self sdk:@"react native" version: @"3.2.5"];
|
|
139
139
|
[self addSubview:self.pinwheelWrapperVC.view];
|
|
140
140
|
}
|
|
141
141
|
}
|