Just started learning in-app shopping functionality in iOS. I want to know how they can be tested. Xcode 5 promises to facilitate the embedding of this functionality until I really understand how. And in particular, is it possible on the simulator (there are no problems with live devices, but it is interesting). Thank!
- oneEarlier (up to 6.x inclusive) this functionality did not work on the simulator in principle, which I do not know now. It was possible to test in the so-called. sandbox - i.e. not on the battle server of the Apple, but on the test server, which does not take real money. But in general, as for the in-app, most of it is actually executed inside the system library, the application actually receives the product parameters by its ID and purchase confirmation (or purchase failures), even the product list needs to either be stitched tightly or received from its server - aknew
|
1 answer
Apple’s website has a description of what to do to check purchases. But if in a nutshell, a test user is created in iTunes Connect, a test product. On the device you need to log out from the AppStore, you need to enter a test login and password from the application.
Important: Don't enter your settings account. Doing so may invalidate your test account.
The application specifies / requests a product test ID.
More detailed in docks
|