@pinwheel/react-native-pinwheel 2.5.0-alpha → 2.5.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/CHANGELOG.md +28 -7
- package/README.md +1 -1
- package/RNPinwheelSDK.podspec +2 -2
- package/android/build.gradle +3 -3
- package/android/src/main/java/com/underdog_tech/react/PinwheelViewManager.kt +1 -1
- package/constants.d.ts +1 -1
- package/constants.js +1 -1
- package/ios/RNTPinwheelView.m +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,9 +2,30 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## 2.5.x Releases
|
|
6
|
+
|
|
7
|
+
[2.5.0](#250)
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
### 2.5.0
|
|
12
|
+
|
|
13
|
+
#### Notes
|
|
14
|
+
|
|
15
|
+
We're thrilled to announce the latest version of our SDK! While you'll find that our familiar API contract remains unchanged, there's a host of improvements that make this upgrade indispensable:
|
|
16
|
+
|
|
17
|
+
- **Enhanced Redundancy**: 🛡️ We've fortified our systems, ensuring smoother recovery from integration failures for a significant percentage of our traffic.
|
|
18
|
+
- **Superior Uptime**: 🦾 Reliability is a top priority. This upgrade brings even more robust uptime for DDS integrations.
|
|
19
|
+
- **Increased Conversion**: ↗️ We are leveraging system level features to increase conversion.
|
|
20
|
+
- **Easy Upgrade**: 🥧 No changes were made to the API contract. Easy as pie.
|
|
21
|
+
|
|
5
22
|
## 2.4.x Releases
|
|
6
23
|
|
|
7
|
-
|
|
24
|
+
[2.4.0](#240)
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
### 2.4.0
|
|
8
29
|
|
|
9
30
|
- Removing `overrides` from main package.
|
|
10
31
|
- Updating example app to use newest ReactNative versions.
|
|
@@ -12,30 +33,30 @@ All notable changes to this project will be documented in this file.
|
|
|
12
33
|
|
|
13
34
|
## 2.3.x Releases
|
|
14
35
|
|
|
15
|
-
|
|
36
|
+
[2.3.4](#234) | [2.3.5](#235) | [2.3.6](#236) | [2.3.10](#2310) | [2.3.12](#2312) | [2.3.13](#2313) | [2.3.14](#2314) | [2.3.17](#2317)
|
|
16
37
|
|
|
17
38
|
---
|
|
18
39
|
|
|
19
|
-
###
|
|
40
|
+
### 2.3.17
|
|
20
41
|
|
|
21
42
|
Export `ScreenTransition` event payload type for the `screen_transition` event.
|
|
22
43
|
|
|
23
44
|
|
|
24
|
-
###
|
|
45
|
+
### 2.3.14
|
|
25
46
|
|
|
26
47
|
Remove `hermes-engine` and `shell-quote` sub-dependencies from package-lock files.
|
|
27
48
|
|
|
28
|
-
###
|
|
49
|
+
### 2.3.13
|
|
29
50
|
|
|
30
51
|
Bump `hermes-engine` and `shell-quote` sub-dependency package.
|
|
31
52
|
|
|
32
|
-
###
|
|
53
|
+
### 2.3.12
|
|
33
54
|
|
|
34
55
|
Add CircleCI scripting and local scripts.
|
|
35
56
|
- Add `npm run dev` script.
|
|
36
57
|
- Remove need for hardcoding api secret in code to run locally.
|
|
37
58
|
|
|
38
|
-
###
|
|
59
|
+
### 2.3.10
|
|
39
60
|
|
|
40
61
|
Use node 16.7.0 instead of 12.16.1 to install dependencies.
|
|
41
62
|
|
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ You may want to run the example app locally to get started.
|
|
|
8
8
|
|
|
9
9
|
#### Dependencies
|
|
10
10
|
|
|
11
|
-
- Node 16.7.0 (check with `node -v` and upgrade versions using `nvm`)
|
|
11
|
+
- Node 16.7.0 (check with `node -v` and upgrade versions using `nvm` if needed)
|
|
12
12
|
- iPhone 14 simulator (open your Simulator app and check the available versions)
|
|
13
13
|
- iOS 16 running on the simulator (open your Simulator app and check the available versions)
|
|
14
14
|
- `pod` version 1.11.3 (check with `pod --version`)
|
package/RNPinwheelSDK.podspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Pod::Spec.new do |s|
|
|
2
2
|
s.name = "RNPinwheelSDK"
|
|
3
|
-
s.version = "2.5.0
|
|
3
|
+
s.version = "2.5.0"
|
|
4
4
|
s.summary = "React Native plugin for Pinwheel's SDK"
|
|
5
5
|
s.description = <<-DESC
|
|
6
6
|
An open source React Native plugin for calling Pinwheel's native SDKs to manage payroll data.
|
|
@@ -14,5 +14,5 @@ Pod::Spec.new do |s|
|
|
|
14
14
|
s.public_header_files = 'ios/**/*.h'
|
|
15
15
|
s.requires_arc = true
|
|
16
16
|
s.dependency "React"
|
|
17
|
-
s.dependency 'PinwheelSDK', '2.4.
|
|
17
|
+
s.dependency 'PinwheelSDK', '2.4.4'
|
|
18
18
|
end
|
package/android/build.gradle
CHANGED
|
@@ -15,8 +15,6 @@ buildscript {
|
|
|
15
15
|
apply plugin: 'com.android.library'
|
|
16
16
|
apply plugin: 'kotlin-android'
|
|
17
17
|
|
|
18
|
-
def MIN_PW_SDK_VERSION = '2.4.1'
|
|
19
|
-
|
|
20
18
|
android {
|
|
21
19
|
compileSdkVersion 33
|
|
22
20
|
|
|
@@ -43,8 +41,10 @@ rootProject.allprojects {
|
|
|
43
41
|
}
|
|
44
42
|
}
|
|
45
43
|
|
|
44
|
+
def PW_SDK_VERSION = '2.4.3'
|
|
45
|
+
|
|
46
46
|
dependencies {
|
|
47
|
-
def pwVersion = rootProject.hasProperty('pwVersion') ? rootProject.pwVersion :
|
|
47
|
+
def pwVersion = rootProject.hasProperty('pwVersion') ? rootProject.pwVersion : PW_SDK_VERSION
|
|
48
48
|
implementation 'com.facebook.react:react-native:+'
|
|
49
49
|
implementation "com.getpinwheel:pinwheel-android:$pwVersion"
|
|
50
50
|
}
|
|
@@ -162,7 +162,7 @@ class PinwheelViewManager(
|
|
|
162
162
|
|
|
163
163
|
|
|
164
164
|
this.token?.let {
|
|
165
|
-
val pinwheelFragment = PinwheelFragment.newInstance(it, "react native")
|
|
165
|
+
val pinwheelFragment = PinwheelFragment.newInstance(it, "react native", "2.5.0")
|
|
166
166
|
pinwheelFragment.pinwheelEventListener = this
|
|
167
167
|
val activity = reactContext.currentActivity as FragmentActivity
|
|
168
168
|
activity.supportFragmentManager
|
package/constants.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Importing package.json here causes a problem with the folder structure when we npm pack and publish.
|
|
3
3
|
*/
|
|
4
|
-
export declare const VERSION = "2.5.0
|
|
4
|
+
export declare const VERSION = "2.5.0";
|
|
5
5
|
export declare const LINK_PAGE_URL = "https://cdn.getpinwheel.com/link-v2.3.0.html";
|
|
6
6
|
export declare const PINWHEEL_DOMAIN = "getpinwheel.com";
|
package/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Importing package.json here causes a problem with the folder structure when we npm pack and publish.
|
|
3
3
|
*/
|
|
4
|
-
export const VERSION = '2.5.0
|
|
4
|
+
export const VERSION = '2.5.0';
|
|
5
5
|
export const LINK_PAGE_URL = 'https://cdn.getpinwheel.com/link-v2.3.0.html';
|
|
6
6
|
export const PINWHEEL_DOMAIN = 'getpinwheel.com';
|
package/ios/RNTPinwheelView.m
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
- (void)initPinwheelWrapperVC {
|
|
20
20
|
if (self.token != nil && self.pinwheelWrapperVC == nil) {
|
|
21
|
-
self.pinwheelWrapperVC = [[PinwheelWrapperVC alloc] initWithToken:self.token delegate:self sdk:@"react native"];
|
|
21
|
+
self.pinwheelWrapperVC = [[PinwheelWrapperVC alloc] initWithToken:self.token delegate:self sdk:@"react native" version: @"2.5.0"];
|
|
22
22
|
[self addSubview:self.pinwheelWrapperVC.view];
|
|
23
23
|
}
|
|
24
24
|
}
|