22. Trial Conversion
// get current product
var currentProduct = Windows.ApplicationModel.Store.CurrentApp;
// get the license information
var licenseInformation = currentProduct.licenseInformation;
// check to see if the user has an active non-trial license
if (licenseInformation.isTrial) {
// user has trial version of the application
// prompt them to purchase before so we can enable full functionality
currentProduct.requestProductPurchaseAsync().then(
function () {
// Purchase succeeded
});
}
24. In-App Purchase
// canât do in-app purchase in trial mode, must convert first
if (!appLicensingInformation.isTrial) {
//load the listings with all the products
currentApp.loadListingInformationAsync().then(
function (listing) {
//lookup a specific product
var product1 = listing.productListings.lookup("product1");
if (!product1.isActive) {
// purchase
currentApp.requestProductPurchaseAsync("product1").then(
enableProduct1 );
}
});
Microsoft ecosystem changing
Microsoft sold platform, provided tools
You build app; installer, marketing, channels
Now
You build app; we install, assist with marketing & provide a channel
Enable you to customize your revenue models
Bing; make sure our Windows Store is exposed to search engines
We will have a web page for each app in store
Link to purchase
Your web site; provide button
(Release Preview image above)
Install
If installed, then Launch from the web page
Windows 7 devices can run Windows 8
Not to mention the plethora of Windows 8 (new) touch devices appearing; both Intel & ARM
Windows XP == 1.2 billion users
- LOCAL currency
Windows Phone Developer Blog March 2011
Trials: increase downloads 70x
Conversion: 10%
Revenue: 10x
Trial: time limited or feature limited; no re-download. Same binary
NO CODE! For Time-based trials
âWindowsStoreProxy.xmlâ => Testing for stores
CurrentAppSimulator in dev.windows.com
In App.xaml.cs ; OnLaunched; 3 lines. Adds to app local folder; store simulator proxy
Content compliance: Requires a human being to check the app
Age appropriate