iOS Question In-App purchase how to keep track of execution

John Woodsmall

Active Member
Licensed User
Longtime User
After I have my in-app purchase working( let someone run my app 10 times).
how do i track the number of times the execution runs?

does apple track this?

are you to program something to keep track of the number of times it runs
on to this server that you have built and just how do things happen?
 

sorex

Expert
Licensed User
Longtime User
just work with a counter the you decrement to 0.

you can set the counter back to 10 at successfull purchase.

not sure if this is allowed by apple tho since it's not really an in-app consumable but targets full app usage.
Might need to be the subscription type of purchase but I don't know if B4i supports this already as I never tested it.
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
You can use keychain to track the numbers which will not be affected even if the app is deleted.
 
Upvote 0
Top