Post

Replies

Boosts

Views

Activity

[watchos] maintain the bluetooth connection without disconnect
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/
1
0
684
Dec ’22
WKExtendedRuntimeSession vs HKWorkoutSession
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?
1
0
963
Dec ’22
[watchOS] About BLE
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?
1
0
1.2k
Oct ’22