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

Ionic cordova app - missing reference to Cordova.s

$
0
0

In the process of upgrading an app from package Cordova-Angular 9.0 (using Angular 10) to version 13.0 (and Angular 16)

App is building and running on Android now, but when trying to use any plugins (e.g. device plugin to get uuid) get a message stating cordova.js not loaded.

Comparing a newly built blank app. I can see the the generated files in www android platform differ.

New app


<body>
  <app-root></app-root>
<script src="runtime.5ddcfd6a977968e9.js" type="module"></script><script src="polyfills.45b15749fa958a1d.js" type="module"></script><script src="**cordova.02b8ffc6498ddeaa.js**" defer></script><script src="main.d8e276fe94aaf173.js" type="module"></script></body>

My app that is not working - i.e. no reference to Cordova.js (I can see a cordova.js file has been generated but no reference to it. Note there is also no cordova*******.js (i.e. the minified version)

<body class="mat-typography">
  <app-root></app-root>
<script src="runtime.0f49f945b5497e3f.js" type="module"></script><script src="polyfills.75f34c0896f5f0be.js" type="module"></script><script src="main.7f0eece5d92ab87e.js" type="module"></script></body>

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70936

Trending Articles



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