@pinwheel/react-native-pinwheel 3.5.4 → 3.6.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.
package/RNPinwheelSDK.podspec
CHANGED
|
@@ -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.
|
|
92
|
+
val pinwheelFragment = PinwheelFragment.newInstanceWithAdvancedOptions(it, "react native", "3.6.0", getReactNativeVersion(), this.handleInsets, this.useDarkMode)
|
|
93
93
|
pinwheelEventListener?.let { listener ->
|
|
94
94
|
pinwheelFragment.pinwheelEventListener = listener
|
|
95
95
|
}
|
package/ios/RTNPinwheelView.mm
CHANGED
|
@@ -74,7 +74,7 @@ using namespace facebook::react;
|
|
|
74
74
|
[[PinwheelWrapperVC alloc] initWithToken:self.token
|
|
75
75
|
delegate:self
|
|
76
76
|
sdk:@"react native"
|
|
77
|
-
version:@"3.
|
|
77
|
+
version:@"3.6.0"
|
|
78
78
|
useDarkMode:self.useDarkMode
|
|
79
79
|
useAppBoundDomains:NO
|
|
80
80
|
useAppBoundDomainsForNativeLink:NO];
|
|
@@ -237,7 +237,7 @@ Class<RCTComponentViewProtocol> RTNPinwheelCls(void) {
|
|
|
237
237
|
[[PinwheelWrapperVC alloc] initWithToken:self.token
|
|
238
238
|
delegate:self
|
|
239
239
|
sdk:@"react native"
|
|
240
|
-
version:@"3.
|
|
240
|
+
version:@"3.6.0"
|
|
241
241
|
useDarkMode:self.useDarkMode
|
|
242
242
|
useAppBoundDomains:NO
|
|
243
243
|
useAppBoundDomainsForNativeLink:NO];
|
package/package.json
CHANGED
|
@@ -126,7 +126,6 @@ export type OtherEventPayload = {
|
|
|
126
126
|
export type BillSwitchPayload = {
|
|
127
127
|
platformId: string;
|
|
128
128
|
platformName: string;
|
|
129
|
-
isGuidedSwitch: boolean; // deprecated: will be removed in future version
|
|
130
129
|
isIntegratedSwitch: boolean;
|
|
131
130
|
frequency: string;
|
|
132
131
|
nextPaymentDate: string;
|