Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade native libraries #1376

Merged
merged 8 commits into from
May 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

> Note: [Xcode 13 is no longer supported by Apple](https://developer.apple.com/news/upcoming-requirements/). Please upgrade to Xcode 14.1 or later.

## Fixes

- Fixed the type of `created` on `Token.Result` on Android (was a number, should be a string). [#1369](https://github.com/stripe/stripe-react-native/pull/1369)
Expand Down
3 changes: 2 additions & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
StripeSdk_kotlinVersion=1.8.0
StripeSdk_stripeVersion=20.23.+
# Keep StripeSdk_stripeVersion in sync with https://github.com/stripe/stripe-identity-react-native/blob/main/android/gradle.properties
StripeSdk_stripeVersion=20.24.0
48 changes: 48 additions & 0 deletions android/src/main/res/drawable/googlepay_button_content.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="41dp"
android:height="17dp"
android:viewportWidth="41.0"
android:viewportHeight="17.0">
<path
android:pathData="M19.526,2.635L19.526,6.718L22.044,6.718C22.644,6.718 23.14,6.516 23.532,6.113C23.935,5.711 24.137,5.231 24.137,4.676C24.137,4.132 23.935,3.658 23.532,3.254C23.14,2.841 22.644,2.634 22.044,2.634L19.526,2.634L19.526,2.635ZM19.526,8.155L19.526,12.891L18.022,12.891L18.022,1.198L22.011,1.198C23.025,1.198 23.885,1.535 24.594,2.21C25.314,2.885 25.674,3.707 25.674,4.676C25.674,5.667 25.314,6.495 24.594,7.158C23.897,7.823 23.035,8.154 22.011,8.154L19.526,8.154L19.526,8.155Z"
android:strokeColor="#00000000"
android:fillType="evenOdd"
android:fillColor="#FFFFFF"
android:strokeWidth="1"/>
<path
android:pathData="M27.194,10.442C27.194,10.834 27.36,11.16 27.693,11.422C28.025,11.683 28.415,11.813 28.861,11.813C29.494,11.813 30.057,11.579 30.553,11.112C31.05,10.643 31.297,10.093 31.297,9.463C30.828,9.092 30.174,8.907 29.335,8.907C28.724,8.907 28.215,9.055 27.807,9.349C27.398,9.643 27.194,10.006 27.194,10.442M29.14,4.627C30.252,4.627 31.129,4.924 31.773,5.518C32.415,6.111 32.737,6.925 32.737,7.959L32.737,12.891L31.298,12.891L31.298,11.781L31.233,11.781C30.611,12.695 29.783,13.153 28.747,13.153C27.865,13.153 27.126,12.891 26.532,12.369C25.938,11.846 25.641,11.193 25.641,10.409C25.641,9.581 25.954,8.923 26.581,8.433C27.208,7.943 28.044,7.698 29.09,7.698C29.983,7.698 30.72,7.861 31.297,8.188L31.297,7.844C31.297,7.322 31.09,6.878 30.676,6.513C30.261,6.149 29.777,5.967 29.221,5.967C28.381,5.967 27.717,6.32 27.226,7.029L25.902,6.195C26.632,5.15 27.711,4.627 29.14,4.627"
android:strokeColor="#00000000"
android:fillType="evenOdd"
android:fillColor="#FFFFFF"
android:strokeWidth="1"/>
<path
android:pathData="M40.993,4.889l-5.02,11.531l-1.553,0l1.864,-4.035l-3.303,-7.496l1.635,0l2.387,5.749l0.033,0l2.322,-5.749z"
android:strokeColor="#00000000"
android:fillType="evenOdd"
android:fillColor="#FFFFFF"
android:strokeWidth="1"/>
<path
android:pathData="M13.448,7.134C13.448,6.661 13.408,6.205 13.332,5.768L6.988,5.768L6.988,8.356L10.622,8.356C10.466,9.199 9.994,9.917 9.278,10.398L9.278,12.079L11.447,12.079C12.716,10.908 13.448,9.179 13.448,7.134"
android:strokeColor="#00000000"
android:fillType="evenOdd"
android:fillColor="#4285F4"
android:strokeWidth="1"/>
<path
android:pathData="M6.988,13.701C8.804,13.701 10.332,13.105 11.447,12.079L9.278,10.398C8.675,10.804 7.897,11.041 6.988,11.041C5.234,11.041 3.744,9.859 3.212,8.267L0.978,8.267L0.978,9.998C2.085,12.193 4.36,13.701 6.988,13.701"
android:strokeColor="#00000000"
android:fillType="evenOdd"
android:fillColor="#34A853"
android:strokeWidth="1"/>
<path
android:pathData="M3.212,8.267C3.076,7.861 3.001,7.428 3.001,6.981C3.001,6.534 3.076,6.101 3.212,5.695L3.212,3.964L0.978,3.964C0.52,4.871 0.261,5.896 0.261,6.981C0.261,8.066 0.52,9.091 0.978,9.998L3.212,8.267Z"
android:strokeColor="#00000000"
android:fillType="evenOdd"
android:fillColor="#FABB05"
android:strokeWidth="1"/>
<path
android:pathData="M6.988,2.921C7.98,2.921 8.868,3.262 9.569,3.929L9.569,3.93L11.489,2.012C10.323,0.928 8.803,0.261 6.988,0.261C4.36,0.261 2.085,1.769 0.978,3.964L3.212,5.695C3.744,4.103 5.234,2.921 6.988,2.921"
android:strokeColor="#00000000"
android:fillType="evenOdd"
android:fillColor="#E94235"
android:strokeWidth="1"/>
</vector>
102 changes: 51 additions & 51 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -368,50 +368,50 @@ PODS:
- React-Core
- React-RCTImage
- SocketRocket (0.6.0)
- Stripe (23.6.0):
- StripeApplePay (= 23.6.0)
- StripeCore (= 23.6.0)
- StripePayments (= 23.6.0)
- StripePaymentsUI (= 23.6.0)
- StripeUICore (= 23.6.0)
- stripe-react-native (0.26.0):
- Stripe (23.7.0):
- StripeApplePay (= 23.7.0)
- StripeCore (= 23.7.0)
- StripePayments (= 23.7.0)
- StripePaymentsUI (= 23.7.0)
- StripeUICore (= 23.7.0)
- stripe-react-native (0.27.0):
- React-Core
- Stripe (= 23.6.0)
- StripeApplePay (= 23.6.0)
- StripeFinancialConnections (= 23.6.0)
- StripePayments (= 23.6.0)
- StripePaymentSheet (= 23.6.0)
- StripePaymentsUI (= 23.6.0)
- stripe-react-native/Tests (0.26.0):
- Stripe (~> 23.7.0)
- StripeApplePay (~> 23.7.0)
- StripeFinancialConnections (~> 23.7.0)
- StripePayments (~> 23.7.0)
- StripePaymentSheet (~> 23.7.0)
- StripePaymentsUI (~> 23.7.0)
- stripe-react-native/Tests (0.27.0):
- React-Core
- Stripe (= 23.6.0)
- StripeApplePay (= 23.6.0)
- StripeFinancialConnections (= 23.6.0)
- StripePayments (= 23.6.0)
- StripePaymentSheet (= 23.6.0)
- StripePaymentsUI (= 23.6.0)
- StripeApplePay (23.6.0):
- StripeCore (= 23.6.0)
- StripeCore (23.6.0)
- StripeFinancialConnections (23.6.0):
- StripeCore (= 23.6.0)
- StripeUICore (= 23.6.0)
- StripePayments (23.6.0):
- StripeCore (= 23.6.0)
- StripePayments/Stripe3DS2 (= 23.6.0)
- StripePayments/Stripe3DS2 (23.6.0):
- StripeCore (= 23.6.0)
- StripePaymentSheet (23.6.0):
- StripeApplePay (= 23.6.0)
- StripeCore (= 23.6.0)
- StripePayments (= 23.6.0)
- StripePaymentsUI (= 23.6.0)
- StripePaymentsUI (23.6.0):
- StripeCore (= 23.6.0)
- StripePayments (= 23.6.0)
- StripeUICore (= 23.6.0)
- StripeUICore (23.6.0):
- StripeCore (= 23.6.0)
- Stripe (~> 23.7.0)
- StripeApplePay (~> 23.7.0)
- StripeFinancialConnections (~> 23.7.0)
- StripePayments (~> 23.7.0)
- StripePaymentSheet (~> 23.7.0)
- StripePaymentsUI (~> 23.7.0)
- StripeApplePay (23.7.0):
- StripeCore (= 23.7.0)
- StripeCore (23.7.0)
- StripeFinancialConnections (23.7.0):
- StripeCore (= 23.7.0)
- StripeUICore (= 23.7.0)
- StripePayments (23.7.0):
- StripeCore (= 23.7.0)
- StripePayments/Stripe3DS2 (= 23.7.0)
- StripePayments/Stripe3DS2 (23.7.0):
- StripeCore (= 23.7.0)
- StripePaymentSheet (23.7.0):
- StripeApplePay (= 23.7.0)
- StripeCore (= 23.7.0)
- StripePayments (= 23.7.0)
- StripePaymentsUI (= 23.7.0)
- StripePaymentsUI (23.7.0):
- StripeCore (= 23.7.0)
- StripePayments (= 23.7.0)
- StripeUICore (= 23.7.0)
- StripeUICore (23.7.0):
- StripeCore (= 23.7.0)
- Yoga (1.14.0)
- YogaKit (1.18.1):
- Yoga (~> 1.14)
Expand Down Expand Up @@ -636,15 +636,15 @@ SPEC CHECKSUMS:
RNCPicker: 0bf8ef8f7800524f32d2bb2a8bcadd53eda0ecd1
RNScreens: 34cc502acf1b916c582c60003dc3089fa01dc66d
SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608
Stripe: 097f76ce332ff7dcb8a29ec2a8379bb4f34aa14d
stripe-react-native: 331225716a96961089b71ca105847e11f81fc99f
StripeApplePay: 484761d4760ddb8af8c1510b8735cd9aee94515f
StripeCore: 0e83ad26d508e5a8e9eb04d6ddd3cbb08a3f7816
StripeFinancialConnections: eb303783458a7e5bd4380cbbf0a6cf44246473f4
StripePayments: cdd5222052d541f4daf1d84515f0b9cd18720534
StripePaymentSheet: 835aabcac7946d6b6b341055d021428b96894b70
StripePaymentsUI: 835b9422f86ceb2ca02b4146db9d3f7bf1acb0d9
StripeUICore: 81bac0f54df659ab7c5dd4f5a57719a5fecdcdc9
Stripe: 1412a8389885cbeebd752de574419122d52957a9
stripe-react-native: edb446e3f0e67ef6ad845d2e0d189e431e10c2df
StripeApplePay: b05917d11c0846ca3e2f67e59bf027efd1fe2195
StripeCore: bec0c90f6e153abeba70f015be25e17fada10084
StripeFinancialConnections: 2ba1ad658b7ccf7b5f5685f32ce9fef5ae3fe197
StripePayments: faafc7e868e224aba8ff9d9c3833c17dde909f42
StripePaymentSheet: 4ae8d6337c2df98396761fd34b5cb20ebd564b45
StripePaymentsUI: bed5acf82eaa9375553555087bfedc082f43c135
StripeUICore: f940d7e6908ba241380f25bf7062919890dd81e2
Yoga: 0b84a956f7393ef1f37f3bb213c516184e4a689d
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a

Expand Down
3 changes: 2 additions & 1 deletion stripe-react-native.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
stripe_version = '23.6.0'
charliecruzan-stripe marked this conversation as resolved.
Show resolved Hide resolved
# Keep stripe_version in sync with https://github.com/stripe/stripe-identity-react-native/blob/main/stripe-identity-react-native.podspec
stripe_version = '~> 23.7.0'
charliecruzan-stripe marked this conversation as resolved.
Show resolved Hide resolved

Pod::Spec.new do |s|
s.name = 'stripe-react-native'
Expand Down