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

$ionicPopup templateUrl not working on real devices: ERR_FILE_NOT_FOUND

$
0
0

@Another_User wrote:

On real devices the app can't find templates for popups.

var popup = $ionicPopup.show({
  templateUrl: 'templates/myPopup.html',
   ....
});

Using chrome device debugger, here's the error:
Failed to load resource: net::ERR_FILE_NOT_FOUND file:///android_asset/www/templates/myPopup.html

On browsers it's working well. I don't know why it can't find the template on devices...

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49188

Trending Articles



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