From 37ab2285255d2432646c72167ec96d300cc80b45 Mon Sep 17 00:00:00 2001 From: mansi-square Date: Tue, 23 Apr 2024 13:47:42 +0530 Subject: [PATCH 01/61] Upgrade Android and IOS version Upgrade Android version to 1.6.6 Upgrade IOS version to 1.6.3 --- CHANGELOG.md | 4 ++++ README.md | 4 ++-- RNSquareInAppPayments.podspec | 6 +++--- android/build.gradle | 2 +- docs/get-started.md | 2 +- .../android/build.gradle | 2 +- .../ios/Podfile | 2 +- .../project.pbxproj | 20 +++++++++++++++++++ .../package.json | 2 +- 9 files changed, 34 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d92431e9..e830fa09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Changelog +### v1.7.6 Apr 23, 2024 + +* Upgrade IAP SDK for Android `1.6.6` and for iOS `1.6.3`. + ### v1.7.5 Oct 12, 2023 * Upgrade IAP SDK for Android `1.6.5`. diff --git a/README.md b/README.md index d1910edd..d1b537a6 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,8 @@ The In-App Payments plugin for Square [In-App Payments SDK] is a wrapper for the native Android and iOS SDKs and supports the following native In-App Payments SDK versions: - * iOS: `1.6.2` - * Android: `1.6.5` + * iOS: `1.6.3` + * Android: `1.6.6` ## Additional documentation diff --git a/RNSquareInAppPayments.podspec b/RNSquareInAppPayments.podspec index 2f52ac9f..bc733c84 100644 --- a/RNSquareInAppPayments.podspec +++ b/RNSquareInAppPayments.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "RNSquareInAppPayments" - s.version = "1.6.2" + s.version = "1.6.3" s.summary = "React Native plugin for Square's In-App Payments SDK" s.description = <<-DESC An open source React Native plugin for calling Square’s native In-App Payments SDK to take in-app payments on iOS and Android. @@ -22,8 +22,8 @@ Pod::Spec.new do |s| s.dependency 'SquareInAppPaymentsSDK', $sqipVersion s.dependency 'SquareBuyerVerificationSDK', $sqipVersion else - s.dependency 'SquareInAppPaymentsSDK', '1.6.2' - s.dependency 'SquareBuyerVerificationSDK', '1.6.2' + s.dependency 'SquareInAppPaymentsSDK', '1.6.3' + s.dependency 'SquareBuyerVerificationSDK', '1.6.3' end end diff --git a/android/build.gradle b/android/build.gradle index 44e1fc1c..fda35288 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -12,7 +12,7 @@ buildscript { apply plugin: 'com.android.library' -def MIN_IAP_SDK_VERSION = '1.6.5' +def MIN_IAP_SDK_VERSION = '1.6.6' android { compileSdkVersion 33 diff --git a/docs/get-started.md b/docs/get-started.md index f90a91de..a0bc043c 100644 --- a/docs/get-started.md +++ b/docs/get-started.md @@ -139,7 +139,7 @@ are just examples. compileSdkVersion = 33 targetSdkVersion = 33 supportLibVersion = "33.0.0" - sqipVersion="1.6.5" + sqipVersion="1.6.6" } ... } diff --git a/react-native-in-app-payments-quickstart/android/build.gradle b/react-native-in-app-payments-quickstart/android/build.gradle index f4a4f74e..0e16258b 100644 --- a/react-native-in-app-payments-quickstart/android/build.gradle +++ b/react-native-in-app-payments-quickstart/android/build.gradle @@ -7,7 +7,7 @@ buildscript { compileSdkVersion = 33 targetSdkVersion = 33 ndkVersion = "20.1.5948944" - sqipVersion="1.6.5" + sqipVersion="1.6.6" kotlin_version = '1.7.10' } repositories { diff --git a/react-native-in-app-payments-quickstart/ios/Podfile b/react-native-in-app-payments-quickstart/ios/Podfile index bfa24aed..c9f69420 100644 --- a/react-native-in-app-payments-quickstart/ios/Podfile +++ b/react-native-in-app-payments-quickstart/ios/Podfile @@ -26,7 +26,7 @@ target 'RNInAppPaymentsQuickstart' do post_install do |installer| react_native_post_install(installer) installer.pods_project.build_configurations.each do |config| - config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64" + config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "i386" end end diff --git a/react-native-in-app-payments-quickstart/ios/RNInAppPaymentsQuickstart.xcodeproj/project.pbxproj b/react-native-in-app-payments-quickstart/ios/RNInAppPaymentsQuickstart.xcodeproj/project.pbxproj index 7b193113..779e8ace 100644 --- a/react-native-in-app-payments-quickstart/ios/RNInAppPaymentsQuickstart.xcodeproj/project.pbxproj +++ b/react-native-in-app-payments-quickstart/ios/RNInAppPaymentsQuickstart.xcodeproj/project.pbxproj @@ -153,6 +153,7 @@ 110233C721F10681008F6C3D /* Embed Frameworks */, C2886A3FABD89AE1F5CEBE88 /* [CP] Embed Pods Frameworks */, 9C514328C64FFA2712F3E5B7 /* [CP] Copy Pods Resources */, + 8C306ADE2BD7A2CF0002B7AF /* ShellScript */, ); buildRules = ( ); @@ -250,6 +251,23 @@ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; + 8C306ADE2BD7A2CF0002B7AF /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# Type a script or drag a script file from your workspace to insert its path.\nFRAMEWORKS=\"${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}\"\n\"${FRAMEWORKS}/SquareInAppPaymentsSDK.framework/setup\"\n"; + }; 9C514328C64FFA2712F3E5B7 /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -430,6 +448,7 @@ IPHONEOS_DEPLOYMENT_TARGET = 13.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; + REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; SDKROOT = iphoneos; }; name = Debug; @@ -477,6 +496,7 @@ GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 13.0; MTL_ENABLE_DEBUG_INFO = NO; + REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; SDKROOT = iphoneos; VALIDATE_PRODUCT = YES; }; diff --git a/react-native-in-app-payments-quickstart/package.json b/react-native-in-app-payments-quickstart/package.json index 1f1439f6..83083660 100644 --- a/react-native-in-app-payments-quickstart/package.json +++ b/react-native-in-app-payments-quickstart/package.json @@ -13,7 +13,7 @@ "dependencies": { "fbjs": "^3.0.4", "jetifier": "^2.0.0", - "react": "17.0.2", + "react": "18.2.0", "react-native": "^0.69.12", "react-native-gesture-handler": "^2.3.2", "react-native-modal": "^13.0.1", From 9a242d7aa9ccaed8d2933697e9ae35ee8167f4c4 Mon Sep 17 00:00:00 2001 From: mansi-square Date: Tue, 23 Apr 2024 13:56:22 +0530 Subject: [PATCH 02/61] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9fdb604b..119acc55 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,7 +40,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: 14.x - run: | From 640ec266792c67af855e3e02f43911e610148414 Mon Sep 17 00:00:00 2001 From: mansi-square Date: Mon, 20 May 2024 16:09:04 +0530 Subject: [PATCH 03/61] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 119acc55..85cc49dd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,7 +7,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 14.x + node-version: 14 - run: | yarn && yarn lint && yarn test cd react-native-in-app-payments-quickstart && yarn && yarn lint && cd .. From 6fd27b88fca046dc98270a0e7f391a0b79665715 Mon Sep 17 00:00:00 2001 From: mansi-square Date: Mon, 20 May 2024 16:13:03 +0530 Subject: [PATCH 04/61] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 85cc49dd..e1abc138 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,7 +42,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v2 with: - node-version: 14.x + node-version: 14 - run: | gem install cocoapods cd react-native-in-app-payments-quickstart From 9ce9b82e981842e8fd4aa0b25c860179818e9539 Mon Sep 17 00:00:00 2001 From: mansi-square Date: Mon, 20 May 2024 16:41:07 +0530 Subject: [PATCH 05/61] Update main.yml --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e1abc138..9fdb604b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,7 +7,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 14.x - run: | yarn && yarn lint && yarn test cd react-native-in-app-payments-quickstart && yarn && yarn lint && cd .. @@ -40,9 +40,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v1 with: - node-version: 14 + node-version: 14.x - run: | gem install cocoapods cd react-native-in-app-payments-quickstart From b9ef8773cdb7754012515c7ffef8be846b2c343e Mon Sep 17 00:00:00 2001 From: mansi-square Date: Mon, 20 May 2024 17:24:45 +0530 Subject: [PATCH 06/61] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9fdb604b..119acc55 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,7 +40,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: 14.x - run: | From fd50629e0a4dbd77da69fcdd6bdf03e2838e00eb Mon Sep 17 00:00:00 2001 From: mansi-square Date: Mon, 20 May 2024 17:34:06 +0530 Subject: [PATCH 07/61] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 119acc55..07991275 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,9 +40,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: 14.x + node-version: '14.20.1' - run: | gem install cocoapods cd react-native-in-app-payments-quickstart From 350b30866b22a0345446ed8d6f91b43d655011d9 Mon Sep 17 00:00:00 2001 From: mansi-square Date: Mon, 20 May 2024 17:37:46 +0530 Subject: [PATCH 08/61] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 07991275..10f5ec76 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,7 +42,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: '14.20.1' + node-version: 16.x - run: | gem install cocoapods cd react-native-in-app-payments-quickstart From c5dcd00b7497c167d160878dba71eef1a8a5c2b5 Mon Sep 17 00:00:00 2001 From: mansi-square Date: Mon, 20 May 2024 19:53:18 +0530 Subject: [PATCH 09/61] Update Podfile --- .../ios/Podfile | 33 +++++++++++++++---- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/react-native-in-app-payments-quickstart/ios/Podfile b/react-native-in-app-payments-quickstart/ios/Podfile index c9f69420..c5638379 100644 --- a/react-native-in-app-payments-quickstart/ios/Podfile +++ b/react-native-in-app-payments-quickstart/ios/Podfile @@ -23,14 +23,33 @@ target 'RNInAppPaymentsQuickstart' do pod 'RNGestureHandler', :path => '../node_modules/react-native-gesture-handler' - post_install do |installer| - react_native_post_install(installer) - installer.pods_project.build_configurations.each do |config| - config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "i386" - end - end - # post_install do |installer| # react_native_post_install(installer) + # installer.pods_project.build_configurations.each do |config| + # config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "i386" + # config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0' + # end # end + + + post_install do |installer| + react_native_post_install(installer) + installer.pods_project.targets.each do |target| + target.build_configurations.each do |config| + config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "i386" + end + # case target.name + # when 'RCT-Folly' + # target.build_configurations.each do |config| + # config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0' + # end + # end + case target.name + when 'RNGestureHandler' + target.build_configurations.each do |config| + config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0' + end + end + end + end end From c9ac21dbcf79d3ba99e5a9c480dae397c0459cbd Mon Sep 17 00:00:00 2001 From: mansi-square Date: Mon, 20 May 2024 20:02:24 +0530 Subject: [PATCH 10/61] Update RNSquareInAppPayments.podspec --- RNSquareInAppPayments.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNSquareInAppPayments.podspec b/RNSquareInAppPayments.podspec index bc733c84..3de1faa4 100644 --- a/RNSquareInAppPayments.podspec +++ b/RNSquareInAppPayments.podspec @@ -9,7 +9,7 @@ Pod::Spec.new do |s| s.homepage = "https://github.com/square/in-app-payments-react-native-plugin" s.license = { :file => 'LICENSE' } s.author = { 'Square, Inc.' => 'flutter-team@squareup.com' } - s.platform = :ios, "12.0" + s.platform = :ios, "9.0" s.source = { :path => 'ios' } s.source_files = "ios/**/*.{h,m}" s.public_header_files = 'ios/**/*.h' From d490ba6e17cbe84ccb221110d4873fa564f66e67 Mon Sep 17 00:00:00 2001 From: mansi-square Date: Mon, 20 May 2024 20:16:00 +0530 Subject: [PATCH 11/61] Update RNSquareInAppPayments.podspec --- RNSquareInAppPayments.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNSquareInAppPayments.podspec b/RNSquareInAppPayments.podspec index 3de1faa4..bc733c84 100644 --- a/RNSquareInAppPayments.podspec +++ b/RNSquareInAppPayments.podspec @@ -9,7 +9,7 @@ Pod::Spec.new do |s| s.homepage = "https://github.com/square/in-app-payments-react-native-plugin" s.license = { :file => 'LICENSE' } s.author = { 'Square, Inc.' => 'flutter-team@squareup.com' } - s.platform = :ios, "9.0" + s.platform = :ios, "12.0" s.source = { :path => 'ios' } s.source_files = "ios/**/*.{h,m}" s.public_header_files = 'ios/**/*.h' From 4f3e492b713344135a657cab701c90c0b1997967 Mon Sep 17 00:00:00 2001 From: mansi-square Date: Tue, 21 May 2024 08:42:07 +0530 Subject: [PATCH 12/61] Update project.pbxproj --- ios/RNSquareInAppPayments.xcodeproj/project.pbxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/RNSquareInAppPayments.xcodeproj/project.pbxproj b/ios/RNSquareInAppPayments.xcodeproj/project.pbxproj index eea14f0e..33c9838b 100644 --- a/ios/RNSquareInAppPayments.xcodeproj/project.pbxproj +++ b/ios/RNSquareInAppPayments.xcodeproj/project.pbxproj @@ -393,7 +393,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -430,7 +430,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; VALIDATE_PRODUCT = YES; From b4338c9f563cc51a7096fadcd7e2ad27e6e0307f Mon Sep 17 00:00:00 2001 From: mansi-square Date: Thu, 23 May 2024 20:17:19 +0530 Subject: [PATCH 13/61] Upgraded React-Native version Updated react-native version to 0.74.1 --- .../main/java/sqip/react/CardEntryModule.java | 2 +- android/src/main/res/values/styles.xml | 4 + .../.buckconfig | 6 - .../.flowconfig | 69 ----- .../.gitignore | 33 +- .../android/app/_BUCK | 55 ---- .../android/app/build.gradle | 231 ++++---------- .../android/app/build_defs.bzl | 19 -- .../android/app/src/debug/AndroidManifest.xml | 4 +- .../java/com/sqip/ReactNativeFlipper.java | 81 ----- .../android/app/src/main/AndroidManifest.xml | 3 +- .../java/sqip/react/example/MainActivity.java | 16 - .../java/sqip/react/example/MainActivity.kt | 22 ++ .../sqip/react/example/MainApplication.java | 81 ----- .../sqip/react/example/MainApplication.kt | 44 +++ .../android/build.gradle | 57 +--- .../android/gradle.properties | 27 +- .../android/gradle/wrapper/gradle-wrapper.jar | Bin 55616 -> 63721 bytes .../gradle/wrapper/gradle-wrapper.properties | 7 +- .../android/gradlew | 284 +++++++++++------- .../android/gradlew.bat | 37 +-- .../android/settings.gradle | 4 +- .../app/screens/HomeScreen.tsx | 9 +- .../babel.config.js | 2 +- .../ios/.xcode.env | 1 + .../ios/Podfile | 77 +++-- .../project.pbxproj | 115 +++---- .../RNInAppPaymentsQuickstart/AppDelegate.h | 6 +- .../RNInAppPaymentsQuickstart/AppDelegate.m | 72 ----- .../RNInAppPaymentsQuickstart/AppDelegate.mm | 31 ++ .../ios/RNInAppPaymentsQuickstart/Info.plist | 23 +- .../PrivacyInfo.xcprivacy | 37 +++ .../metro.config.js | 20 +- .../package.json | 46 ++- 34 files changed, 596 insertions(+), 929 deletions(-) create mode 100644 android/src/main/res/values/styles.xml delete mode 100644 react-native-in-app-payments-quickstart/.buckconfig delete mode 100644 react-native-in-app-payments-quickstart/.flowconfig delete mode 100644 react-native-in-app-payments-quickstart/android/app/_BUCK delete mode 100644 react-native-in-app-payments-quickstart/android/app/build_defs.bzl delete mode 100644 react-native-in-app-payments-quickstart/android/app/src/debug/java/com/sqip/ReactNativeFlipper.java delete mode 100644 react-native-in-app-payments-quickstart/android/app/src/main/java/sqip/react/example/MainActivity.java create mode 100644 react-native-in-app-payments-quickstart/android/app/src/main/java/sqip/react/example/MainActivity.kt delete mode 100644 react-native-in-app-payments-quickstart/android/app/src/main/java/sqip/react/example/MainApplication.java create mode 100644 react-native-in-app-payments-quickstart/android/app/src/main/java/sqip/react/example/MainApplication.kt create mode 100644 react-native-in-app-payments-quickstart/ios/.xcode.env delete mode 100644 react-native-in-app-payments-quickstart/ios/RNInAppPaymentsQuickstart/AppDelegate.m create mode 100644 react-native-in-app-payments-quickstart/ios/RNInAppPaymentsQuickstart/AppDelegate.mm create mode 100644 react-native-in-app-payments-quickstart/ios/RNInAppPaymentsQuickstart/PrivacyInfo.xcprivacy diff --git a/android/src/main/java/sqip/react/CardEntryModule.java b/android/src/main/java/sqip/react/CardEntryModule.java index 9fe2a7e9..b468d4dc 100644 --- a/android/src/main/java/sqip/react/CardEntryModule.java +++ b/android/src/main/java/sqip/react/CardEntryModule.java @@ -301,7 +301,7 @@ private BuyerAction getBuyerAction(final String buyerActionString, final Money m private long readCardEntryCloseExitAnimationDurationMs() { long delayDurationMs = 0; Resources.Theme theme = Objects.requireNonNull(getCurrentActivity()).getResources().newTheme(); - theme.applyStyle(R.style.sqip_Theme_CardEntry, true); + theme.applyStyle(R.style.sqip_ThemeCardEntry, true); int[] attrs = { android.R.attr.activityCloseExitAnimation }; TypedArray typedArray = theme.obtainStyledAttributes(null, attrs, android.R.attr.windowAnimationStyle, 0); int resId = typedArray.getResourceId(0, -1); diff --git a/android/src/main/res/values/styles.xml b/android/src/main/res/values/styles.xml new file mode 100644 index 00000000..d24cef88 --- /dev/null +++ b/android/src/main/res/values/styles.xml @@ -0,0 +1,4 @@ + + +