r/iOSProgramming • u/inAbigworld • Jul 27 '26
Question Best way to implement functional trial without apple account login, surviving uninstall?
In my ios app, I want to implement a system where when the user uses a feature 3 times then they'll be asked to buy premium. I want this record (number of the feature being used) to survive uninstall so users cannot abuse it; but it has to be without apple account login. What's the best way to achieve this?
7
Upvotes
View all comments
1
u/sockalicious Jul 28 '26
It cannot be done in a foolproof manner. That said, there are three different broad approaches you can take:
If you don't have a back end and are relying on on-device storage, it can't be done at all.
The other folks saying to gen a uuid and associate it with a user haven't looked carefully at the Apple guidelines; that's prohibited.