I have flutter app which connect with bluetooth device and when my app is kill then on background for every 15 mins i need to called bluetooth service, application only support for iOS
I have flutter app which connect with bluetooth device and when my app is kill then on background for every 15 mins i need to called bluetooth service, application only support for iOS
Share Improve this question asked Jan 20 at 19:04 user4865136user4865136 112 bronze badges1 Answer
Reset to default 0iOS silent notification can solve your problem。When app lifecycle callback is AppLifecycleState.detached, the current user's app is reported as killed (userId). The server sends a silent notification at a specific time, and in the silent notification callback method, you can call your Bluetooth service.