I am trying to make a compass app but there’s an issue.
This is the link to my app: Thunkable
When I try to live view it from my phone, it says “Something has gone wrong. Check your blocks and reset this page”, but I don’t know what is my error. Can someone check my code and see what’s wrong with it? Thanks.
Also one more thing I forgot to say, the error message pops up on both my iPhone and Samsung device. If I try web view it lets me try the app, but I cannot test the compass itself because my computer doesn’t have a magnetometer.
The one thing I tried is to initialize your lists as empty lists. Because you’re inserting list items into a variable that doesn’t yet have a type. But the app still crashes so that wasn’t the fix.
Then I noticed that you are using green blocks as variables. They aren’t meant to be used that way. They’re more like constants. I think you just accidentally swapped the order. Try this, which works for me: