Error in app


hello team, I have an error that I still can not solve, when I run it on the cli, everything runs normally, but when I run it on a mobile device, it generates errors.
suddenly someone knows how to solve.

This is my code

this is the error that show me in the console


Wrap it all in a try/catch and console-log the error in the catch ().


Something doesn’t add up here. Your code doesn’t include ERROR which the console output shows as output text.