@xbenjii/react-native-braintree-dropin-ui 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +21 -21
- package/README.md +365 -365
- package/RNBraintreeDropIn.podspec +22 -22
- package/android/build.gradle +50 -50
- package/android/src/main/AndroidManifest.xml +4 -4
- package/android/src/main/java/tech/power/RNBraintreeDropIn/RNBraintreeDropInModule.java +318 -265
- package/android/src/main/java/tech/power/RNBraintreeDropIn/RNBraintreeDropInPackage.java +27 -27
- package/index.js +5 -5
- package/index.js.flow +42 -42
- package/ios/RNBraintreeDropIn.h +40 -40
- package/ios/RNBraintreeDropIn.m +309 -280
- package/ios/RNBraintreeDropIn.xcodeproj/project.pbxproj +291 -291
- package/ios/RNBraintreeDropIn.xcworkspace/contents.xcworkspacedata +8 -8
- package/package.json +34 -34
- package/react-native.config.js +13 -13
@@ -1,22 +1,22 @@
|
|
1
|
-
Pod::Spec.new do |s|
|
2
|
-
s.name = "RNBraintreeDropIn"
|
3
|
-
s.version = "
|
4
|
-
s.summary = "RNBraintreeDropIn"
|
5
|
-
s.description = <<-DESC
|
6
|
-
RNBraintreeDropIn
|
7
|
-
DESC
|
8
|
-
s.homepage = "https://github.com/xbenjii/react-native-braintree-dropin-ui"
|
9
|
-
s.license = "MIT"
|
10
|
-
# s.license = { :type => "MIT", :file => "./LICENSE" }
|
11
|
-
s.author = { "author" => "github@xbenjii.co.uk" }
|
12
|
-
s.platform = :ios, "12.0"
|
13
|
-
s.source = { :git => "git@github.com:xbenjii/react-native-braintree-dropin-ui.git", :tag => "master" }
|
14
|
-
s.source_files = "ios/**/*.{h,m}"
|
15
|
-
s.requires_arc = true
|
16
|
-
s.dependency 'React'
|
17
|
-
s.dependency 'Braintree', '5.
|
18
|
-
s.dependency 'BraintreeDropIn', '9.
|
19
|
-
s.dependency 'Braintree/DataCollector', '5.
|
20
|
-
s.dependency 'Braintree/ApplePay', '5.
|
21
|
-
s.dependency 'Braintree/Venmo', '5.
|
22
|
-
end
|
1
|
+
Pod::Spec.new do |s|
|
2
|
+
s.name = "RNBraintreeDropIn"
|
3
|
+
s.version = "2.1.0"
|
4
|
+
s.summary = "RNBraintreeDropIn"
|
5
|
+
s.description = <<-DESC
|
6
|
+
RNBraintreeDropIn
|
7
|
+
DESC
|
8
|
+
s.homepage = "https://github.com/xbenjii/react-native-braintree-dropin-ui"
|
9
|
+
s.license = "MIT"
|
10
|
+
# s.license = { :type => "MIT", :file => "./LICENSE" }
|
11
|
+
s.author = { "author" => "github@xbenjii.co.uk" }
|
12
|
+
s.platform = :ios, "12.0"
|
13
|
+
s.source = { :git => "git@github.com:xbenjii/react-native-braintree-dropin-ui.git", :tag => "master" }
|
14
|
+
s.source_files = "ios/**/*.{h,m}"
|
15
|
+
s.requires_arc = true
|
16
|
+
s.dependency 'React'
|
17
|
+
s.dependency 'Braintree', '5.26.0'
|
18
|
+
s.dependency 'BraintreeDropIn', '9.12.2'
|
19
|
+
s.dependency 'Braintree/DataCollector', '5.26.0'
|
20
|
+
s.dependency 'Braintree/ApplePay', '5.26.0'
|
21
|
+
s.dependency 'Braintree/Venmo', '5.26.0'
|
22
|
+
end
|
package/android/build.gradle
CHANGED
@@ -1,50 +1,50 @@
|
|
1
|
-
buildscript {
|
2
|
-
repositories {
|
3
|
-
google()
|
4
|
-
mavenCentral()
|
5
|
-
}
|
6
|
-
|
7
|
-
dependencies {
|
8
|
-
classpath 'com.android.tools.build:gradle:
|
9
|
-
}
|
10
|
-
}
|
11
|
-
|
12
|
-
apply plugin: 'com.android.library'
|
13
|
-
|
14
|
-
android {
|
15
|
-
compileSdkVersion 33
|
16
|
-
buildToolsVersion '33.0.1'
|
17
|
-
|
18
|
-
defaultConfig {
|
19
|
-
minSdkVersion 21
|
20
|
-
targetSdkVersion 33
|
21
|
-
versionCode 1
|
22
|
-
versionName "1.0"
|
23
|
-
}
|
24
|
-
lintOptions {
|
25
|
-
abortOnError false
|
26
|
-
}
|
27
|
-
}
|
28
|
-
|
29
|
-
repositories {
|
30
|
-
mavenCentral()
|
31
|
-
google()
|
32
|
-
}
|
33
|
-
|
34
|
-
dependencies {
|
35
|
-
implementation 'com.braintreepayments.api:drop-in:6.
|
36
|
-
implementation 'com.facebook.react:react-native:+'
|
37
|
-
}
|
38
|
-
|
39
|
-
// https://developers.braintreepayments.com/guides/3d-secure/migration/android/v3
|
40
|
-
rootProject.allprojects {
|
41
|
-
repositories {
|
42
|
-
maven {
|
43
|
-
url "https://cardinalcommerceprod.jfrog.io/artifactory/android"
|
44
|
-
credentials {
|
45
|
-
username 'braintree_team_sdk'
|
46
|
-
password 'AKCp8jQcoDy2hxSWhDAUQKXLDPDx6NYRkqrgFLRc3qDrayg6rrCbJpsKKyMwaykVL8FWusJpp'
|
47
|
-
}
|
48
|
-
}
|
49
|
-
}
|
50
|
-
}
|
1
|
+
buildscript {
|
2
|
+
repositories {
|
3
|
+
google()
|
4
|
+
mavenCentral()
|
5
|
+
}
|
6
|
+
|
7
|
+
dependencies {
|
8
|
+
classpath 'com.android.tools.build:gradle:8.3.0'
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
apply plugin: 'com.android.library'
|
13
|
+
|
14
|
+
android {
|
15
|
+
compileSdkVersion 33
|
16
|
+
buildToolsVersion '33.0.1'
|
17
|
+
|
18
|
+
defaultConfig {
|
19
|
+
minSdkVersion 21
|
20
|
+
targetSdkVersion 33
|
21
|
+
versionCode 1
|
22
|
+
versionName "2.1.0"
|
23
|
+
}
|
24
|
+
lintOptions {
|
25
|
+
abortOnError false
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
repositories {
|
30
|
+
mavenCentral()
|
31
|
+
google()
|
32
|
+
}
|
33
|
+
|
34
|
+
dependencies {
|
35
|
+
implementation 'com.braintreepayments.api:drop-in:6.16.0'
|
36
|
+
implementation 'com.facebook.react:react-native:+'
|
37
|
+
}
|
38
|
+
|
39
|
+
// https://developers.braintreepayments.com/guides/3d-secure/migration/android/v3
|
40
|
+
rootProject.allprojects {
|
41
|
+
repositories {
|
42
|
+
maven {
|
43
|
+
url "https://cardinalcommerceprod.jfrog.io/artifactory/android"
|
44
|
+
credentials {
|
45
|
+
username 'braintree_team_sdk'
|
46
|
+
password 'AKCp8jQcoDy2hxSWhDAUQKXLDPDx6NYRkqrgFLRc3qDrayg6rrCbJpsKKyMwaykVL8FWusJpp'
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
2
|
-
package="com.xbenjii.RNBraintreeDropIn">
|
3
|
-
|
4
|
-
</manifest>
|
1
|
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
2
|
+
package="com.xbenjii.RNBraintreeDropIn">
|
3
|
+
|
4
|
+
</manifest>
|
5
5
|
|