@stripe/stripe-react-native 0.36.0 → 0.37.0
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/CHANGELOG.md +11 -0
- package/README.md +2 -2
- package/android/gradle.properties +1 -1
- package/package.json +1 -1
- package/stripe-react-native.podspec +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.37.0 - 2024-02-16
|
|
6
|
+
|
|
7
|
+
**Breaking changes**
|
|
8
|
+
|
|
9
|
+
- Your `compileSdkVersion` (in `android/build.gradle`) now must be at least 34. Changing your `compileSdkVersion` does not change runtime behavior.
|
|
10
|
+
|
|
11
|
+
**Fixes**
|
|
12
|
+
|
|
13
|
+
- Fixed an issue on Android where the SDK was unable to follow URL redirects in some cases.
|
|
14
|
+
- Fixed an issue on Android where Google Pay & Link were not saved as default payment methods in PaymentSheet.
|
|
15
|
+
|
|
5
16
|
## 0.36.0 - 2024-02-02
|
|
6
17
|
|
|
7
18
|
**Features**
|
package/README.md
CHANGED
|
@@ -73,7 +73,7 @@ to your `app.json` file, where `merchantIdentifier` is the Apple merchant ID obt
|
|
|
73
73
|
#### Android
|
|
74
74
|
|
|
75
75
|
- Android 5.0 (API level 21) and above
|
|
76
|
-
- Your `compileSdkVersion` must be `
|
|
76
|
+
- Your `compileSdkVersion` must be `34`. See [this issue](https://github.com/stripe/stripe-react-native/issues/812) for potential workarounds.
|
|
77
77
|
- Android gradle plugin 4.x and above
|
|
78
78
|
|
|
79
79
|
_Components_
|
|
@@ -198,7 +198,7 @@ function App() {
|
|
|
198
198
|
initStripe({
|
|
199
199
|
publishableKey: publishableKey,
|
|
200
200
|
merchantIdentifier: 'merchant.identifier',
|
|
201
|
-
urlScheme:
|
|
201
|
+
urlScheme: 'your-url-scheme',
|
|
202
202
|
});
|
|
203
203
|
}, []);
|
|
204
204
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@ require 'json'
|
|
|
2
2
|
|
|
3
3
|
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
|
4
4
|
# Keep stripe_version in sync with https://github.com/stripe/stripe-identity-react-native/blob/main/stripe-identity-react-native.podspec
|
|
5
|
-
stripe_version = '~> 23.
|
|
5
|
+
stripe_version = '~> 23.22.0'
|
|
6
6
|
|
|
7
7
|
Pod::Spec.new do |s|
|
|
8
8
|
s.name = 'stripe-react-native'
|