简体   繁体   English

iOS->可以在应用内购买的非消耗品实际包含代码吗?

[英]iOS -> Can Non-Consumable In app purchases actually contains code?

Can my non-consumable in app purchase package actually contain new code? 我的非消耗性应用购买包装中是否可以包含新代码? code that will add or alter or extend features? 将添加或更改或扩展功能的代码? Or the in app purchase is merely a record that will enable me to detect if the current user purchased something? 还是应用程序内购买仅仅是一条记录,使我能够检测当前用户是否购买了商品?

They have an id and you will do anything according to that id. 他们有一个ID,您将根据该ID做任何事情。 So whenever a user buys a non-consumable with the id of let's say "x", you extend a feature accordingly. 因此,每当用户购买ID为“ x”的非消耗品时,您都将相应地扩展功能。 Also you need to add "restore purchases" option exactly for that matter. 此外,您还需要为此添加“恢复购买”选项。 To re-enable those features. 重新启用这些功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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