Need help with block "Device Utilites"


I don’t understand. I put the blocks as follows: when the screen starts, you need to request the IMEI device and write the result in the text box. At the first launch of the application, permission to access the phone is earned. The condition is satisfied. But at repeated starts, when the screen is initialized, the condition is no longer fulfilled and the text is not filled with the IMEI value. There are a lot of blocks in my application. If you create a simple application where there will be only one request, then everything works …

what abour reading the IMEI only on first run of the app, then store it in TinyDB and on all further runs read it rom there?

It seems to work, I will still test it. It turns out that theTinyDB is faster than the text field?