Skip to content

Commit

Permalink
fix(apprate): add missing Windows Store option (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbw91 authored and ihadeed committed Feb 13, 2017
1 parent 83f57b9 commit 439ccee
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/plugins/apprate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ export interface AppRateStoreAppUrls {
*/
android?: string;

/**
* application URL in Windows Store
*/
windows?: string;

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

Expand Down

0 comments on commit 439ccee

Please sign in to comment.