card-react-native 1.0.2 → 1.0.3
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
CHANGED
package/android/build.gradle
CHANGED
|
@@ -106,7 +106,7 @@ dependencies {
|
|
|
106
106
|
//noinspection GradleDynamicVersion
|
|
107
107
|
implementation "com.facebook.react:react-native:+"
|
|
108
108
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
109
|
-
implementation('com.github.Tap-Payments:Card-Android:1.0.7') {
|
|
109
|
+
implementation('com.github.Tap-Payments:Card-Android:1.0.7.7') {
|
|
110
110
|
exclude group: 'com.google.firebase', module: 'firebase-iid'
|
|
111
111
|
}
|
|
112
112
|
implementation 'com.google.firebase:firebase-core:+'
|
|
@@ -68,7 +68,8 @@ class CardSdkReactNativeViewManager : SimpleViewManager<View>() {
|
|
|
68
68
|
print(config.toString())
|
|
69
69
|
initializeFirebase(view.context.getApplicationContext());
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
val configMap = config.toHashMap().filterValues { it != null } as HashMap<String, Any>
|
|
72
|
+
TapCardConfiguration.configureWithTapCardDictionaryConfiguration(view.context, customView ,configMap, object : TapCardStatusDelegate{
|
|
72
73
|
|
|
73
74
|
override fun onHeightChange(heightChange: String) {
|
|
74
75
|
// view.layoutParams.height = 95
|
|
@@ -21,10 +21,10 @@ Pod::Spec.new do |s|
|
|
|
21
21
|
# See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
|
|
22
22
|
if respond_to?(:install_modules_dependencies, true)
|
|
23
23
|
install_modules_dependencies(s)
|
|
24
|
-
s.dependency 'Card-iOS', '1.0.
|
|
24
|
+
s.dependency 'Card-iOS', '1.0.4'
|
|
25
25
|
else
|
|
26
26
|
s.dependency "React-Core"
|
|
27
|
-
s.dependency 'Card-iOS', '1.0.
|
|
27
|
+
s.dependency 'Card-iOS', '1.0.4'
|
|
28
28
|
# Don't install the dependencies when we run `pod install` in the old architecture.
|
|
29
29
|
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
|
|
30
30
|
s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
|