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

[DRAFT] Distribute FC Lite on MPE. #10491

Draft
wants to merge 34 commits into
base: master
Choose a base branch
from

Conversation

carlosmuvi-stripe
Copy link
Collaborator

Summary

Motivation

Testing

  • Added tests
  • Modified tests
  • Manually verified

Screenshots

Before After
before screenshot after screenshot

Changelog

Copy link
Contributor

Risky Change

This is considered a risky change because it adjusts the sample app build.gradle, please review carefully.
We've seen issues in the past which resulted in failed builds for merchants. Please make sure the build.gradle change is intended.

By adding the label accept-risky-change to this PR, I acknowledge that I'm changing an example app and have verified that the SDK remains in a shippable state.

Copy link
Contributor

github-actions bot commented Mar 25, 2025

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 │   4.1 MiB │   4.1 MiB │ -476 B │  9.1 MiB │  9.1 MiB │ -556 B 
     arsc │   2.4 MiB │   2.4 MiB │    0 B │  2.4 MiB │  2.4 MiB │    0 B 
 manifest │   5.3 KiB │   5.3 KiB │    0 B │ 26.9 KiB │ 26.9 KiB │    0 B 
      res │ 910.6 KiB │ 910.6 KiB │    0 B │  1.4 MiB │  1.4 MiB │    0 B 
   native │   2.6 MiB │   2.6 MiB │    0 B │    6 MiB │    6 MiB │    0 B 
    asset │   1.6 MiB │   1.6 MiB │  -12 B │  1.6 MiB │  1.6 MiB │  -12 B 
    other │   1.4 MiB │   1.4 MiB │   -4 B │  1.6 MiB │  1.6 MiB │    0 B 
──────────┼───────────┼───────────┼────────┼──────────┼──────────┼────────
    total │    13 MiB │    13 MiB │ -492 B │ 22.2 MiB │ 22.2 MiB │ -568 B 

 DEX     │ old   │ new   │ diff          
─────────┼───────┼───────┼───────────────
   files │     1 │     1 │   0           
 strings │ 43015 │ 43016 │  +1 (+3 -2)   
   types │ 15441 │ 15441 │   0 (+0 -0)   
 classes │ 13034 │ 13034 │   0 (+0 -0)   
 methods │ 63095 │ 63079 │ -16 (+32 -48) 
  fields │ 42022 │ 42027 │  +5 (+17 -12) 

 ARSC    │ old  │ new  │ diff 
─────────┼──────┼──────┼──────
 configs │  243 │  243 │  0   
 entries │ 6284 │ 6284 │  0
APK
    compressed     │    uncompressed    │                               
──────────┬────────┼───────────┬────────┤                               
 size     │ diff   │ size      │ diff   │ path                          
──────────┼────────┼───────────┼────────┼───────────────────────────────
  4.1 MiB │ -476 B │   9.1 MiB │ -556 B │ ∆ classes.dex                 
  8.1 KiB │  -12 B │     8 KiB │  -12 B │ ∆ assets/dexopt/baseline.prof 
 54.1 KiB │   -4 B │ 120.2 KiB │    0 B │ ∆ META-INF/CERT.SF            
  1.2 KiB │   +1 B │   1.2 KiB │    0 B │ ∆ META-INF/CERT.RSA           
 50.7 KiB │   -1 B │ 120.1 KiB │    0 B │ ∆ META-INF/MANIFEST.MF        
──────────┼────────┼───────────┼────────┼───────────────────────────────
  4.2 MiB │ -492 B │   9.3 MiB │ -568 B │ (total)
DEX
STRINGS:

   old   │ new   │ diff       
  ───────┼───────┼────────────
   43015 │ 43016 │ +1 (+3 -2) 
  
  + https://gossamer-showy-root.glitch.me/
  + link_consumer_incentive
  + ~~R8{"backend":"dex","compilation-mode":"release","has-checksums":false,"min-api":21,"pg-map-id":"f7b2c94","r8-mode":"full","version":"8.8.34"}
  
  - https://stp-mobile-playground-backend-v7.stripedemos.com/
  - ~~R8{"backend":"dex","compilation-mode":"release","has-checksums":false,"min-api":21,"pg-map-id":"d67354d","r8-mode":"full","version":"8.8.34"}
  

METHODS:

   old   │ new   │ diff          
  ───────┼───────┼───────────────
   63095 │ 63079 │ -16 (+32 -48) 
  
  + D7.a a(y0) → b
  + S7.f t(boolean)
  + S7.i0 <init>(d)
  + S7.i0 t(boolean)
  + j0.k a() → r
  + j0.k b(int) → ColorStateList
  + j0.k c() → b
  + j0.k d(int) → Drawable
  + j0.k e(int) → Drawable
  + j0.k f(int, int, Q) → Typeface
  + j0.k g() → b
  + j0.k h() → k
  + j0.k i() → long
  + j0.k j(int, a, e) → boolean
  + j0.k k(Context, AttributeSet, int[], int) → k
  + j0.k l()
  + j0.k m(r)
  + j0.k n(b)
  + j0.k o(b)
  + j0.k p(k)
  + j0.k q(long)
  + j0.k r(f, int, int, int)
  + j0.k s()
  + j0.k t(f)
  + n1.d <init>(String)
  + n1.d a(SuspendLambda) → Object
  + n1.d b(KProperty) → Object
  + n1.d c(Context, XmlResourceParser)
  + n1.d d(boolean)
  + n1.d e(int, int, int, int)
  + u7.e <init>(i, b, String)
  + u7.e <init>(i, String, b)
  
  - D7.a a()
  - S7.f t()
  - S7.i0 <init>(f)
  - S7.i0 t()
  - j0.k <init>()
  - j0.k <init>(i, b, String)
  - j0.k <init>(l, String, Function0)
  - j0.k <init>(f)
  - j0.k <init>(b)
  - j0.k a(String, String, String, d)
  - j0.k b()
  - j0.k c(String, String, d, String, String, Integer, String)
  - j0.k d(String, String, String, d)
  - j0.k e(String, String, d, String, String)
  - j0.k f() → r
  - j0.k g(int) → ColorStateList
  - j0.k h() → b
  - j0.k i(int) → Drawable
  - j0.k j(int) → Drawable
  - j0.k k(int, int, Q) → Typeface
  - j0.k l() → b
  - j0.k m() → k
  - j0.k n() → long
  - j0.k o(int, a, e) → boolean
  - j0.k p(Context, AttributeSet, int[], int) → k
  - j0.k q()
  - j0.k r(r)
  - j0.k s(b)
  - j0.k t(b)
  - j0.k u(k)
  - j0.k v(long)
  - j0.k w(f, int, int, int)
  - j0.k x(f)
  - n1.d <init>(i, String)
  - n1.d a(String, String, String, d)
  - n1.d b()
  - n1.d c(String, String, d, String, String, Integer, String)
  - n1.d d(String, String, String, d)
  - n1.d e(String, String, d, String, String)
  - n1.d f(SuspendLambda) → Object
  - n1.d g(KProperty) → Object
  - n1.d h(Context, XmlResourceParser)
  - n1.d i(int, int, int, int)
  - u7.e a(String, String, String, d)
  - u7.e b()
  - u7.e c(String, String, d, String, String, Integer, String)
  - u7.e d(String, String, String, d)
  - u7.e e(String, String, d, String, String)
  

FIELDS:

   old   │ new   │ diff         
  ───────┼───────┼──────────────
   42022 │ 42027 │ +5 (+17 -12) 
  
  + D7.b k: b
  + D7.b l: b[]
  + S7.i0 d: d
  + a7.w0 j: w0
  + a7.w0 k: w0[]
  + a7.w0 l: a
  + j0.k a: Object
  + r5.g a: d
  + r5.g b: d
  + r5.g c: d
  + r5.g d: d
  + r5.g e: d
  + r5.g f: d
  + u7.e a: int
  + u7.e b: i
  + u7.e c: b
  + u7.e d: String
  
  - D7.b k: b[]
  - S7.i0 d: f
  - a7.w0 j: w0[]
  - a7.w0 k: a
  - j0.k a: int
  - j0.k d: Object
  - r5.g a: f
  - r5.g b: f
  - r5.g c: f
  - r5.g d: f
  - r5.g e: f
  - r5.g f: f

@carlosmuvi-stripe carlosmuvi-stripe force-pushed the carlosmuvi/distribute-fc-lite-to-mpe branch from 1aeb7af to 394c78c Compare March 25, 2025 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant