react-native-payengine 2.0.11 → 2.0.12
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 +21 -0
- package/android/build.gradle +16 -12
- package/android/src/main/java/com/reactnativepayengine/v2/features/googlepay/RNPEGooglePayButton.kt +2 -3
- package/android/src/main/java/com/reactnativepayengine/v2/features/googlepay/RNPEPaymentRequest.kt +1 -1
- package/android/src/main/java/com/reactnativepayengine/v2/securefields/bankaccount/RNPEBankAccountView.kt +1 -1
- package/android/src/main/java/com/reactnativepayengine/v2/securefields/creditcard/RNPECreditCardView.kt +1 -1
- package/package.json +1 -1
- package/android/payment-sdk-debug-1.0.4.aar +0 -0
- package/android/payment-sdk-release-1.0.4.aar +0 -0
- package/android/securefields-1.7.2-debug.aar +0 -0
package/README.md
CHANGED
|
@@ -8,6 +8,27 @@ The new version of the PayEngine React Native SDK is designed to provide develop
|
|
|
8
8
|
|
|
9
9
|
### Prerequisites
|
|
10
10
|
|
|
11
|
+
#### Add PayEngine Registry to your project
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
allprojects {
|
|
15
|
+
repositories {
|
|
16
|
+
...your repositories
|
|
17
|
+
|
|
18
|
+
maven { url 'https://www.jitpack.io' }
|
|
19
|
+
maven {
|
|
20
|
+
name = "pe-maven"
|
|
21
|
+
url = uri("https://maven.payengine.co/payengine")
|
|
22
|
+
credentials {
|
|
23
|
+
username = "<username>"
|
|
24
|
+
password = "<password>"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
Please contact PayEngine support for username and password
|
|
31
|
+
|
|
11
32
|
#### Install Package
|
|
12
33
|
|
|
13
34
|
```bash
|
package/android/build.gradle
CHANGED
|
@@ -158,18 +158,22 @@ dependencies {
|
|
|
158
158
|
implementation "com.google.android.material:material:1.6.1"
|
|
159
159
|
|
|
160
160
|
}
|
|
161
|
-
implementation("com.google.code.gson:gson:2.11.0")
|
|
162
|
-
|
|
163
|
-
implementation "com.google.android.material:material:1.6.1"
|
|
164
|
-
|
|
165
|
-
implementation files("./securefields-1.7.2-debug.aar")
|
|
166
|
-
|
|
167
|
-
debugImplementation files("./payment-sdk-debug-1.0.4.aar")
|
|
168
|
-
releaseImplementation files("./payment-sdk-debug-1.0.4.aar")
|
|
169
|
-
|
|
170
|
-
api 'com.github.Kount:kount-android-sdk:v4.3.2'
|
|
171
|
-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9'
|
|
172
|
-
implementation "com.google.android.gms:play-services-wallet:19.2.1"
|
|
161
|
+
// implementation("com.google.code.gson:gson:2.11.0")
|
|
162
|
+
//
|
|
163
|
+
// implementation "com.google.android.material:material:1.6.1"
|
|
164
|
+
//
|
|
165
|
+
// implementation files("./securefields-1.7.2-debug.aar")
|
|
166
|
+
//
|
|
167
|
+
// debugImplementation files("./payment-sdk-debug-1.0.4.aar")
|
|
168
|
+
// releaseImplementation files("./payment-sdk-debug-1.0.4.aar")
|
|
169
|
+
//
|
|
170
|
+
// api 'com.github.Kount:kount-android-sdk:v4.3.2'
|
|
171
|
+
// implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9'
|
|
172
|
+
// implementation "com.google.android.gms:play-services-wallet:19.2.1"
|
|
173
|
+
|
|
174
|
+
debugApi("com.payengine.sdk:payment-sdk-release:1.0.5-beta-6")
|
|
175
|
+
releaseApi("com.payengine.sdk:payment-sdk-release:1.0.5-beta-6")
|
|
176
|
+
implementation("com.google.android.gms:play-services-wallet:19.2.1")
|
|
173
177
|
|
|
174
178
|
// From node_modules
|
|
175
179
|
}
|
package/android/src/main/java/com/reactnativepayengine/v2/features/googlepay/RNPEGooglePayButton.kt
CHANGED
|
@@ -9,9 +9,8 @@ import com.facebook.react.modules.core.DeviceEventManagerModule.RCTDeviceEventEm
|
|
|
9
9
|
import com.facebook.react.uimanager.ThemedReactContext
|
|
10
10
|
import com.google.gson.Gson
|
|
11
11
|
import com.payengine.paymentsdk.features.googlepay.PEGooglePayDelegate
|
|
12
|
-
import com.payengine.paymentsdk.
|
|
13
|
-
import com.payengine.paymentsdk.
|
|
14
|
-
import com.payengine.paymentsdk.features.googlepay.payengine.PEAddress
|
|
12
|
+
import com.payengine.paymentsdk.models.GooglePayPaymentRequest
|
|
13
|
+
import com.payengine.paymentsdk.models.PEAddress
|
|
15
14
|
import com.reactnativepayengine.v2.RNPayEngineNative
|
|
16
15
|
import com.reactnativepayengine.v2.securefields.RNPEEvents
|
|
17
16
|
|
|
@@ -8,7 +8,7 @@ import com.facebook.react.bridge.ReadableMap
|
|
|
8
8
|
import com.facebook.react.modules.core.DeviceEventManagerModule.RCTDeviceEventEmitter
|
|
9
9
|
import com.facebook.react.uimanager.ThemedReactContext
|
|
10
10
|
import com.payengine.paymentsdk.components.PEBankAccountView
|
|
11
|
-
import com.payengine.paymentsdk.
|
|
11
|
+
import com.payengine.paymentsdk.models.interfaces.PESizeChangeListener
|
|
12
12
|
import com.payengine.paymentsdk.models.responses.BankAccountResponse
|
|
13
13
|
import com.reactnativepayengine.util.MetricsUtil
|
|
14
14
|
import com.reactnativepayengine.v2.RNPayEngineNative
|
|
@@ -8,7 +8,7 @@ import com.facebook.react.bridge.ReadableMap
|
|
|
8
8
|
import com.facebook.react.modules.core.DeviceEventManagerModule.RCTDeviceEventEmitter
|
|
9
9
|
import com.facebook.react.uimanager.ThemedReactContext
|
|
10
10
|
import com.payengine.paymentsdk.components.PEPaymentView
|
|
11
|
-
import com.payengine.paymentsdk.
|
|
11
|
+
import com.payengine.paymentsdk.models.interfaces.PESizeChangeListener
|
|
12
12
|
import com.payengine.paymentsdk.models.responses.CardResponse
|
|
13
13
|
import com.reactnativepayengine.util.MetricsUtil
|
|
14
14
|
import com.reactnativepayengine.v2.RNPayEngineNative
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|