Skip to content

Embedded visibility tracker#12023

Draft
tianzhao-stripe wants to merge 5 commits intomasterfrom
EmbeddedVisibilityTracker
Draft

Embedded visibility tracker#12023
tianzhao-stripe wants to merge 5 commits intomasterfrom
EmbeddedVisibilityTracker

Conversation

@tianzhao-stripe
Copy link
Contributor

Summary

Created a simplified embedded visibility tracker, if 25% of embedded payment method layout appears, dispatch all payment methods as visible.

Motivation

Seeing low tracking rates on live mode for embedded, this will ensure higher tracking rates
Align embedded tracking behavior with web embedded elements
This tracking works better with embedded integrations: users scroll down to see list of payment methods

Testing

  • Added tests
  • Modified tests
  • Manually verified

Screenshots

N.A.

Changelog

N.A.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 19, 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 │ +16 B │ 183.6 KiB │ 183.6 KiB │  0 B 
──────────┼───────────┼───────────┼───────┼───────────┼───────────┼──────
    total │  11.5 MiB │  11.5 MiB │ +16 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 │ +14 B │  64.6 KiB │  0 B │ ∆ META-INF/CERT.SF     
   26 KiB │  +3 B │  64.6 KiB │  0 B │ ∆ META-INF/MANIFEST.MF 
  1.2 KiB │  -1 B │   1.2 KiB │  0 B │ ∆ META-INF/CERT.RSA    
──────────┼───────┼───────────┼──────┼────────────────────────
 56.3 KiB │ +16 B │ 130.4 KiB │  0 B │ (total)

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