NativeScript / nativescript-cordova-support

A NativeScript plugin which enables you to use cordova plugins inside your NativeScript-based project.
Apache License 2.0
21 stars 3 forks source link

Error: Unsupported Cordova JS function `pluginloader.findCordovaPath` #10

Open sivaprasad-kiranum opened 5 years ago

sivaprasad-kiranum commented 5 years ago

I am trying to integrate the Cordova plugin @thegrizzlylabs/cordova-plugin-genius-scan into our Nativescript Angular web sharing project. The following error is thrown while running the command tns runs ios --bundle

Unsupported Cordova JS function `pluginloader.findCordovaPath`.
CONSOLE LOG file:///app/vendor.js:108197:20: pluginloader.injectScript(nativescript-cordova-support/cordova_plugins.js...) called
CONSOLE LOG file:///app/vendor.js:108202:24: error injectScript nativescript-cordova-support/cordova_plugins.js: Error: Could not find module 'nativescript-cordova-support/cordova_plugins.js'.
sivaprasad-kiranum commented 4 years ago

I see that this plugin has been deprecated. Is there an alternative?

mbektchiev commented 4 years ago

Currently, there are no alternatives that we know of. This plugin was a proof-of-concept that reached beta status but was never picked up by the community.