Error calling Method on NPObject on enable Barcode

// Expert user has replied.
T Tobias Heindl 2 years 11 months ago
5 2 0

Hello,
 
i have a encountered a strange behaviour my EB App.
I enable the Scanner in my html with the onload event:

Everything works fine, but if i close the Enterprise Browser App and try it again my Page wont load and i get the following error:

It dumps in here in the ebapi.js windows[S].apiCall(ap,ao):

 
If i close my App and wait for around 10 minutes it works fine again!
 
For further Information I am using EB Version 1.7 on a TC8000 Android 4.4.3 device.
 
I get my JS Files via Server like the ebapi.js or eb.barcode.js.
 
Thanks for your support!

Please register or login to post a reply

2 Replies

J Joydeep Chakraborty

Hi Tobias,
Can you please share the HTML page you are using for the same?

How are you including the JS files?
Is this via including them inline via script src or via config.xml parameters.
Regards,
Joydeep

T Tobias Heindl

Hi Joydeep,

I think I found the reason of this behaviour.

If I Quit the App via the Quitbutton in the Settings i can restart the Browser and it works fine.

If I Quit the App via Navibuttons and "swipe" it away it dumps.

I cant explain the difference but as long as I quit the App via Settings it works

CONTACT
Can’t find what you’re looking for?