Serve cordova plugins on Custom project

I’m trying to use cordova.js/cordova API features to interact with an internal app without actually changing the internal app (android).

I’ve started that by creating a normal Node.JS (express) application and served both, the cordova.js and also all JS files related to the cordova-plugins from “platform_www”.

After serving all the files, I could see that I basically have no “dependency” kind of errors coming from cordova.js on the browser (chrome webview).

Although when I run the application and browse to my app, I can see these alert prompts.


Anyone knows how I can solve those gap prompts alerts and successfully load the plugins?
My goal is to use the plugins on standard chrome webview.