Question on "Buy" Buttons

This could be an absolutely stupid question but oh well… :slight_smile:

I am trying to get IAP working for the first time. I successfully connected to the iTunes Store and I get the alert box “Do you want to purchase…” after clicking my “Buy” button so basically I am happy it seems to work.

My question:

In live apps, you press the buy button and the screen darkens and you see the spinning “loading wheel” then the box pops up asking you if you want to buy.

Is this hand coded?

In my app, I press the button and nothing happens. Then a second or so later, the box pops up. Obviously not good because it seems like nothing is happening so I press it again. Now 2 boxes will pop up. D’ooooohhhhhh!!

How do I get the darkened screen and loading wheel? Any help would be MUCH appreciated! [import]uid: 22392 topic_id: 24039 reply_id: 324039[/import]

Try native.setActivityIndicator()

http://developer.anscamobile.com/reference/index/nativesetactivityindicator

That takes care of darkened screen and spinning wheel.

Just make sure you turn it off when the transaction has ended.
Raúl Beltrán
MIU Games [import]uid: 44101 topic_id: 24039 reply_id: 96909[/import]

Awesome! That’s what I needed!

Thanks for your help, I would have never known that existed! [import]uid: 22392 topic_id: 24039 reply_id: 96911[/import]