From 400e7dd09339ea70a48dc63d4c09e33c8d87fb99 Mon Sep 17 00:00:00 2001 From: M K Hari Balaji Date: Tue, 15 Oct 2019 09:11:36 +0530 Subject: [PATCH 1/3] Updated ios Path and Adyen Version - RN 0.60 Fix --- AdyenReactNative.podspec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/AdyenReactNative.podspec b/AdyenReactNative.podspec index fc09d88..d2c8580 100644 --- a/AdyenReactNative.podspec +++ b/AdyenReactNative.podspec @@ -13,10 +13,11 @@ Pod::Spec.new do |s| s.platform = :ios, "11.0" s.source = { :git => "https://github.com/author/AdyenReactNative.git" } - s.source_files = "./*.{h,m,swift}" + s.source_files = "ios/*.{h,m,swift}" s.requires_arc = true - s.dependency "Adyen","2.8.4" - s.dependency "Adyen/ApplePay","2.8.4" + s.dependency "React" + s.dependency "Adyen","2.8.5" + s.dependency "Adyen/ApplePay","2.8.5" end From 902162ed1bd7b689368e3e77f1a20135b1787996 Mon Sep 17 00:00:00 2001 From: M K Hari Balaji Date: Wed, 16 Oct 2019 16:33:57 +0530 Subject: [PATCH 2/3] Updated adyen library to 2.4.5 for RN > 60 --- android/build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 86e7b60..0f1248a 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -38,7 +38,7 @@ dependencies { compile "android.arch.lifecycle:extensions:${rootProject.ext.lifecycleVersion}" compile "android.arch.core:runtime:${rootProject.ext.lifecycleVersion}" compile "android.arch.lifecycle:viewmodel:${rootProject.ext.lifecycleVersion}" - compile "com.adyen.checkout:ui:2.3.2" - compile "com.adyen.checkout:core-card:2.3.2" - compile "com.adyen.checkout:util:2.3.2" + compile "com.adyen.checkout:ui:2.4.5" + compile "com.adyen.checkout:core-card:2.4.5" + compile "com.adyen.checkout:util:2.4.5" } From 560d9f12fb163d73e575a821df83894aa1b2fe33 Mon Sep 17 00:00:00 2001 From: M K Hari Balaji Date: Thu, 24 Oct 2019 06:21:16 +0530 Subject: [PATCH 3/3] Updated ReadMe for RN 0.60 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c85000c..69f4348 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,8 @@ To give you as much flexibility as possible, Adyen SDK can be integrated via thi * Modify the OS Version for AdyenReactNativeProject to 11.3 to avoid armv7 missing architecture +##### For RN > 0.60 skip the below steps until Manual Linking and conitnue with the rest of the steps + * Replace the Adyen framework in your nodemodules ios folder with the newly swift 5 compiled version from the Pods to /node_modules/adyen-react-native/ios like below ![image](https://user-images.githubusercontent.com/5992474/59888148-eaf08000-93e3-11e9-8797-d629580bbf65.png)