fix(apprate): add missing Windows Store option (#1072)

This commit is contained in:
John Woodruff 2017-02-13 16:17:43 -07:00 committed by Ibby Hadeed
parent 83f57b9820
commit 439cceea23

View File

@ -77,6 +77,11 @@ export interface AppRateStoreAppUrls {
*/ */
android?: string; android?: string;
/**
* application URL in Windows Store
*/
windows?: string;
/** /**
* application URL in AppWorld * application URL in AppWorld
*/ */
@ -103,6 +108,7 @@ export interface AppRateStoreAppUrls {
* AppRate.preferences.storeAppURL = { * AppRate.preferences.storeAppURL = {
* ios: '<my_app_id>', * ios: '<my_app_id>',
* android: 'market://details?id=<package_name>', * android: 'market://details?id=<package_name>',
* windows: 'ms-windows-store://review/?ProductId=<Store_ID>'
* }; * };
* *
* AppRate.promptForRating(false); * AppRate.promptForRating(false);
@ -119,7 +125,7 @@ export interface AppRateStoreAppUrls {
plugin: 'cordova-plugin-apprate', plugin: 'cordova-plugin-apprate',
pluginRef: 'AppRate', pluginRef: 'AppRate',
repo: 'https://github.com/pushandplay/cordova-plugin-apprate', repo: 'https://github.com/pushandplay/cordova-plugin-apprate',
platforms: ['Android', 'iOS'] platforms: ['Android', 'iOS', 'Windows (experimental)']
}) })
export class AppRate { export class AppRate {