Normally to debug, I assemble and disassemble the various blocks and at the end I find the error.
But when a set of blocks works perfectly with one OS and the other doesn’t what should I do?
How do I figure out which block the other OS doesn’t like?
In this case is a very simply List View …
The anomaly is that when I select an item, Android goes to the screen set into “Navigate to” instead of iOS stay here, no crash … just stay here.
What’s even stranger is that iOS goes to any other screen of the app but not to the one I have set.
Android is ok.
Check if the LV_Negozi item Click block is called when you click on a list item on iOS? Maybe it just doesn’t work? Also check if you have updated Live on your iOS device.
I see the problem like this. For some reason, when the app is running on iOS, it crashes and when trying to display the Negozio_Mappa screen, a memory error occurs. For this reason, reinstalling the app and copying the screen does not fix the error.
Try creating a new screen and copying blocks and components from Negozio_Mappa to It, and then delete The negozio_mappa screen.
The same problem with the Info_Negozio screen.
My demo project had a similar problem when I couldn’t go from the list to any other screen on the main screen. But this problem was solved somehow by itself. I didn’t do anything (I didn’t do anything because, as you can see, transferring all the old screens to the new screens took me just a huge amount of time, which I didn’t want to spend at all.).
… today I recreated three times from scratch the screen … adding block a little at a time … at the beginning just with labels works and then adding others block crash. Also if I disassemble components the screen is now corrupt.
INCREDIBLE !!! the problem is that there is not work around for that ahhhhhhhhh
I can’t say for sure, but maybe the problem is related to the use of global app blocks. I have had many conversations with developers about this, but unfortunately, despite all their great efforts, I can’t change my opinion that blocks of global variables are unstable. For this reason, I have to continue using blocks from function variables as global ones, although the developers do not recommend doing this.
Can you explain me better what you mean by “For this reason, I have to continue using blocks from function variables as global ones” … the kind of variable you use?
I discovered the problem: when I insert a map, thanks to the location sensor, I point the map based on my location.
The problem lies in the fact that the default coordinates are those of San Francisco so every time the map opens, it first passes through San Francisco and then moves to my location.
So I canceled the settings and set BLANK.
Android works the same but iOS crashes.
You need to put ZERO and it works for both OS.
Once again incredible.
It is clear that I incorrectly assumed that the reason is global blocks.
OK, but you have discovered another problem that I wrote about a long time ago - the lack of reliable protection in Thunkable X against incorrect data values and incorrect data types. Using my bug tracker, I can see that this problem has not been solved yet.