Package 

Class BillingProvider


  • 
    public class BillingProvider
    
                        

    SPEC-070-B PN row 6 (N1) — the billing backend the SDK dispatches purchases through.

    iOS has carried BillingProvider since SPEC-027 (Configuration.swift:23); Android auto-detected from the classpath, which left Adapty's apiKey with nowhere to live. The case names are iOS's, deliberately: they are the wire tags pinned by the billing_provider_adapty_tagged_map shared fixture, and a cross-platform wrapper must encode the same string on both platforms.

    On Android StoreKit2 means Google Play Billing — the platform's own store. The name is a cross-platform tag, not a claim about which framework is linked.

    The value-less cases cross the wrapper channel as bare strings; Adapty crosses as the tagged map {"type":"adapty","apiKey":"..."}.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String type
    • Method Summary

      Modifier and Type Method Description
      final String getType()
      final Object toWire() Re-encode to the wire form.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait