fix(feedback): direct iOS users to the proper app store url

This commit is contained in:
Jason Dreyzehner 2016-11-15 17:10:26 -05:00
commit 30c2b0626d
4 changed files with 6 additions and 10 deletions

View file

@ -32,7 +32,7 @@ angular.module('copayApp.controllers').controller('completeController', function
$scope.$on("$ionicView.beforeEnter", function(event, data) {
if(window.StatusBar){
StatusBar.show();
StatusBar.hide();
}
storageService.getFeedbackInfo(function(error, info) {

View file

@ -40,11 +40,7 @@ angular.module('copayApp.controllers').controller('rateAppController', function(
var url;
if (isAndroid) url = defaults.rateApp.android;
if (isIOS) url = defaults.rateApp.ios;
// if (isWP) url = defaults.rateApp.ios; TODO
var title = gettextCatalog.getString('Rate the app');
var message = gettextCatalog.getString('You must go to the official website of the app to rate it');
var okText = gettextCatalog.getString('Go');
var cancelText = gettextCatalog.getString('Cancel');
externalLinkService.open(url, true, title, message, okText, cancelText);
// if (isWP) url = defaults.rateApp.windows; // TODO
externalLinkService.open(url);
};
});