Code that runs in Development but not in Production

I have a code that runs in Companion perfectly but not when I download and install the app?

any suggestions



share the blocks for the functionality that is not working many things work in the companion and not the exported app