Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

Using NativeScript Plugins with AppBuilder

$
0
0

Hi,

Has anybody got an NPM plugin with NativeScript working with AppBuilder yet? I’ve used the ‘Manage packages’ screen in AB to include the nativescript-ios-uuid plugin in my app and the plugin is correctly listed as a dependency in the app’s packages.json file. However, when I use require("nativescript-ios-uuid") in my code I get a ‘Failed to find module’ runtime error.

I’ve tried require("../nativescript-ios-uuid") and numerous other path options but no luck. Does anybody know what the correct path should be to 'require' a {N} plugin?

Thanks, Ian


Viewing all articles
Browse latest Browse all 84751

Trending Articles