cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to access Barcode Scanner Plugin from Fiori Client 1.3.0

0 Kudos

Hi,

I have been trying to customise a fiori application by integrating barcode scanner plugin feature. I used order products application as a refrence and was trying to access the plugin.

But when i tried to access the scanner plugin using the below syntax..

cordova.plugins.barcodeScanner.scan( function(){ success function }, function(error){failure function} );

I am getting an error that "Barcode scanner plugin not available". I have created my custom application using Web IDE and have configured it to the launchpad. When i try to run the applciation from fiori client (V 1.3.0),  i get this error.

Can some one help me in accessing the plugin?

Will the above syntax suffice or is there anything else i missed out like changing the settings inside a fiori client or in the code??

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

The issue was resolved when i cleared cahe in my backend and gateway....

Answers (2)

Answers (2)

Former Member
0 Kudos

This message was moderated.

former_member185875
Contributor
0 Kudos

Hi Sangeetha,

I am not sure, But as per my knowledge you need customize  the SAP Fiori Client by adding barcode plugin. Then only your code will work.

Below link will give you the steps for

Building the SAP Fiori Client

Thanks,

Lakshman Balanagu.

0 Kudos

Hi Lakshman,

I am not using Kapsel. I am using the standard version of Fiori client which i cannot customise.

I use Fiori Client V1.3.0 which by default has the Barcode Scanner Plugin. My problem is, i can not access that plugin.