Samir Ait abdelkoui
Samir Ait abdelkoui

Reputation: 91

Flutter: How to keep Bluetooth connection active even on terminated state for iOS apps

So, me and my team are trying to create a bluetooth connection between iOS devices and an external device using Flutter. In our app we have to maintain a stable bluetooth connection (at all times) between the app and an external device even if the app is terminated. I know that for Android, this can be achieved with background services using a plugin like background_fetch but iOS doesn't offer background services when the app is terminated and the only way to keep the bluetooth connection active when the app is terminated is by using Apple Notification Center Service Is there a package or a recommended way to keep bluetooth connection active on a terminated iOS app? If not, is there any documentation on how to create a Flutter wrapper around ANCS native iOS code?

Upvotes: 0

Views: 1048

Answers (0)

Related Questions