Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 729 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 729 Bytes

A flutter plugin for getting license information from the Microsoft Store. The app needs to be packaged as a misx and associated with a published app for this to return meaningful values.

Features

The following license information is returned:

  • isActive
  • isTrial
  • skuStoreId
  • trialUniqueId
  • trialTimeRemaining

Usage

final store = WindowsStoreApi();
final license = await store.getAppLicenseAsync();

print(license.isActive);
print(license.isTrial);
print(license.skuStoreId);
print(license.trialUniqueId);
print(license.trialTimeRemaining);

See the Microsoft documentation for further details of the returned values.