I would like to maintain the connection with the Bluetooth device connected on watchos without being disconnected even in the background. What should I do?
What is introduced in the WWDC video seems to be reconnecting the paired peripheral in the background since watchOS 8, but I want to make a Bluetooth connection in the foreground and maintain the connection even after going to the background.
WWDC 2021 - Connect Bluetooth devices to Apple Watch
https://developer.apple.com/videos/play/wwdc2021/10005/
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I am developing a watchOS app related to Bluetooth.
I often used WKExtendedRuntimeSession to connect Bluetooth even in the background, but I often lost the connection. so I used HKWorkoutSession, it works.
i go through two official documentation, but i don't know the difference between them.
What's the difference of these two sessions?
And do those sessions affect the use of Watch Connectivity transferUserInfo?
Topic:
App & System Services
SubTopic:
General
Tags:
Watch Connectivity
WatchKit
watchOS
Apple Watch
I've been looking through various sources, but it seems that the Apple Watch can only be operated as a central device. Is it like this until the latest?
Please help me
Like the Bluetooth setting screen of the watch, I want to keep the screen active without going to the inactive state when I lower my wrist.
Now my app Executes 'didDeactivate' method when I lower my wrist and Bluetooth communication is cut off.
What should I do?