Software Archive
Read-only legacy content
17061 Discussions

Compiled code not working but ok in debug and App Preview

Nick_F_2
New Contributor III
1,518 Views

Ive written an app that tests perfectly under App Preview via Debug and App Preview via Push, however when I compile the app some of the functions do not work. There are no errors during compile and all plugins are loaded according to,the build success screen.

The app has a barcode scanner, it returns the scanned codedata in all test environments but fails once compiled, it doesn't display the captured barcode, completely at a loss. I'm using xdk barcode scanner function. XDK version 1995.

0 Kudos
22 Replies
Swati_S_Intel1
Employee
151 Views

Hello Nick,

Would you please send your project zip via PM? If you could, just send the minimal version of your app which causes issue. I believe your QR scanner code works fine, only the ajax code is not working.

Thanks,

Swati

0 Kudos
Nick_F_2
New Contributor III
151 Views

I have just rebuilt the application from a new blank project, but copied my code over and it appears to now be working as expected.
Not sure what was broken that caused the issue when compiled.

0 Kudos
Reply