Код: Выделить всё
.completePurchase(Purchase)
Однако, когда пользователю предложено приобрести элемент, и он отменяется, я также должен вызовать завершающую работу?
Код: Выделить всё
[VERBOSE-2:ui_dart_state.cc(177)] Unhandled Exception: PlatformException(storekit_duplicate_product_object, There is a pending transaction for the same product identifier. Please either wait for it to be finished or finish it manually using completePurchase to avoid edge cases., {applicationUsername: null, requestData: null, quantity: 1, productIdentifier: 1, simulatesAskToBuyInSandbox: true}, null)
< /code>
Какое решение для обработки, когда:
purchases[0].status == PurchaseStatus.canceled
Подробнее здесь: https://stackoverflow.com/questions/779 ... os-flutter