I want scan beacon devices on background and run my dart code for send data to my backend. How can i do that? I found background service documentation but i didn't find how can i run dart code on background.
CodePudding user response:
You should use any state management for example Getx - Provider,etc.
How to pass data from one provider model to another?
CodePudding user response:
Необходимо использовать изоляты. С помощью обратных вызовов можно настроить для фонового выполнения.