MadOgre / shout-in-the-dark

Whisper clone
1 stars 2 forks source link

In Firefox mobile the first image does not load in gallery. Also sometimes notable slowdown on first image in chrome mobile. #45

Closed MadOgre closed 7 years ago

MadOgre commented 7 years ago

UPDATE: Upon research there is an issue where Angular by default does't trust the app:// protocol which firefox uses. Adding this code may fix the problem

.config(function($compileProvider){
  $compileProvider.imgSrcSanitizationWhitelist(/^\s*(https?|ftp|mailto|file|tel|app):/);
})

Sources: https://github.com/angular/angular.js/issues/8335 and https://github.com/driftyco/ionic-example-cordova-camera/blob/master/www/js/app.js#L11

MadOgre commented 7 years ago

After a second test, issue can't seem to be replicated. Test thoroughly and close if not an issue.

MadOgre commented 7 years ago

After further testing. This issue doesn't seem to reoccur. It might be reopened in the future but for right now it's a non-issue.