I have successfully created a cloud variable to store user data, however on Android, when I try to edit the data (for a strange reason) it only works at the second attempt or the following ones without exception; whereas on iOS it crashes at the first try.
I understand correctly that the app crashes on iOS when working with a cloud variable? If this is so, then it seems that there is a work with a non-existent object. Using the āgenerate Object from JSONā block, check the value of the variable. It is probably null.
Ok so here are all the things I did based on your suggestions:
Check for the null value with the " āgenerate Object from JSONā block"
R: it was not null
Asigned a label text to that generated JSON, then try to edit cloud variable with the text from that label
R: still crashes on iOS; still editing is succesful at 2nd and further attempts
Initialized a new app variable to create an object; generate a JSON and asign that item/text to the new app variable; then try to edit cloud variable with the text from that app variable
R: still crashes on iOS; still editing is succesful at 2nd and further attempts
I just realized I forgot to add a āCancelā button in the app I shared. ā The purpose of that button was if the user regret to do the changes and cancel the operation before submiting. By doing that it reseted everything as if the screen just opened ā So when the issue happened I canceled the operation with the cancel button then tried again and it worked. Everytime I closed the app and reopen I had to do this double process of editing to make it work.
I hope I made myself clear haha