stripe-android icon indicating copy to clipboard operation
stripe-android copied to clipboard

[Identity] Butter M2 phase 1 - Support microblink detector

Open ccen-stripe opened this issue 1 year ago • 12 comments

Summary

This is the release branch of Butter M2 phase1, all changes will be merged here before merging into to master. This release branch includes the following changes, all PRs referenced are reviewed and approved

  • Create responses based on the internal designs doc here
  • Support microblink detector based on the responses - https://github.com/stripe/stripe-android/pull/7997

Motivation

Butter M2

iOS release branch: https://github.com/stripe/stripe-ios/pull/3209

Testing

  • [x] Added tests
  • [x] Modified tests
  • [x] Manually verified

Screenshots

Before After
before screenshot after screenshot

Changelog

ccen-stripe avatar Feb 05 '24 20:02 ccen-stripe

1 build increased size, 2 builds had no size change

Name Version Download Change Install Change
:warning: Stripe Identity Example
com.stripe.android.identity.example.theme1
20.37.1-theme1 (20) 5.9 MB ⬆️ 2.0 MB (52.31%) 12.4 MB ⬆️ 3.1 MB (33.76%)
Financial Connections Example
com.stripe.android.financialconnections.example
20.37.1 (203701) 3.5 MB - 7.9 MB -
PaymentSheet Example
com.stripe.android.paymentsheet.example
20.37.1 (11) 8.5 MB - 16.1 MB -

Stripe Identity Example 20.37.1-theme1 (20)
com.stripe.android.identity.example.theme1

⚖️ Compare build ⏱️ Analyze build performance

⚠️ Download size change increased by >= 2% Total install size change: ⬆️ 3.1 MB (33.76%) Total download size change: ⬆️ 2.0 MB (52.31%)

Largest size changes

Item Install Size Change Download Size Change
📝 Model_ed586fd6ca47c8eebb513c4ffaaacc2c54e92162b145062d7022519fba0... ⬆️ 713.2 kB ⬆️ 662.1 kB
📝 libCapture.so ⬆️ 1.5 MB ⬆️ 585.0 kB
📝 Model_3b11c3ffacbbf390b932fb9a7024f1a0016f66281ea8c790f8b5903374a... ⬆️ 288.8 kB ⬆️ 268.7 kB
📝 Model_021c530a7efe77c0e90c4bfe19c3bebaaceee433103e4e6d4f1424d9218... ⬆️ 308.7 kB ⬆️ 265.5 kB
📝 Model_07c7ab860e77ec2e92bb822f6d62424b8595a5beb4340f6b2f7f6a4cffa... ⬆️ 120.4 kB ⬆️ 103.2 kB

Image of diff

Financial Connections Example 20.37.1 (203701)
com.stripe.android.financialconnections.example

No changes to report

PaymentSheet Example 20.37.1 (11)
com.stripe.android.paymentsheet.example

No changes to report


:flying_saucer: Powered by Emerge Tools

emerge-tools[bot] avatar Feb 05 '24 21:02 emerge-tools[bot]

Diffuse output:

OLD: paymentsheet-example-release-master.apk (signature: V1, V2)
NEW: paymentsheet-example-release-pr.apk (signature: V1, V2)

          │          compressed          │         uncompressed         
          ├───────────┬───────────┬──────┼───────────┬───────────┬──────
 APK      │ old       │ new       │ diff │ old       │ new       │ diff 
──────────┼───────────┼───────────┼──────┼───────────┼───────────┼──────
      dex │   3.9 MiB │   3.9 MiB │  0 B │   8.6 MiB │   8.6 MiB │  0 B 
     arsc │   2.5 MiB │   2.5 MiB │  0 B │   2.5 MiB │   2.5 MiB │  0 B 
 manifest │   5.1 KiB │   5.1 KiB │  0 B │  25.4 KiB │  25.4 KiB │  0 B 
      res │ 970.6 KiB │ 970.6 KiB │  0 B │   1.5 MiB │   1.5 MiB │  0 B 
   native │   2.6 MiB │   2.6 MiB │  0 B │     6 MiB │     6 MiB │  0 B 
    asset │     3 MiB │     3 MiB │  0 B │     3 MiB │     3 MiB │  0 B 
    other │ 211.5 KiB │ 211.5 KiB │  0 B │ 472.5 KiB │ 472.5 KiB │  0 B 
──────────┼───────────┼───────────┼──────┼───────────┼───────────┼──────
    total │  13.1 MiB │  13.1 MiB │  0 B │    22 MiB │    22 MiB │  0 B 

 DEX     │ old   │ new   │ diff      
─────────┼───────┼───────┼───────────
   files │     1 │     1 │ 0         
 strings │ 42572 │ 42572 │ 0 (+0 -0) 
   types │ 14490 │ 14490 │ 0 (+0 -0) 
 classes │ 12246 │ 12246 │ 0 (+0 -0) 
 methods │ 60579 │ 60579 │ 0 (+0 -0) 
  fields │ 40046 │ 40046 │ 0 (+0 -0) 

 ARSC    │ old  │ new  │ diff 
─────────┼──────┼──────┼──────
 configs │  328 │  328 │  0   
 entries │ 7269 │ 7269 │  0

github-actions[bot] avatar Feb 05 '24 21:02 github-actions[bot]

1 build increased size

Name Version Download Change Install Change Approval
:warning: Stripe Identity Example
com.stripe.android.identity.example.theme1
20.37.4-theme1 (20) 5.9 MB ⬆️ 2.0 MB (52.07%) 12.4 MB ⬆️ 3.1 MB (33.67%) N/A

Stripe Identity Example 20.37.4-theme1 (20)
com.stripe.android.identity.example.theme1

⚖️ Compare build ⏱️ Analyze build performance

Total install size change: ⬆️ 3.1 MB (33.67%) Total download size change: ⬆️ 2.0 MB (52.07%)

Largest size changes

Item Install Size Change Download Size Change
📝 Model_ed586fd6ca47c8eebb513c4ffaaacc2c54e92162b145062d7022519fba0... ⬆️ 713.2 kB ⬆️ 662.1 kB
📝 libCapture.so ⬆️ 1.5 MB ⬆️ 585.0 kB
📝 Model_3b11c3ffacbbf390b932fb9a7024f1a0016f66281ea8c790f8b5903374a... ⬆️ 288.8 kB ⬆️ 268.7 kB
📝 Model_021c530a7efe77c0e90c4bfe19c3bebaaceee433103e4e6d4f1424d9218... ⬆️ 308.7 kB ⬆️ 265.5 kB
📝 Model_07c7ab860e77ec2e92bb822f6d62424b8595a5beb4340f6b2f7f6a4cffa... ⬆️ 120.4 kB ⬆️ 103.2 kB

Image of diff


:flying_saucer: Powered by Emerge Tools

emerge-tools[bot] avatar Feb 26 '24 20:02 emerge-tools[bot]

1 build increased size, 1 build had no size change

Name Version Download Change Install Change Approval
:warning: Stripe Identity Example
com.stripe.android.identity.example.theme1
20.37.4-theme1 (20) 5.9 MB ⬆️ 2.0 MB (52.07%) 12.4 MB ⬆️ 3.1 MB (33.67%) N/A
Financial Connections Example
com.stripe.android.financialconnections.example
20.37.4 (203704) 3.5 MB - 7.9 MB - N/A

Stripe Identity Example 20.37.4-theme1 (20)
com.stripe.android.identity.example.theme1

⚖️ Compare build ⏱️ Analyze build performance

Total install size change: ⬆️ 3.1 MB (33.67%) Total download size change: ⬆️ 2.0 MB (52.07%)

Largest size changes

Item Install Size Change Download Size Change
📝 Model_ed586fd6ca47c8eebb513c4ffaaacc2c54e92162b145062d7022519fba0... ⬆️ 713.2 kB ⬆️ 662.1 kB
📝 libCapture.so ⬆️ 1.5 MB ⬆️ 585.0 kB
📝 Model_3b11c3ffacbbf390b932fb9a7024f1a0016f66281ea8c790f8b5903374a... ⬆️ 288.8 kB ⬆️ 268.7 kB
📝 Model_021c530a7efe77c0e90c4bfe19c3bebaaceee433103e4e6d4f1424d9218... ⬆️ 308.7 kB ⬆️ 265.5 kB
📝 Model_07c7ab860e77ec2e92bb822f6d62424b8595a5beb4340f6b2f7f6a4cffa... ⬆️ 120.4 kB ⬆️ 103.2 kB

Image of diff

Financial Connections Example 20.37.4 (203704)
com.stripe.android.financialconnections.example

No changes to report


:flying_saucer: Powered by Emerge Tools

emerge-tools[bot] avatar Feb 26 '24 20:02 emerge-tools[bot]

1 build increased size, 2 builds had no size change

Name Version Download Change Install Change Approval
:warning: Stripe Identity Example
com.stripe.android.identity.example.theme1
20.37.4-theme1 (20) 5.9 MB ⬆️ 2.0 MB (52.07%) 12.4 MB ⬆️ 3.1 MB (33.67%) N/A
Financial Connections Example
com.stripe.android.financialconnections.example
20.37.4 (203704) 3.5 MB - 7.9 MB - N/A
PaymentSheet Example
com.stripe.android.paymentsheet.example
20.37.4 (11) 8.5 MB - 16.2 MB - N/A

Stripe Identity Example 20.37.4-theme1 (20)
com.stripe.android.identity.example.theme1

⚖️ Compare build ⏱️ Analyze build performance

Total install size change: ⬆️ 3.1 MB (33.67%) Total download size change: ⬆️ 2.0 MB (52.07%)

Largest size changes

Item Install Size Change Download Size Change
📝 Model_ed586fd6ca47c8eebb513c4ffaaacc2c54e92162b145062d7022519fba0... ⬆️ 713.2 kB ⬆️ 662.1 kB
📝 libCapture.so ⬆️ 1.5 MB ⬆️ 585.0 kB
📝 Model_3b11c3ffacbbf390b932fb9a7024f1a0016f66281ea8c790f8b5903374a... ⬆️ 288.8 kB ⬆️ 268.7 kB
📝 Model_021c530a7efe77c0e90c4bfe19c3bebaaceee433103e4e6d4f1424d9218... ⬆️ 308.7 kB ⬆️ 265.5 kB
📝 Model_07c7ab860e77ec2e92bb822f6d62424b8595a5beb4340f6b2f7f6a4cffa... ⬆️ 120.4 kB ⬆️ 103.2 kB

Image of diff

Financial Connections Example 20.37.4 (203704)
com.stripe.android.financialconnections.example

No changes to report

PaymentSheet Example 20.37.4 (11)
com.stripe.android.paymentsheet.example

No changes to report


:flying_saucer: Powered by Emerge Tools

emerge-tools[bot] avatar Feb 26 '24 20:02 emerge-tools[bot]

1 build increased size, 1 build had no size change

Name Version Download Change Install Change Approval
:warning: Stripe Identity Example
com.stripe.android.identity.example.theme1
20.37.4-theme1 (20) 5.9 MB ⬆️ 2.0 MB (52.07%) 12.4 MB ⬆️ 3.1 MB (33.67%) N/A
Financial Connections Example
com.stripe.android.financialconnections.example
20.37.4 (203704) 3.5 MB - 7.9 MB - N/A

Stripe Identity Example 20.37.4-theme1 (20)
com.stripe.android.identity.example.theme1

⚖️ Compare build ⏱️ Analyze build performance

Total install size change: ⬆️ 3.1 MB (33.67%) Total download size change: ⬆️ 2.0 MB (52.07%)

Largest size changes

Item Install Size Change Download Size Change
📝 Model_ed586fd6ca47c8eebb513c4ffaaacc2c54e92162b145062d7022519fba0... ⬆️ 713.2 kB ⬆️ 662.1 kB
📝 libCapture.so ⬆️ 1.5 MB ⬆️ 585.0 kB
📝 Model_3b11c3ffacbbf390b932fb9a7024f1a0016f66281ea8c790f8b5903374a... ⬆️ 288.8 kB ⬆️ 268.7 kB
📝 Model_021c530a7efe77c0e90c4bfe19c3bebaaceee433103e4e6d4f1424d9218... ⬆️ 308.7 kB ⬆️ 265.5 kB
📝 Model_07c7ab860e77ec2e92bb822f6d62424b8595a5beb4340f6b2f7f6a4cffa... ⬆️ 120.4 kB ⬆️ 103.2 kB

Image of diff

Financial Connections Example 20.37.4 (203704)
com.stripe.android.financialconnections.example

No changes to report


:flying_saucer: Powered by Emerge Tools

emerge-tools[bot] avatar Feb 26 '24 21:02 emerge-tools[bot]

1 build increased size, 2 builds had no size change

Name Version Download Change Install Change Approval
PaymentSheet Example
com.stripe.android.paymentsheet.example
20.37.4 (11) 8.5 MB - 16.2 MB - N/A
:warning: Stripe Identity Example
com.stripe.android.identity.example.theme1
20.37.4-theme1 (20) 5.9 MB ⬆️ 2.0 MB (52.07%) 12.4 MB ⬆️ 3.1 MB (33.67%) N/A
Financial Connections Example
com.stripe.android.financialconnections.example
20.37.4 (203704) 3.5 MB - 7.9 MB - N/A

PaymentSheet Example 20.37.4 (11)
com.stripe.android.paymentsheet.example

No changes to report

Stripe Identity Example 20.37.4-theme1 (20)
com.stripe.android.identity.example.theme1

⚖️ Compare build ⏱️ Analyze build performance

Total install size change: ⬆️ 3.1 MB (33.67%) Total download size change: ⬆️ 2.0 MB (52.07%)

Largest size changes

Item Install Size Change Download Size Change
📝 Model_ed586fd6ca47c8eebb513c4ffaaacc2c54e92162b145062d7022519fba0... ⬆️ 713.2 kB ⬆️ 662.1 kB
📝 libCapture.so ⬆️ 1.5 MB ⬆️ 585.0 kB
📝 Model_3b11c3ffacbbf390b932fb9a7024f1a0016f66281ea8c790f8b5903374a... ⬆️ 288.8 kB ⬆️ 268.7 kB
📝 Model_021c530a7efe77c0e90c4bfe19c3bebaaceee433103e4e6d4f1424d9218... ⬆️ 308.7 kB ⬆️ 265.5 kB
📝 Model_07c7ab860e77ec2e92bb822f6d62424b8595a5beb4340f6b2f7f6a4cffa... ⬆️ 120.4 kB ⬆️ 103.2 kB

Image of diff

Financial Connections Example 20.37.4 (203704)
com.stripe.android.financialconnections.example

No changes to report


:flying_saucer: Powered by Emerge Tools

emerge-tools[bot] avatar Feb 26 '24 21:02 emerge-tools[bot]

1 build increased size

Name Version Download Change Install Change Approval
:warning: Stripe Identity Example
com.stripe.android.identity.example.theme1
20.37.4-theme1 (20) 5.9 MB ⬆️ 2.0 MB (52.07%) 12.4 MB ⬆️ 3.1 MB (33.67%) N/A

Stripe Identity Example 20.37.4-theme1 (20)
com.stripe.android.identity.example.theme1

⚖️ Compare build ⏱️ Analyze build performance

Total install size change: ⬆️ 3.1 MB (33.67%) Total download size change: ⬆️ 2.0 MB (52.07%)

Largest size changes

Item Install Size Change Download Size Change
📝 Model_ed586fd6ca47c8eebb513c4ffaaacc2c54e92162b145062d7022519fba0... ⬆️ 713.2 kB ⬆️ 662.1 kB
📝 libCapture.so ⬆️ 1.5 MB ⬆️ 585.0 kB
📝 Model_3b11c3ffacbbf390b932fb9a7024f1a0016f66281ea8c790f8b5903374a... ⬆️ 288.8 kB ⬆️ 268.7 kB
📝 Model_021c530a7efe77c0e90c4bfe19c3bebaaceee433103e4e6d4f1424d9218... ⬆️ 308.7 kB ⬆️ 265.5 kB
📝 Model_07c7ab860e77ec2e92bb822f6d62424b8595a5beb4340f6b2f7f6a4cffa... ⬆️ 120.4 kB ⬆️ 103.2 kB

Image of diff


:flying_saucer: Powered by Emerge Tools

emerge-tools[bot] avatar Feb 26 '24 22:02 emerge-tools[bot]

1 build increased size, 1 build had no size change

Name Version Download Change Install Change Approval
:warning: Stripe Identity Example
com.stripe.android.identity.example.theme1
20.37.4-theme1 (20) 5.9 MB ⬆️ 2.0 MB (52.07%) 12.4 MB ⬆️ 3.1 MB (33.67%) N/A
Financial Connections Example
com.stripe.android.financialconnections.example
20.37.4 (203704) 3.5 MB - 7.9 MB - N/A

Stripe Identity Example 20.37.4-theme1 (20)
com.stripe.android.identity.example.theme1

⚖️ Compare build ⏱️ Analyze build performance

Total install size change: ⬆️ 3.1 MB (33.67%) Total download size change: ⬆️ 2.0 MB (52.07%)

Largest size changes

Item Install Size Change Download Size Change
📝 Model_ed586fd6ca47c8eebb513c4ffaaacc2c54e92162b145062d7022519fba0... ⬆️ 713.2 kB ⬆️ 662.1 kB
📝 libCapture.so ⬆️ 1.5 MB ⬆️ 585.0 kB
📝 Model_3b11c3ffacbbf390b932fb9a7024f1a0016f66281ea8c790f8b5903374a... ⬆️ 288.8 kB ⬆️ 268.7 kB
📝 Model_021c530a7efe77c0e90c4bfe19c3bebaaceee433103e4e6d4f1424d9218... ⬆️ 308.7 kB ⬆️ 265.5 kB
📝 Model_07c7ab860e77ec2e92bb822f6d62424b8595a5beb4340f6b2f7f6a4cffa... ⬆️ 120.4 kB ⬆️ 103.2 kB

Image of diff

Financial Connections Example 20.37.4 (203704)
com.stripe.android.financialconnections.example

No changes to report


:flying_saucer: Powered by Emerge Tools

emerge-tools[bot] avatar Feb 26 '24 22:02 emerge-tools[bot]

1 build increased size, 2 builds had no size change

Name Version Download Change Install Change Approval
:warning: Stripe Identity Example
com.stripe.android.identity.example.theme1
20.37.4-theme1 (20) 5.9 MB ⬆️ 2.0 MB (52.07%) 12.4 MB ⬆️ 3.1 MB (33.67%) N/A
PaymentSheet Example
com.stripe.android.paymentsheet.example
20.37.4 (11) 8.5 MB - 16.2 MB - N/A
Financial Connections Example
com.stripe.android.financialconnections.example
20.37.4 (203704) 3.5 MB - 7.9 MB - N/A

Stripe Identity Example 20.37.4-theme1 (20)
com.stripe.android.identity.example.theme1

⚖️ Compare build ⏱️ Analyze build performance

Total install size change: ⬆️ 3.1 MB (33.67%) Total download size change: ⬆️ 2.0 MB (52.07%)

Largest size changes

Item Install Size Change Download Size Change
📝 Model_ed586fd6ca47c8eebb513c4ffaaacc2c54e92162b145062d7022519fba0... ⬆️ 713.2 kB ⬆️ 662.1 kB
📝 libCapture.so ⬆️ 1.5 MB ⬆️ 585.0 kB
📝 Model_3b11c3ffacbbf390b932fb9a7024f1a0016f66281ea8c790f8b5903374a... ⬆️ 288.8 kB ⬆️ 268.7 kB
📝 Model_021c530a7efe77c0e90c4bfe19c3bebaaceee433103e4e6d4f1424d9218... ⬆️ 308.7 kB ⬆️ 265.5 kB
📝 Model_07c7ab860e77ec2e92bb822f6d62424b8595a5beb4340f6b2f7f6a4cffa... ⬆️ 120.4 kB ⬆️ 103.2 kB

Image of diff

PaymentSheet Example 20.37.4 (11)
com.stripe.android.paymentsheet.example

No changes to report

Financial Connections Example 20.37.4 (203704)
com.stripe.android.financialconnections.example

No changes to report


:flying_saucer: Powered by Emerge Tools

emerge-tools[bot] avatar Feb 26 '24 22:02 emerge-tools[bot]

1 build increased size, 1 build had no size change

Name Version Download Change Install Change Approval
:warning: Stripe Identity Example
com.stripe.android.identity.example.theme1
20.37.4-theme1 (20) 5.9 MB ⬆️ 2.0 MB (52.07%) 12.4 MB ⬆️ 3.1 MB (33.67%) N/A
Financial Connections Example
com.stripe.android.financialconnections.example
20.37.4 (203704) 3.5 MB - 7.9 MB - N/A

Stripe Identity Example 20.37.4-theme1 (20)
com.stripe.android.identity.example.theme1

⚖️ Compare build ⏱️ Analyze build performance

Total install size change: ⬆️ 3.1 MB (33.67%) Total download size change: ⬆️ 2.0 MB (52.07%)

Largest size changes

Item Install Size Change Download Size Change
📝 Model_ed586fd6ca47c8eebb513c4ffaaacc2c54e92162b145062d7022519fba0... ⬆️ 713.2 kB ⬆️ 662.1 kB
📝 libCapture.so ⬆️ 1.5 MB ⬆️ 585.0 kB
📝 Model_3b11c3ffacbbf390b932fb9a7024f1a0016f66281ea8c790f8b5903374a... ⬆️ 288.8 kB ⬆️ 268.7 kB
📝 Model_021c530a7efe77c0e90c4bfe19c3bebaaceee433103e4e6d4f1424d9218... ⬆️ 308.7 kB ⬆️ 265.5 kB
📝 Model_07c7ab860e77ec2e92bb822f6d62424b8595a5beb4340f6b2f7f6a4cffa... ⬆️ 120.4 kB ⬆️ 103.2 kB

Image of diff

Financial Connections Example 20.37.4 (203704)
com.stripe.android.financialconnections.example

No changes to report


:flying_saucer: Powered by Emerge Tools

emerge-tools[bot] avatar Feb 26 '24 22:02 emerge-tools[bot]

1 build increased size, 2 builds had no size change

Name Version Download Change Install Change Approval
Financial Connections Example
com.stripe.android.financialconnections.example
20.39.0 (203900) 3.5 MB - 7.9 MB - N/A
:warning: Stripe Identity Example
com.stripe.android.identity.example.theme1
20.39.0-theme1 (20) 5.9 MB ⬆️ 2.0 MB (52.58%) 12.5 MB ⬆️ 3.2 MB (34.1%) N/A
PaymentSheet Example
com.stripe.android.paymentsheet.example
20.39.0 (11) 8.5 MB - 16.2 MB - N/A

Financial Connections Example 20.39.0 (203900)
com.stripe.android.financialconnections.example

No changes to report

Stripe Identity Example 20.39.0-theme1 (20)
com.stripe.android.identity.example.theme1

⚖️ Compare build ⏱️ Analyze build performance

Total install size change: ⬆️ 3.2 MB (34.1%) Total download size change: ⬆️ 2.0 MB (52.58%)

Largest size changes

Item Install Size Change Download Size Change
📝 Model_ed586fd6ca47c8eebb513c4ffaaacc2c54e92162b145062d7022519fba0... ⬆️ 713.2 kB ⬆️ 662.1 kB
📝 libCapture.so ⬆️ 1.5 MB ⬆️ 585.0 kB
📝 Model_3b11c3ffacbbf390b932fb9a7024f1a0016f66281ea8c790f8b5903374a... ⬆️ 288.8 kB ⬆️ 268.7 kB
📝 Model_021c530a7efe77c0e90c4bfe19c3bebaaceee433103e4e6d4f1424d9218... ⬆️ 308.7 kB ⬆️ 265.5 kB
📝 Model_07c7ab860e77ec2e92bb822f6d62424b8595a5beb4340f6b2f7f6a4cffa... ⬆️ 120.4 kB ⬆️ 103.2 kB
View Treemap

Image of diff

PaymentSheet Example 20.39.0 (11)
com.stripe.android.paymentsheet.example

No changes to report


:flying_saucer: Powered by Emerge Tools

emerge-tools[bot] avatar Feb 26 '24 22:02 emerge-tools[bot]