App is working well on the laptop but when I test it on the phone i get error message as something has gone wrong, check your block. Have shared the screenshot.
At what point does it crash? Does that happen when the screen first opens or when you click a certain button? when screen opens
Are you using a Navigator? Are you using a Web Viewer? What type of phone are you testing on? via Thunkable live app on Andriod phone
What happens if you move the Screen1first screen to be the first screen in the list of screens instead of the last as it is in your screenshot? That works truly. I did try before posting it here.
What happens if you remove all of the zero (0) blocks? I left it blank before and tested on phone then I get the same error message later i put zero even then i get the same error message.
Interesting… if I change the Navigate block on the splash screen to go to the Screen1first screen, it crashes. If I delete all of the blocks on the Screen1first screen, it still crashes! I would create a new screen and add the blocks you need that are on the Screen1first screen. My best guess is that the existing screen is corrupt somehow!
I tried creating different screen and had put a label - Hi. I did work. After applying the blocks I got the same error message while testing it on phone. Does it mean some thing wrong in the block? butits works on laptop.
After spending so many hours. Then I decalred the variables with new names and new design elements on new screen then it did work. Finally resolved. Thank you so much for your input.
There’s something about one of the rows (perhaps an image filename?) on Screen1first that causes the crash. I’m not exactly sure which row but as I delete them (and other things from your project), I can cause the crash to go away.
For example, here’s a modified version that does not crash:
@tatiang@sasi.preethag3yh We have seen where an app will crash upon navigating to another screen if an image file name contains text other than the name of a file you have uploaded into your project. Definitely check that and see if that corrects the issue.
That’s helpful to know. The weird thing with that particular project is that as I delete empty rows, the crash goes away. I’m tempted to say it’s a browser cache issue and that the actual cause is image-related as you mentioned. But in testing it twice now, it’s the removal of the rows (after also removing images and invisible components from the project) that fixes the crash.
@tatiang@sasi.preethag3yh I’ve isolated the issue here. In the Text_Input1appliance text input component, the hint and text are set to undefined. This is a known issue for StP projects. So deleting that component would stop it from crashing. Click in those inputs again so that they change to Empty String and the app will not crash anymore.