SDK provides In-app simulation which allows the developer to set the expected behavior for “In-app purchase” use case, and while running the MIDlet, SDK ensures the same behavior happens with In-app use cases.
In-app SDK simulation does not support “Single Sign On” (SSO) for
IAP APIs, so the authentication mode flag in restoreProduct()
, getRestorableProducts()
, and authenticationMode()
APIs will not have any impact.
Simulation allows the developer to simulate all the use cases of In-app purchase, which includes simulating network error during purchase, payment failure.
SDK simulates following use case of In-app: