transferPlayOwnershipToCurrentUser method

Future<void> transferPlayOwnershipToCurrentUser({
  1. required String productId,
})

Transfer a Google Play purchase's ownership to the currently-identified user. Use after an identify call when you want to claim a Play purchase that was previously made under a different ZeroSettle account.

Only productId is required — the SDK resolves the Play purchase token internally from the matching PendingClaim and verifies ownership server-side. Typical usage: render a PendingClaim surfaced via pendingClaimsUpdates, then call this with the claim's productId.

Android-only. On iOS the bridge returns not_implemented — use transferStoreKitOwnershipToCurrentUser for the StoreKit equivalent.

Implementation

Future<void> transferPlayOwnershipToCurrentUser({
  required String productId,
}) =>
    _wrap(() => _platform.transferPlayOwnershipToCurrentUser(
          productId: productId,
        ));