Page 2 of 3

Barcode Service Failed!

Posted: Tue Sep 29, 2015 6:34 pm
by Vince

Illya,

Camera??? Please refer to my original post above. I removed the camera function from my app weeks ago after your support staff could not resolve similar problems with the camera. That is why the camera permission is unchecked.

The current issue is with the BARCODE function.


Barcode Service Failed!

Posted: Tue Sep 29, 2015 7:02 pm
by Illya Stepanov

Barcode service can't work without Camera permissions enabled on a device. If you want to disable Camera service in your app, it is better to remove invocation of such service and not a device permissions.


Barcode Service Failed!

Posted: Wed Sep 30, 2015 4:35 pm
by Vince

Illya,

While the camera function is clearly necessary to scan a barcode, I was unaware that the camera permission could disable the camera for use in barcode scanning.

Thank you for the assistance. I will reset the permissions, test again and relay the results.


Barcode Service Failed!

Posted: Wed Sep 30, 2015 4:38 pm
by Illya Stepanov

Ok, Vince. Let us know the result please.


Barcode Service Failed!

Posted: Wed Sep 30, 2015 6:18 pm
by Vince

Illya,

After resetting the permissions, the barcode scan function is working again. Apparently I crippled the function myself while minimizing the required permissions.

I have spent many hours reading your documentation and do not recall reading that the permission settings could actually disable a function.

The failure with my app, with no obvious cause and effect, was a cause of great concern. I am relieved to find that the error was my own fault.

As always, your patience and assistance is greatly appreciated.

Regards,

Vince


Barcode Service Failed!

Posted: Wed Sep 30, 2015 8:10 pm
by Illya Stepanov

Thanks, Vince! Any time.

I'll make a note for adding such a description to our docs, thanks!


Barcode Service Failed!

Posted: Tue Nov 21, 2017 12:18 pm
by Deon

I have this problem too. The barcode scanner works fine in the Appery Tester but not as an installed APK. Have not tested with IOS, but definitly does not fire on Android device. Camera is enabled in permissions.


Barcode Service Failed!

Posted: Tue Nov 21, 2017 4:35 pm
by Serhii Kulibaba

Hello Deon,

Could you clarify, what libraries version is selected in your project? Have you changed anything on the Source tab?

Please try to debug your app remotely using Weinre debugger (https://docs.appery.io/docs/weinre-de...).


Barcode Service Failed!

Posted: Wed Nov 22, 2017 1:11 am
by Deon

Hi
Libraries 4.1
Source Tab: I uploaded a jscript to the lib directory. However it was not working before that.
I do use Weinre all the time. No errors.

Its not firing the scanner or activating the camera. As I said, works fine in the tester.


Barcode Service Failed!

Posted: Wed Nov 22, 2017 3:57 pm
by Illya Stepanov

On which Android device are you testing and what Android version is on the device?