问题
I want to have users be able to try out functionality that is usually a paid one.
Making a paid app have a trial is built in to the store. How about this in-app trial, is there a way to have that? If so - how? (C#/XAML.)
回答1:
As far as I know you cannot provide a trial version for IAP straight forward.
But what you want to achieve, should be easy to perform by providing second time-limited (durable) IAP, time limited. When you take a look at MSDN you will see that you can set product lifetime from 1 to 365 days (or 0 for forever). You can of course set any proce for the second IAP, even free.
The only thing, I think you will have to handle is the case when trial expires and user tries to buy another free IAP. In this case you will probably have to check app receipt.
More useful information you will find at this MSDN page.
来源:https://stackoverflow.com/questions/34842908/offer-a-trial-of-an-in-app-purchase