The Web GotText event does not fire in the background
You have to register it as you have done it for the Clock.Timer event
Then use an event handler, which looks like a procedure with the same 4 arguments as the GotText event to receive something in the background
And as already said
Help please, very please help, I may not understand something, I do everything as written in many posts, I use Itoo to create a background task, in my understanding, it is when the application is not open at all, but it works, for example, as I need, it should interact with esp32 via BLE protocol, without background process it works very well for me, reconnect is set up, communicates with Firebase, everything is fine, but I can not configure a background task
I put in an X argument, do I have to access it somehow? I'm really confused. I think I did it like in the post, but when I exit the application, it still disconnects the bluetooth connection
Also what are these events IOBLE and OnOff_ble? These do not exist...
And you should ask for necessary permissions at the very beginning before trying to connect
It is not possible to send sms in the background
To do this, your app needs to be in the foreground
Alternatively use an API to send sms in the background, for example Twilio... SMS API | Twilio
Also to be able to receive location changes in the background, you need background location permission... the locationservice extension is able to do this...
I'm giving up, I'm so confused I don't understand anything. I've read the whole tutorial, and I think I'm doing everything right, but as practice shows, nothing works. Isn't “eventName” just names to be displayed ?
Components do have events, for example the clock component does have the Clock1.Timer event... so for example if you want to use that event in the background, you register that event and create an event handler for it, which looks like a procedure...
That's not what I mean, I do not have all the time to go through your blocks. If you require help, you need to make it very easy for me to help you. Like reducing the number of blocks. Also make sure you have completely read the first post.