-
-
Notifications
You must be signed in to change notification settings - Fork 531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to display the price without store.refresh() #217
Comments
You need to connect to the Apple server to get the product details, period. |
Man... this took us 2 days to get the helping answer! Thanks in advance, thats great to hear. So, if i'm not in sandbox mode, the store.refresh() will not prompt up a login window where i have to enter my password? I have to request the prices every time the user starts the application because i need them from the apple server. I'm testing on a real device (testing device) on which is no apple id logged in. |
You mean in production env? When you´re just using the app downloaded from the App Store? |
Okay, so i think i'm able to figure out the process round about store.order() - the only thing which took us to days now was store.refresh() because of this stupid popup which appears every time we call the page, where our inApp-Purchases are listed because we need the prices on that page. Do you think that is the right way?
|
Thats the way we're doing it. InApp purchasing using a Sandbox is really tricky on an iPhone. Its a real PITA. |
I found out, that these crappy (sorry) window only pops up if you connected your device to xcode. After i did a reinstall from the application on my ipad and plugged it off, all worked totaly fine for me! :) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hey Guys,
we have an Application in which we have some non consumeable products. We want to display the price for the user, but therefore we need store.refresh(). Apples Guidelines are clear: If you want to display the price, you have to take the price which comes from your request to the server.
So if i no implement store.refresh() it will prompt the user to sign in into his apple ID but this isn't a normal behaviour.
If i choose an application from the app store, which has InApp-Purchases, and i start the application for the first time, i don't have to log in to the the prices for the inApp-Purchases.
So... does anybody have an idea how to fix this or what would be the best workflow for that? I don't want the user to enter his password, only for the reason, that he's able to see our prices.
And if i would need the user to login into his apple id, why do i retrieve title, description and price although i click cancel when the login window appears.
The text was updated successfully, but these errors were encountered: