某些用户/设备可免费在应用程序中购买iOS [英] Free iOS in app purchase for some users/devices

查看:48
本文介绍了某些用户/设备可免费在应用程序中购买iOS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想建立一种机制,以释放我的一些VIP用户设备的应用内购买商品.我的想法是我在后端服务器中预先保存用户设备的UDID.当应用启动时,它将调用我的服务器并获取udid列表,并检查设备是否在VIP列表中.如果是,请直接显示全部功能,而无需任何按钮即可进行应用内购买.

I would like to build a mechanism to free my in-app purchases for some of my VIP users devices. My idea is I pre-save the UDID of the user devices in my backend server. When the app starts, it will call my server and get the list of udid and check if the device is in VIP list. if yes, directly show full features without any button to ask for in-app purchase.

但是,UDID不能再使用.在这种情况下我该怎么办?我不想让用户输入一些代码.因为这会打扰我的用户界面.

However, UDID cannot be used anymore. What should I do in this case? I dont want to ask user to enter some codes. because it would disturb my user interface.

目的是,我得到了将要审查我的应用程序的人员列表,但我不想弹出任何窗口来询问这些人员的促销代码或特定的UI.所以我的想法是请他们给我他们的UDID(或他们可以为自己的手机识别的任何数字),然后将它们保存在我的后端.当他们下载该应用程序时,该应用程序将调用后端并比较其标识符编号/UDID,查看它们是否是我的VIP,并自动为他们提供全部功能,而无需询问促销代码和特定于这些用户的UI.

The purpose is that , I got a list of people that they will review my apps , but i dont want to have any pop up to ask for promo code or any specific UI for these people. So my idea is I ask them to give me their UDID (or whatever number that they can identify themselves for their phone), and I save them in my backend. When they download the app, the app call the backend and compare their identifier number/UDID, see if they are my VIP, and give them full features automatically without asking promo code and any UI specific for these user.

我只想识别用户.你们有什么解决方案吗?谢谢

I would like to identify the user only. Do you guys have any solutions? thanks

推荐答案

您可以执行一些操作,例如向用户提供URL,以打开应用程序并为应用程序提供一些参数.当应用收到这些详细信息时,它可能会显示警告,要求用户输入名称或其他信息(例如电子邮件地址).然后,您可以将详细信息发送到服务器进行验证,并在应用程序中设置一些值以启用功能.这样,应用程序的用户界面就不会更改.

You could do something like provide a URL to the users which opens the app and gives the app some parameter(s). When the app receives these details it could show an alert to ask for a name or some other info (like an e-mail address) from the user. Then you can send the details to your server for verification and set some value in the app to enable the features. In this way the UI of the app is not changed.

这篇关于某些用户/设备可免费在应用程序中购买iOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆