如何提供在应用内购买应用的选项 (UWP - Windows 10)
How to provide option to purchase app within app (UWP - Windows 10)
有没有办法为用户提供在应用程序(我指的是您自己的应用程序)内购买应用程序的选项?我发誓我以前见过这个,也许它只在 windows phone 中,但我想在我的 UWP 应用程序中提供这个。
我想过将用户重定向到商店(仍然需要考虑这个),但我不认为必须先重定向对用户来说太友好了,然后呢?卸载应用程序并重新安装,或者应用程序会通过检查本地 WindowsStoreProxy.xml?
我读过有关 IAP 的信息,但我认为购买完整的应用程序不属于该类别。
我什至不确定它在做什么,但我找不到关于整个过程如何完成的任何明确解释。
广告和授权,不知道哪个更差!!微软的解释很差。有很多文档,但其中存在巨大漏洞,因此很难破译可能是一个简单的过程!
任何反馈,相关文章的链接将不胜感激。
谢谢
据我所知,目前没有办法向用户收取已从 windows 商店下载的应用程序的费用。
选项是:
1) 创建 "lite" 或 "trial" 版本的应用程序,当试用期到期时 deeplinks 到商店中的完整应用程序版本。
2) 使用 IAP 解锁对应用程序全部功能的访问或验证新内容的下载(如果该应用程序是数据驱动的应用程序)。 Windows phone 8.1
的戴维斯药物指南就是一个很好的应用程序示例
要购买应用程序本身,我们可以在您创建提交时为应用程序设置基本价格和免费试用。更多信息,请参阅Set app pricing and availability。
在应用程序中,我们可以选择在试用期间要启用或禁用的功能。有关详细信息,请参阅 Exclude or limit features in a trial version。
试用期满后,您可以参考以下选项进行处理:
Trial license expires while the app is running
If the trial expires while your app is running, your app can:
- Do nothing.
- Display a message to your customer.
- Close.
- Prompt your customer to buy the app.
The best practice is to display a message with a prompt for buying the app, and if the customer buys it, continue with all features enabled. If the user decides not to buy the app, close it or remind them to buy the app at regular intervals.
Trial license expires before the app is launched
If the trial expires before the user launches the app, your app won't launch. Instead, users see a dialog box that gives them the option to purchase your app from the Store.
要购买应用程序,我们可以致电CurrentApp.RequestAppPurchaseAsync | requestAppPurchaseAsync method。此方法要求购买完整的应用程序许可证。
在您将应用程序提交到 Windows 商店之前,还有一个 Store sample in Github which demonstrates trials and purchasing the app itself. You can refer to its first Trials-Mode scenario. But please note, in this sample, it uses CurrentAppSimulator class for testing. You must replace the CurrentAppSimulator class with the CurrentApp class。
有没有办法为用户提供在应用程序(我指的是您自己的应用程序)内购买应用程序的选项?我发誓我以前见过这个,也许它只在 windows phone 中,但我想在我的 UWP 应用程序中提供这个。
我想过将用户重定向到商店(仍然需要考虑这个),但我不认为必须先重定向对用户来说太友好了,然后呢?卸载应用程序并重新安装,或者应用程序会通过检查本地 WindowsStoreProxy.xml?
我读过有关 IAP 的信息,但我认为购买完整的应用程序不属于该类别。
我什至不确定它在做什么,但我找不到关于整个过程如何完成的任何明确解释。
广告和授权,不知道哪个更差!!微软的解释很差。有很多文档,但其中存在巨大漏洞,因此很难破译可能是一个简单的过程!
任何反馈,相关文章的链接将不胜感激。
谢谢
据我所知,目前没有办法向用户收取已从 windows 商店下载的应用程序的费用。
选项是:
1) 创建 "lite" 或 "trial" 版本的应用程序,当试用期到期时 deeplinks 到商店中的完整应用程序版本。
2) 使用 IAP 解锁对应用程序全部功能的访问或验证新内容的下载(如果该应用程序是数据驱动的应用程序)。 Windows phone 8.1
的戴维斯药物指南就是一个很好的应用程序示例要购买应用程序本身,我们可以在您创建提交时为应用程序设置基本价格和免费试用。更多信息,请参阅Set app pricing and availability。
在应用程序中,我们可以选择在试用期间要启用或禁用的功能。有关详细信息,请参阅 Exclude or limit features in a trial version。
试用期满后,您可以参考以下选项进行处理:
Trial license expires while the app is running
If the trial expires while your app is running, your app can:
- Do nothing.
- Display a message to your customer.
- Close.
- Prompt your customer to buy the app.
The best practice is to display a message with a prompt for buying the app, and if the customer buys it, continue with all features enabled. If the user decides not to buy the app, close it or remind them to buy the app at regular intervals.
Trial license expires before the app is launched
If the trial expires before the user launches the app, your app won't launch. Instead, users see a dialog box that gives them the option to purchase your app from the Store.
要购买应用程序,我们可以致电CurrentApp.RequestAppPurchaseAsync | requestAppPurchaseAsync method。此方法要求购买完整的应用程序许可证。
在您将应用程序提交到 Windows 商店之前,还有一个 Store sample in Github which demonstrates trials and purchasing the app itself. You can refer to its first Trials-Mode scenario. But please note, in this sample, it uses CurrentAppSimulator class for testing. You must replace the CurrentAppSimulator class with the CurrentApp class。