Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49186

Ion-item links showing as unsafe due to angular

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 49186

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>