cancel
Showing results for 
Search instead for 
Did you mean: 

How to use custom plugins in Hybrid Application Toolkit

christoph_buehlmann
Participant

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

0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

christoph_buehlmann
Participant
0 Kudos

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.