简体   繁体   中英

Is their any way to identify user updating app and user installing app for the first time in iOS?

I'm giving an update for my existing iOS App and in this update I'm locking few existing functionalities and on In App purchase these functionalities will be unlocked. But for existing users even if they update it should not lock the functionalities only for new users it has to happen. How can I handle this?

You can do what is called "Receipt Validation." There is a programming guide here

Basically, you can get the purchase data of the app, and it will include the original version that was purchased. That way, if it is below the version that you introduced the new model into then you can disable in app purchasing and just give the full functionality.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM