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

[DO NOT MERGE] 20.25.9 pilot

Open carlosmuvi-stripe opened this issue 2 years ago • 1 comments

DO NOT MERGE

Branches off 20.25.8, adapts it to Jitpack (see this doc) and includes essential changes:

  • Auto select first selectable account
  • Conditionally show manual entry on errors
  • Add more logging to partner auth pane
  • Retrieve auth session on auth cancel callbacks.

carlosmuvi-stripe avatar Jul 31 '23 12:07 carlosmuvi-stripe

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.5 MiB │   3.4 MiB │ -146.2 KiB │   7.7 MiB │   7.4 MiB │ -311.7 KiB 
     arsc │   2.1 MiB │   2.1 MiB │     +116 B │   2.1 MiB │   2.1 MiB │     +116 B 
 manifest │   4.9 KiB │   4.9 KiB │      -36 B │  24.1 KiB │  23.8 KiB │     -316 B 
      res │ 867.8 KiB │ 867.7 KiB │      -87 B │   1.3 MiB │   1.3 MiB │     -408 B 
   native │   2.6 MiB │   6.2 MiB │   +3.6 MiB │     6 MiB │  15.8 MiB │   +9.8 MiB 
    asset │     3 MiB │     3 MiB │      +49 B │     3 MiB │     3 MiB │      +49 B 
    other │ 199.6 KiB │ 199.6 KiB │        0 B │ 446.7 KiB │ 446.7 KiB │      +14 B 
──────────┼───────────┼───────────┼────────────┼───────────┼───────────┼────────────
    total │  12.2 MiB │  15.7 MiB │   +3.5 MiB │  20.6 MiB │  30.1 MiB │   +9.5 MiB 

 DEX     │ old   │ new   │ diff                  
─────────┼───────┼───────┼───────────────────────
   files │     1 │     1 │     0                 
 strings │ 38067 │ 36284 │ -1783 (+5314 -7097)   
   types │ 12565 │ 12101 │  -464 (+5193 -5657)   
 classes │ 10597 │ 10202 │  -395 (+4576 -4971)   
 methods │ 55735 │ 53566 │ -2169 (+36687 -38856) 
  fields │ 34961 │ 33749 │ -1212 (+28322 -29534) 

 ARSC    │ old  │ new  │ diff      
─────────┼──────┼──────┼───────────
 configs │  291 │  291 │ 0         
 entries │ 6921 │ 6921 │ 0 (+4 -4)
APK
      compressed       │      uncompressed      │                                                  
──────────┬────────────┼───────────┬────────────┤                                                  
 size     │ diff       │ size      │ diff       │ path                                             
──────────┼────────────┼───────────┼────────────┼──────────────────────────────────────────────────
  1.9 MiB │   +1.1 MiB │     5 MiB │   +3.1 MiB │ ∆ lib/x86_64/libtensorflowlite_jni.so            
  1.7 MiB │     +1 MiB │   4.7 MiB │     +3 MiB │ ∆ lib/x86/libtensorflowlite_jni.so               
  1.4 MiB │ +784.1 KiB │   3.5 MiB │   +2.1 MiB │ ∆ lib/arm64-v8a/libtensorflowlite_jni.so         
  1.2 MiB │ +748.8 KiB │   2.4 MiB │   +1.6 MiB │ ∆ lib/armeabi-v7a/libtensorflowlite_jni.so       
  3.4 MiB │ -146.2 KiB │   7.4 MiB │ -311.7 KiB │ ∆ classes.dex                                    
          │     -846 B │           │   -1.9 KiB │ - res/E8.xml                                     
    631 B │     +631 B │   1.2 KiB │   +1.2 KiB │ + res/nY.xml                                     
  2.1 MiB │     +116 B │   2.1 MiB │     +116 B │ ∆ resources.arsc                                 
    917 B │      +67 B │   1.6 KiB │     +176 B │ ∆ res/-y.xml                                     
  6.4 KiB │      +63 B │   6.3 KiB │      +63 B │ ∆ assets/dexopt/baseline.prof                    
    601 B │      +63 B │   1.1 KiB │     +184 B │ ∆ res/gK.xml                                     
  4.9 KiB │      -36 B │  23.8 KiB │     -316 B │ ∆ AndroidManifest.xml                            
    753 B │      -14 B │     621 B │      -14 B │ ∆ assets/dexopt/baseline.profm                   
    197 B │       +7 B │      92 B │      +14 B │ ∆ play-services-wallet.properties                
 48.4 KiB │       -5 B │ 140.7 KiB │        0 B │ ∆ META-INF/MANIFEST.MF                           
 62.7 KiB │       -4 B │ 140.8 KiB │        0 B │ ∆ META-INF/CERT.SF                               
    516 B │       -2 B │   1,016 B │        0 B │ ∆ res/u0.xml                                     
  1.2 KiB │       +2 B │   1.2 KiB │        0 B │ ∆ META-INF/CERT.RSA                              
    684 B │       -1 B │   1.3 KiB │        0 B │ ∆ res/-G.xml                                     
  2.2 KiB │       +1 B │   5.2 KiB │        0 B │ ∆ res/6F.xml                                     
    658 B │       -1 B │   1.1 KiB │        0 B │ ∆ res/6R.xml                                     
    878 B │       +1 B │   2.3 KiB │        0 B │ ∆ res/6i.xml                                     
    459 B │       -1 B │     752 B │        0 B │ ∆ res/9W.xml                                     
    576 B │       +1 B │   1.1 KiB │        0 B │ ∆ res/Cf.xml                                     
    750 B │       -1 B │   1.5 KiB │        0 B │ ∆ res/M6.xml                                     
    595 B │       +1 B │     1 KiB │        0 B │ ∆ res/UO.xml                                     
    460 B │       +1 B │     752 B │        0 B │ ∆ res/XD.xml                                     
    328 B │       +1 B │     464 B │        0 B │ ∆ res/Y8.xml                                     
    584 B │       +1 B │   1.2 KiB │        0 B │ ∆ res/Zi.xml                                     
    323 B │       +1 B │     484 B │        0 B │ ∆ res/ah.xml                                     
    394 B │       -1 B │     464 B │        0 B │ ∆ res/color/stripe_card_form_view_text_color.xml 
    514 B │       -1 B │   1.2 KiB │        0 B │ ∆ res/color/wallet_secondary_text_holo_dark.xml  
    475 B │       -1 B │     792 B │        0 B │ ∆ res/dh.xml                                     
    617 B │       -1 B │   1.3 KiB │        0 B │ ∆ res/iA.xml                                     
    618 B │       +1 B │   1.3 KiB │        0 B │ ∆ res/oL.xml                                     
    312 B │       +1 B │     448 B │        0 B │ ∆ res/sL.xml                                     
    632 B │       -1 B │   1.1 KiB │        0 B │ ∆ res/wV.xml                                     
    804 B │       -1 B │   1.7 KiB │        0 B │ ∆ res/wf.xml                                     
──────────┼────────────┼───────────┼────────────┼──────────────────────────────────────────────────
 11.8 MiB │   +3.5 MiB │  25.5 MiB │   +9.5 MiB │ (total)
MANIFEST
              │ old                                     │ new                                     
──────────────┼─────────────────────────────────────────┼─────────────────────────────────────────
 package      │ com.stripe.android.paymentsheet.example │ com.stripe.android.paymentsheet.example 
 version code │ 11                                      │ 11                                      
 version name │ 20.27.3                                 │ 20.25.9                                 

@@ -4,3 +4,3 @@
     android:versionCode=11
-    android:versionName=20.27.3
+    android:versionName=20.25.9
     package=com.stripe.android.paymentsheet.example
@@ -122,8 +122,5 @@
     <activity
-        android:name=com.stripe.android.paymentsheet.example.samples.ui.customersheet.CustomerSheetExampleActivity
+        android:name=com.stripe.android.paymentsheet.example.samples.ui.customersheet.CustomerSheetActivity
         />
     <activity
-        android:name=com.stripe.android.paymentsheet.example.samples.ui.customersheet.playground.CustomerSheetPlaygroundActivity
-        />
-    <activity
         android:name=com.stripe.android.paymentsheet.example.samples.ui.addresselement.AddressElementExampleActivity
DEX
STRINGS:

   old   │ new   │ diff                
  ───────┼───────┼─────────────────────
   38067 │ 36284 │ -1783 (+5314 -7097) 
  +  does not support injection fallback
  +  is not recognized in Java.
  + %02x
  + (JJIZ
  + , enableACHV2InDeferredFlow=
  + , prefilledCardParams=
  + , primaryButtonEnabled=
  + , reducedManualEntryProminenceInErrors=
  + , selectInstitution=
  + , starterArgs=
  + .px)
  + 123 Main Street
  + 20.25.9
  + >;)J
  + API request returned an invalid response.
  + Add
  + AndroidBindings/20.25.9
  + Blackrock
  + Canceled(url=
  + Co. Dublin
  + Could not retrieve PaymentIntent.
  + Could not retrieve SetupIntent.
  + Couldn't parse response when creating payment method
  + DUMMY_INJECTOR_KEY
  + Didn't load native library: 
  + DpAnimation
  + Error selecting institution institutions
  + Failed(url=
  + Failure initializing FlowController
  + Got result 
  + INT16
  + InMemoryCardAccountRangeSource.Store
  + Instantiated delegates (other than NnApiDelegate) are not allowed when using TF Lite from Google Play Services. Please use InterpreterApi.Options.addDelegateFactory() with an appropriate DelegateFactory instead.
  + JIJJ
  + JILLLIZZZJ
  + JJII
  + JJJIZL
  + LJII
  + LLJJI
  + LLLLLLLLLLLL
  + LLLLZLZLI
  + La0/a0;
  + La0/a1;
  + La0/b0;
  + La0/b1;
  + La0/c0;
  + La0/c1;
  + La0/d0;
  + La0/d1;
  + La0/e0;
  + La0/e1;
  + La0/f0;
  + La0/f1;
  + La0/g0;
  + La0/g1;
  + La0/h0;
  + La0/h1;
  + La0/i0;
  + La0/j0;
  + La0/k0;
  + La0/l0;
  + La0/m0;
  + La0/n0;
  + La0/o0;
  + La0/p0;
  + La0/q0;
  + La0/r0;
  + La0/s0;
  + La0/t0;
  + La0/t;
  + La0/u0;
  + La0/u;
  + La0/v0;
  + La0/v;
  + La0/w0;
  + La0/w;
  + La0/x0;
  + La0/x;
  + La0/y0;
  + La0/y;
  + La0/z0;
  + La0/z;
  + La1/h;
  + La1/i;
  + La1/j;
  + La1/k;
  + La1/l;
  + La1/m;
  + La1/n;
  + La1/o;
  + La1/p;
  + La2/d;
  + La2/e;
  + La6/d;
  + La6/e;
  + La6/f;
  + La6/g;
  + La6/h;
  + La6/i;
  + La6/j;
  + La6/k;
  + La7/c;
  + La7/d;
  + La7/e;
  + La7/f;
  + La7/g;
  + La7/h;
  + Lad/i;
  + Lad/j;
  + Laf/a0;
  + Laf/a1;
  + Laf/b0;
  + Laf/b1;
  + Laf/c0;
  + Laf/c1;
  + Laf/c;
  + Laf/d0;
  + Laf/d1;
  + Laf/d;
  + Laf/e0;
  + Laf/e1;
  + Laf/e;
  + Laf/f0;
  + Laf/f1;
  + Laf/f;
  + Laf/g0;
  + Laf/g1;
  + Laf/g;
  + Laf/h0;
  + Laf/h1;
  + Laf/h;
  + Laf/i0;
  + Laf/i1;
  + Laf/i;
  + Laf/j0;
  + Laf/j1;
  + Laf/j;
  + Laf/k0;
  + Laf/k1;
  + Laf/k;
  + Laf/l0;
  + Laf/l1;
  + Laf/l;
  + Laf/m0;
  + Laf/m1;
  + Laf/m;
  + Laf/n0;
  + Laf/n1;
  + Laf/n;
  + Laf/o0;
  + Laf/o1;
  + Laf/o;
  + Laf/p0;
  + Laf/p1;
  + Laf/p;
  + Laf/q0;
  + Laf/q1;
  + Laf/q;
  + Laf/r0;
  + Laf/r1;
  + Laf/r;
  + Laf/s0;
  + Laf/s;
  + Laf/t0;
  + Laf/t;
  + Laf/u0;
  + Laf/u;
  + Laf/v0;
  + Laf/v;
  + Laf/w0;
  + Laf/w;
  + Laf/x0;
  + Laf/x;
  + Laf/y0;
  + Laf/y;
  + Laf/z0;
  + Laf/z;
  + Lag/b;
  + Lag/c;
  + Lag/d;
  + Lag/e;
  + Lag/f;
  + Lag/g;
  + Lag/h;
  + Lag/i;
  + Lag/j;
  + Lag/k;
  + Lag/l;
  + Lag/m;
  + Lag/n;
  + Lag/o;
  + Lag/p;
  + Lag/q;
  + Lag/r;
  + Lag/s;
  + Lag/t;
  + Lag/u;
  + Lah/a0;
  + Lah/b0;
  + Lah/c0;
  + Lah/c;
  + Lah/d0;
  + Lah/d;
  + Lah/e0;
  + Lah/e;
  + Lah/f0;
  + Lah/f;
  + Lah/g0;
  + Lah/g;
  + Lah/h;
  + Lah/i;
  + Lah/j;
  + Lah/k;
  + Lah/l;
  + Lah/m;
  + Lah/n;
  + Lah/o;
  + Lah/p;
  + Lah/q;
  + Lah/r;
  + Lah/s;
  + Lah/t;
  + Lah/u;
  + Lah/v;
  + Lah/w;
  + Lah/x;
  + Lah/y;
  + Lah/z;
  + Lai/b;
  + Lai/c;
  + Lai/d;
  + Lai/e;
  + Lai/f;
  + Lai/g;
  + Lai/h;
  + Lai/i;
  + Lai/j;
  + Lai/k;
  + Lai/l;
  + Landroidx/appcompat/widget/s4;
  + Landroidx/appcompat/widget/t4;
  + Landroidx/compose/ui/platform/j3;
  + Landroidx/emoji2/text/d0;
  + Landroidx/emoji2/text/e0;
  + Landroidx/recyclerview/widget/q2;
  + Lb0/a0;
  + Lb0/a1;
  + Lb0/a2;
  + Lb0/b0;
  + Lb0/b1;
  + Lb0/b2;
  + Lb0/c0;
  + Lb0/c1;
  + Lb0/c2;
  + Lb0/d0;
  + Lb0/d1;
  + Lb0/e0;
  + Lb0/e1;
  + Lb0/f0;
  + Lb0/f1;
  + Lb0/g0;
  + Lb0/g1;
  + Lb0/h0;
  + Lb0/h1;
  + Lb0/i0;
  + Lb0/i1;
  + Lb0/i;
  + Lb0/j0;
  + Lb0/j1;
  + Lb0/j;
  + Lb0/k0;
  + Lb0/k1;
  + Lb0/k;
  + Lb0/l0;
  + Lb0/l1;
  + Lb0/l;
  + Lb0/m0;
  + Lb0/m1;
  + Lb0/m;
  + Lb0/n0;
  + Lb0/n1;
  + Lb0/n;
  + Lb0/o0;
  + Lb0/o1;
  + Lb0/o;
  + Lb0/p0;
  + Lb0/p1;
  + Lb0/p;
  + Lb0/q0;
  + Lb0/q1;
  + Lb0/q;
  + Lb0/r0;
  + Lb0/r1;
  + Lb0/r;
  + Lb0/s0;
  + Lb0/s1;
  + Lb0/s;
  + Lb0/t0;
  + Lb0/t1;
  + Lb0/t;
  + Lb0/u0;
  + Lb0/u1;
  + Lb0/u;
  + Lb0/v0;
  + Lb0/v1;
  + Lb0/v;
  + Lb0/w0;
  + Lb0/w1;
  + Lb0/w;
  + Lb0/x0;
  + Lb0/
...✂
ARSC
ENTRIES:

   old  │ new  │ diff      
  ──────┼──────┼───────────
   6921 │ 6921 │ 0 (+4 -4) 
  + dimen/stripe_paymentsheet_googlepay_button_bottom_padding
  + dimen/stripe_paymentsheet_googlepay_button_margin_horizontal
  + string/customer_title
  + string/customer_toolbar_title
  
  - color/onPrimary
  - drawable/stripe_link_arrow
  - string/customersheet_example_title
  - string/customersheet_playground_title

github-actions[bot] avatar Jul 31 '23 15:07 github-actions[bot]