96
Views
4
Comments
[Barcode Plugin] Barcode plug-in is unavailable
barcode-plugin
Mobile icon
Forge asset by OutSystems
Application Type
Mobile
Service Studio Version
11.54.13 (Build 62526)

I'm using a barcode plug-in to scan the QR code but when I click on the icon it shows that the plug-in is unavailable. Is there a solution to this?



Inventory Tracker 2.0.oml
WhatsApp Image 2023-06-22 at 17.27.32.jpg
2021-04-12 11-47-04
Bart Nooijens

Hi @Jayer Luke,

Try to use the CheckBarcodePlugin actie before you actually call the ScanBarcode action. It will check if the plugin is available and will return an error message in case it is not available. 

Furthermore, did you check Service Center to see if there are any error messages showing up regarding this issue?

Also, are you testing on an actual phone or in the browser? If on phone, did you regenerate the APK?

Best,

Bart

UserImage.jpg
Jayer Luke

Hi, @Bart Nooijens 


I have tried using the CheckBarcodePluin action before the ScanBarcode action. But it will just keep popping out the error message saying the Barcode Plugin is unavailable. 

Im using an actual phone for testing. 

Cheers,

Jayer

2021-04-12 11-47-04
Bart Nooijens

Hi @Jayer Luke

We used this plugin in several projects and never saw this message before. 

- Did you check Service Center to see if there any other error messages? 

- Did you try to regenerate the APK and install it again? Maybe to current APK that you have installed does not have the barcode plugin included.

Best,

Bart


UserImage.jpg
Kevin Werner

Posting in case someone else has the issue. TLDR: completely uninstall and reinstall your application.

My mobile app was originally deployed to production without the barcode plug-in. The new version of the app worked fine on the development device, but when I rolled it to production the devices automatically upgraded, but everyone kept getting the Barcode Plugin Unavailable error.

Completely uninstalling and reinstalling the app resolved the issue. I suspect there are components of the plug in, possibly the Cordova components, that won't install through the upgrade process.  


Best of luck!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.