Signup for the Ionic Newsletter to get the latest news and updates!

  • http://xeoncross.com Xeoncross

    How do you access the cordova object in javascript when using ionic serve? Or do you have to `ionic build browser` every single time you want to see your changes?

  • http://www.gaurav.mobi Gaurav Chandra

    I used the whitelist plugin and after that the emulators, android and ios, stopped refreshing. Earlier they were able to. I have allowed everything as white list but still.

    • Gérald PLUSQUELLEC

      use in index.html

      • http://www.gaurav.mobi Gaurav Chandra

        I had to remove this tag every time i did serve as the port was changing. when I build the app, then I add this meta.

  • Amit Singh

    I add some code on ionic.project.JS update very fine .But css not update

  • Markus Reich

    I tried it with ionic run android –livereload, but then I got problems with cordova camera plugin => Not allowed to load local resource: file:///storage/emulated/0/Android/data/

  • Vinod Shintre

    hmm seems like latest CLI 1.7.13 does not emit logs on ionic run android -l -c command
    anyone facing this issue

    • Flint

      Thank you very much

  • Mark Rupert

    I am trying to use the live reload. The app comes up but my API POSTs are not working. I added the following to my PHP API: header(“Access-Control-Allow-Origin: ‘*'”);

    But I am getting this error:
    XMLHttpRequest cannot load https://domain.com/app/api.php. Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://192.168.1.105:8100’ is therefore not allowed access.

    • Andy Bolaño Castilla

      Have you found a solution to this problem?

      • Florentin Blanc

        Having the same issue, still looking for a solution.
        If you did solve this problem, please share your advices . 🙂
        Thanks !