Skip to Content

How to use custom plugins in Hybrid Application Toolkit

Dear experts

how do I have to call a custom plugin in the Hybrid Application Toolkit in WebIDE?

I am new to HAT and confused about how to use the selected plugins in my controller.js. When I add the Kapsel barcodescanner then I can use window.cordova.plugins.barcodeScanner to address it in my controller file. How would I do that with a custom plugin?

Example:
When I add the phonegap-nfc plugin under Project-Settings - Hybrid Application Toolkit. How do I have to call the plugin in in my controller file?

Thanks
Christophe

Add comment
10|10000 characters needed characters exceeded

  • Hello Cristoph.

    I am currently having the same question as you.

    Did you manage to resolve or learn how to do it ? I need to do exactly the same with the NCF plugin.

  • Get RSS Feed

1 Answer

  • Dec 20, 2018 at 11:14 AM

    Hallo Ivan

    unfortunately I did not find a reply. We were just experimenting with those functionalities and as we did not find a way to go further we stopped this experiment.

    Hopefully someone else can reply. Or you find out and post it here.

    Add comment
    10|10000 characters needed characters exceeded