Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: flutter/packages
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 36383d6b0cd4
Choose a base ref
...
head repository: flutter/packages
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0ac7a032dbcd
Choose a head ref
  • 1 commit
  • 10 files changed
  • 1 contributor

Commits on Dec 11, 2025

  1. [in_app_purchase_storekit] Add Transaction.unfinished API and expose …

    …appAccountToken (#10439)
    
    ## Summary
    
    Adds two new StoreKit 2 features to `in_app_purchase_storekit`:
    
    - `SK2Transaction.unfinishedTransactions()` - Queries only unfinished transactions for better performance
    - `SK2PurchaseDetails.appAccountToken` - Exposes user UUID for backend integration
    
    ## Motivation
    
    1. **Performance:** Developers often only need unfinished transactions to complete them, not all historical transactions. This mirrors Apple's official `Transaction.unfinished` API.
    2. **User Identification:** The ability to set `appAccountToken` already exists when making purchases, but reading it back from transaction details was missing.
    
    ## Changes
    
    - Added pigeon interface method for `unfinishedTransactions()`
    - Implemented Swift native code using Apple's `Transaction.unfinished` API
    - Exposed `appAccountToken` property in `SK2PurchaseDetails`
    - Added unit tests for both features
    
    ## Breaking Changes
    
    None. Both features are additive and maintain full backward compatibility.
    Haidar0096 authored Dec 11, 2025
    Configuration menu
    Copy the full SHA
    0ac7a03 View commit details
    Browse the repository at this point in the history
Loading