Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Cordova.js link on Windows Phone

$
0
0

@Isabelle wrote:

Hi! I've been working on Ionic for a few days, and I really appreciate it.

I've been able to run my app on Android and IOS.

Now I try to run it on Windows Phone.
In Visual Studio I use emulator 8.1 WXGA 4.5 inch. My apps launch on emulator but I have error in console :

APPHOST9623: The app couldn’t resolve ms-appx://com.ionicframework.eurovia669094/www/cordova_plugins.js because of this error: RESOURCE_NOT_FOUND.

I can't find any ressource on this error. In index.html I have this:

<!-- windows phone shim for angular-->
<script src="lib/winstore-jscompat.js"></script>

<!-- ionic/angularjs js -->
<script src="lib/ionic/js/ionic.bundle.js"></script>
<script src="lib/angular-cookies/angular-cookies.min.js"></script>
<script src="lib/angular-translate/angular-translate.min.js"></script>
<script src="lib/angular-translate-loader-static-files/angular-translate-loader-static-files.js"></script>
<script src="lib/angular-translate-storage-cookie/angular-translate-storage-cookie.js"></script>
<script src="lib/angular-translate-storage-local/angular-translate-storage-local.js"></script>
<script src="lib/angular-translate-handler-log/angular-translate-handler-log.js"></script>
<script src="lib/angular-dynamic-locale/dist/tmhDynamicLocale.js"></script>
<script src="lib/angular-sanitize/angular-sanitize.min.js"></script>
<script src="lib/ngCordova/dist/ng-cordova.js"></script>
<script src="lib/moment/moment.js"></script>
<script src="lib/jshashes/hashes.min.js"></script>

<!-- cordova script (this will be a 404 during development) -->
<script src="cordova.js"></script>

<!-- your app's js -->
<script src="js/app.js"></script>
<script src="js/controllers/controllers.js"></script>
<script src="js/controllers/main-controller.js"></script>
<script src="js/controllers/login-controller.js"></script>
<script src="js/controllers/app-controller.js"></script>
<script src="js/controllers/contact-controller.js"></script>
<script src="js/controllers/newslist-controller.js"></script>
<script src="js/controllers/news-controller.js"></script>
<script src="js/controllers/checkbox-controller.js"></script>
<script src="js/controllers/newsFilters-controller.js"></script>
<script src="js/controllers/memento-controller.js"></script>
<script src="js/filters.js"></script>
<script src="js/services.js"></script>
<script src="js/constants.js"></script>
<script src="js/directives.js"></script>

but when emulating windows I see some new lines in Explorateur DOM and some line have been removed :

<!-- compiled css output -->
<link href="css/ionic.app.css" rel="stylesheet">
<!-- windows phone shim for angular-->
<script src="lib/winstore-jscompat.js"></script>
<!-- ionic/angularjs js -->
<script src="lib/ionic/js/ionic.bundle.js"></script>
<script src="lib/angular-cookies/angular-cookies.min.js"></script>
<script src="lib/angular-translate/angular-translate.min.js"></script>
<script src="lib/angular-translate-loader-static-files/angular-translate-loader-static-files.js"></script>
<script src="lib/angular-translate-storage-cookie/angular-translate-storage-cookie.js"></script>
<script src="lib/angular-translate-storage-local/angular-translate-storage-local.js"></script>
<script src="lib/angular-translate-handler-log/angular-translate-handler-log.js"></script>
<script src="lib/angular-dynamic-locale/dist/tmhDynamicLocale.js"></script>
<script src="lib/angular-sanitize/angular-sanitize.min.js"></script>
<script src="lib/ngCordova/dist/ng-cordova.js"></script>
<script src="lib/moment/moment.js"></script>
<script src="lib/jshashes/hashes.min.js"></script>
<!-- cordova script (this will be a 404 during development) -->
<script src="cordova.js"></script>
<script src="//Microsoft.Phone.WinJS.2.1/js/base.js"></script>
<!-- your app's js -->
<script src="js/app.js"></script>
<script src="js/controllers/controllers.js"></script>
<script src="ms-appx://com.ionicframework.eurovia669094/www/cordova_plugins.js"></script>

What can I do to fix link to cordova_plugins?

environment info :

Cordova CLI: 4.3.0
Gulp version:  CLI version 3.9.0
Gulp local:
Ionic Version: 1.2.4-nightly-1917
Ionic CLI Version: 1.7.13
Ionic App Lib Version: 0.6.5
OS: Windows 8.1
Node Version: v4.2.6

Thanks for your help

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



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