Package 

Class PromotionalOfferJWSInputIOS


  • 
    public final class PromotionalOfferJWSInputIOS
    
                        

    JWS promotional offer input for iOS 15+ (StoreKit 2, WWDC 2025). New signature format using compact JWS string for promotional offers. This provides a simpler alternative to the legacy signature-based promotional offers. Back-deployed to iOS 15.

    • Constructor Detail

      • PromotionalOfferJWSInputIOS

        PromotionalOfferJWSInputIOS(String jws, String offerId)
    • Method Detail

      • getJws

         final String getJws()

        Compact JWS string signed by your server. The JWS should contain the promotional offer signature data. Format: header.payload.signature (base64url encoded)

      • getOfferId

         final String getOfferId()

        The promotional offer identifier from App Store Connect