-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Update IdentityVerification Example to allow for reusing VerificationSessions #4427
base: master
Are you sure you want to change the base?
Conversation
StripePaymentSheet- case embeddedPaymentElementAlreadyConfirmedIntent If you are adding a new public API consider the following:
If you are modifying or removing a public API:
If you confirm these APIs need to be added/updated and have undergone necessary review, add the label ℹ️ If this comment appears to be left in error, make sure your branch is up-to-date with |
6 builds decreased size
StripeSize 1.0 (1)
|
Item | Install Size Change |
---|---|
🗑 StripeCore.StripeAttest | ⬇️ -6.5 kB |
StripeCore.STPAnalyticEvent.init(rawValue) | ⬇️ -4.1 kB |
DYLD.Exports | ⬇️ -3.5 kB |
StripeCore.UnknownFieldsDecodable.applyUnknownFieldDecodingTransf... | ⬇️ -3.0 kB |
🗑 StripeCore.StripeChallengeResponse | ⬇️ -2.7 kB |
StripeApplePaySize 1.0 (1)
com.stripe.StripeApplePaySize
⚖️ Compare build
⏱️ Analyze build performance
Total install size change: ⬇️ 77.9 kB (-4.8%)
Total download size change: ⬇️ 30.0 kB (-6.26%)
Largest size changes
Item | Install Size Change |
---|---|
🗑 StripeCore.StripeAttest | ⬇️ -6.6 kB |
StripeCore.STPAnalyticEvent.init(rawValue) | ⬇️ -4.1 kB |
StripeCore.UnknownFieldsDecodable.applyUnknownFieldDecodingTransf... | ⬇️ -3.0 kB |
DYLD.Exports | ⬇️ -3.0 kB |
🗑 StripeCore.StripeChallengeResponse | ⬇️ -2.7 kB |
StripeFinancialConnectionsSize 1.0 (1)
com.stripe.StripeFinancialConnectionsSize
⚖️ Compare build
⏱️ Analyze build performance
Total install size change: ⬇️ 107.4 kB (-2.42%)
Total download size change: ⬇️ 42.0 kB (-3.04%)
Largest size changes
Item | Install Size Change |
---|---|
🗑 StripeCore.StripeAttest | ⬇️ -6.5 kB |
🗑 StripeFinancialConnections.FinancialConnectionsWebFlowViewControl... | ⬇️ -4.3 kB |
StripeCore.STPAnalyticEvent.init(rawValue) | ⬇️ -4.1 kB |
DYLD.Exports | ⬇️ -4.0 kB |
📝 StripeFinancialConnections.FinancialConnectionsWebFlowViewControl... | ⬆️ 3.9 kB |
StripePaymentsSize 1.0 (1)
com.stripe.StripePaymentsSize
⚖️ Compare build
⏱️ Analyze build performance
Total install size change: ⬇️ 77.3 kB (-1.86%)
Total download size change: ⬇️ 28.3 kB (-2.36%)
Largest size changes
Item | Install Size Change |
---|---|
🗑 StripeCore.StripeAttest | ⬇️ -6.6 kB |
DYLD.Exports | ⬇️ -4.6 kB |
StripeCore.STPAnalyticEvent.init(rawValue) | ⬇️ -4.1 kB |
StripeCore.UnknownFieldsDecodable.applyUnknownFieldDecodingTransf... | ⬇️ -3.0 kB |
🗑 StripeCore.StripeChallengeResponse | ⬇️ -2.7 kB |
StripePaymentsUISize 1.0 (1)
com.stripe.StripePaymentsUISize
⚖️ Compare build
⏱️ Analyze build performance
Total install size change: ⬇️ 73.6 kB (-1.15%)
Total download size change: ⬇️ 32.2 kB (-1.65%)
Largest size changes
Item | Install Size Change |
---|---|
🗑 StripeCore.StripeAttest | ⬇️ -6.5 kB |
StripeCore.STPAnalyticEvent.init(rawValue) | ⬇️ -4.1 kB |
DYLD.Exports | ⬇️ -3.4 kB |
StripeCore.UnknownFieldsDecodable.applyUnknownFieldDecodingTransf... | ⬇️ -3.0 kB |
🗑 StripeCore.StripeChallengeResponse | ⬇️ -2.7 kB |
StripePaymentSheetSize 1.0 (1)
com.stripe.StripePaymentSheetSize
⚖️ Compare build
⏱️ Analyze build performance
Total install size change: ⬇️ 140.2 kB (-1.27%)
Total download size change: ⬇️ 40.0 kB (-1.07%)
Largest size changes
Item | Install Size Change |
---|---|
📝 [email protected] | ⬆️ 14.5 kB |
🗑 StripePaymentSheet.VerticalPaymentMethodListViewController.init(i... | ⬇️ -9.2 kB |
🗑 StripePaymentSheet.RowButton.init(appearance,originalCornerRadius... | ⬇️ -9.0 kB |
📝 [email protected] | ⬆️ 8.9 kB |
📝 StripePaymentSheet.VerticalPaymentMethodListViewController.init(i... | ⬆️ 8.7 kB |
🛸 Powered by Emerge Tools
Comment trigger: Size diff threshold of 100.00kB exceeded
Summary
Updates Identity Verification Example app to allow for reusing VerificationSessions. Reusing VerificationSessions is a common pattern for Stripe Identity users.
Motivation
Allow for better testing of all of the possible integration paths that an integrator may implement.
Testing
Tested in simulator to validate new behavior
Screen.Recording.2024-12-23.at.2.39.11.PM.mov
Changelog