@xunderworldx wrote:
So I have a problem when we run the ionic app for windows 10 instead of 8, all the ion-item links stop working. Instead it tried to open up the Windows Store looking for something to open "unsafe".
I read online that you need to modify aHrefSanitizationWhitelist, but doing that didn't seem to matter. Here is a code example on app.js:
.config('$compileProvider', function ($stateProvider, $urlRouterProvider, $ionicConfigProvider, $compileProvider) { $compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|http|maps|geo|sms|tel|mailto|app|file|ghttps?|ms-appx|x-wmapp0|local|unsafe):/);
Posts: 1
Participants: 1