I am trying to use a Sandbox Tester Account on my Mac to test In-App purchases with the Mac App Store. From Apple's documentation it seems I need to sign into my Sandbox Tester account on my Mac to test this functionality.
I have a few developer accounts, in addition to a sandbox tester account, in Xcode. How can I determine (and change) which account Xcode uses when my app queries Apple with the SKProductsRequest API?
I am running the app directly from Xcode.
As #LeoNatan pointed out, just sign into the Mac Developer account with the Sandbox Tester account. This will be enough -- the app will then use that account for communication via SKProductsRequest
Related
Hi I am new to IOS automation and I have a scenario where we have to do an In-App purchase
As for Testing these could be done by AppStore Connect Portal under User Access and create a Sandbox account but is there a way by which we can create an Apple (Appstore Connect) Sandbox account programmatically
Please advise
Well, it isn't much of a solution and it is a PITA but you could use something like Appium, which is what I use, to automate all that stuff by driving a web browser.
I use it for testing 3rd party social logins. For things like Apple ID where the social login requires 2FA I have an Appium test step that goes to a google voice account in the mobile browser and retrieves the 2FA code that was texted to the GV number. It is tedious and a bit brittle but I couldn't find any other way to get around 2FA situations.
I don’t have access to apple developer account.
but I have the p12 distribution and mobile provisional certificates from the client.
When I try to create ios app with expo cli without login:
It ask me the password for the certificate. There’s no password set
on the certificate how can I give a blank input?
Then it ask for apple team ID (from where can I get it?)
I also want to know what else are required to build app without login.
There’s no documentation or resources available on the expo site for it.
As far as i know , getting build versions for ios apps without apple developer account is not possible.
although , this article might be helpfulcheck this
I have an iOS app which I am about to release on the App store. I want to test In-App purchases in production environment. How I can test In-App purchases for production app which has not been released yet?
The answer is 'NO'.
For app that has not been release on App Store, you can test your IAP items in sandbox environment ONLY.
Go to itunesConnect , Users and Roles, Create a sandbox user .
I am thinking you have already made the in app purchase items in your app in itunes connect.
Now in your device log out the Appstore ID from settings.
Do the in app purchase using the Test user credentials you created, and it will make the in app using a sandbox environment.
For more info about In App follow this link
Cheers
When I use test flight for my app, and I want to test my Game Center capabilities, will I have to make sandbox accounts for all of my test users and instruct them on how to use those accounts, or can they use their normal accounts?
They can use their normal accounts, but they have to have sandbox mode turned on under Game Center in their settings. This will create a new sandbox account for them using their normal account.
Apples developer guide says:
Important: If your app uses Game Center, testers will be required to turn on the Game Center sandbox from their device settings in order to use the Game Center features while testing the app.
I'm trying to implement in-app payment support in a BB application.
Ok, I've read the API/docs and now I need to write a simple test. Here is what API says about testing:
To test the end-to-end purchase flow without being charged money, you can set up a BlackBerry ID as a test account. The test account allows you to download any applications or digital goods that are associated with your BlackBerry App World vendor account without incurring any costs. Local testing must be turned off for this type of testing, otherwise no network connections will be attempted.
From the above I see that I need to achieve 2 goals:
(1) "set up a BlackBerry ID as a test account" (what ever it means).
(2) "Local testing must be turned off for this type of testing" (what ever it means).
The API is vague on how to do that. I can only guess that point (1) can be done on the side of my customer (whom I'm writing the app for) via his AppWorld account. Is it true? And I'm totally out of ideas on point (2). Could anyone point me in the right direction?
Ah yes, the Payment API is particularly vague on testing, and in the latest version (1.5) RIM have removed the ability to test locally, so all testing must be done via App World. Here's how:
Setup a 'sandbox' account using the BlackBerry App World vendor portal
Upload your app into BlackBerry App world but don't publish it, just save it and leave it in draft state
Also in the vendor portal, set up your digital goods (the things available for in-app purchase)
On your BlackBerry, load App World and login with your sandbox account email address.
Within any screen in App World press ALT+TST and enter the SKU or ID of your test app.
You can then download the test version of your app (which is not available to anyone else)
Once the app is downloaded and installed you will be able to test your in app payments.
Bit of a faff, but not too hard once you've got the process sorted.