Skip to content

Conversation

@cttsai-stripe
Copy link
Contributor

@cttsai-stripe cttsai-stripe commented Nov 4, 2025

Summary

Update the testApplicationId and signingConfigs in paymentsheet/build.gradle to correctly trigger Google API in android tests

Motivation

MOBILESDK-4179

Testing

  • Added tests
  • Modified tests
  • Manually verified

Screenshots

Before After
before screenshot after screenshot

Changelog

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An alternative is to update the config in build-configuration/android-library.gradle instead

@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2025

Diffuse output:

OLD: identity-example-release-base.apk (signature: V1, V2)
NEW: identity-example-release-pr.apk (signature: V1, V2)

          │          compressed          │         uncompressed         
          ├───────────┬───────────┬──────┼───────────┬───────────┬──────
 APK      │ old       │ new       │ diff │ old       │ new       │ diff 
──────────┼───────────┼───────────┼──────┼───────────┼───────────┼──────
      dex │   2.1 MiB │   2.1 MiB │  0 B │   4.3 MiB │   4.3 MiB │  0 B 
     arsc │   1.1 MiB │   1.1 MiB │  0 B │   1.1 MiB │   1.1 MiB │  0 B 
 manifest │   2.3 KiB │   2.3 KiB │  0 B │     8 KiB │     8 KiB │  0 B 
      res │ 303.5 KiB │ 303.5 KiB │  0 B │ 457.7 KiB │ 457.7 KiB │  0 B 
   native │   7.9 MiB │   7.9 MiB │  0 B │  19.3 MiB │  19.3 MiB │  0 B 
    asset │   7.7 KiB │   7.7 KiB │  0 B │   7.5 KiB │   7.5 KiB │  0 B 
    other │  95.6 KiB │  95.6 KiB │ -1 B │ 183.6 KiB │ 183.6 KiB │  0 B 
──────────┼───────────┼───────────┼──────┼───────────┼───────────┼──────
    total │  11.5 MiB │  11.5 MiB │ -1 B │  25.4 MiB │  25.4 MiB │  0 B 

 DEX     │ old   │ new   │ diff      
─────────┼───────┼───────┼───────────
   files │     1 │     1 │ 0         
 strings │ 20721 │ 20721 │ 0 (+0 -0) 
   types │  6513 │  6513 │ 0 (+0 -0) 
 classes │  5277 │  5277 │ 0 (+0 -0) 
 methods │ 31557 │ 31557 │ 0 (+0 -0) 
  fields │ 18290 │ 18290 │ 0 (+0 -0) 

 ARSC    │ old  │ new  │ diff 
─────────┼──────┼──────┼──────
 configs │  163 │  163 │  0   
 entries │ 3667 │ 3667 │  0
APK
   compressed    │   uncompressed   │                                           
──────────┬──────┼───────────┬──────┤                                           
 size     │ diff │ size      │ diff │ path                                      
──────────┼──────┼───────────┼──────┼───────────────────────────────────────────
 29.2 KiB │ +5 B │  64.6 KiB │  0 B │ ∆ META-INF/CERT.SF                        
 25.9 KiB │ -3 B │  64.6 KiB │  0 B │ ∆ META-INF/MANIFEST.MF                    
    270 B │ -2 B │     120 B │  0 B │ ∆ META-INF/version-control-info.textproto 
  1.2 KiB │ -1 B │   1.2 KiB │  0 B │ ∆ META-INF/CERT.RSA                       
──────────┼──────┼───────────┼──────┼───────────────────────────────────────────
 56.6 KiB │ -1 B │ 130.5 KiB │  0 B │ (total)

…igning

# Conflicts:
#	paymentsheet/src/androidTest/java/com/stripe/android/paymentelement/EmbeddedPaymentElementAnalyticsTest.kt
…igning

# Conflicts:
#	paymentsheet/src/androidTest/java/com/stripe/android/paymentsheet/PaymentSheetAnalyticsTest.kt
@cttsai-stripe cttsai-stripe force-pushed the cttsai/update-payment-sheet-android-test-signing branch 4 times, most recently from 011490b to 9e05e8d Compare November 14, 2025 22:47
@cttsai-stripe cttsai-stripe force-pushed the cttsai/update-payment-sheet-android-test-signing branch from 9e05e8d to 4004bd8 Compare November 14, 2025 23:34
…igning

# Conflicts:
#	paymentsheet/src/androidTest/java/com/stripe/android/paymentsheet/PaymentSheetAnalyticsTest.kt
@cttsai-stripe cttsai-stripe force-pushed the cttsai/update-payment-sheet-android-test-signing branch from 7deb848 to 5f1305c Compare November 19, 2025 20:30
@cttsai-stripe cttsai-stripe force-pushed the cttsai/update-payment-sheet-android-test-signing branch 2 times, most recently from 6f52eb9 to da896a4 Compare November 19, 2025 22:10
@cttsai-stripe cttsai-stripe force-pushed the cttsai/update-payment-sheet-android-test-signing branch from da896a4 to 41a703b Compare November 19, 2025 22:39
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.

2 participants