Hello,
I would like to built a phone app (or watch app if it is easier) to get raw data of ECG, spO2, accelerometer... Is it possible with all phone and watch models? Any recommandation ?
I am looking for updated feedback compared to this one for instance https://academic.oup.com/sleep/article/42/12/zsz180/5549536
Thanks
Apple Watch
RSS for tagDiscuss hardware-specific topics related to Apple Watch.
Posts under Apple Watch tag
82 Posts
Sort by:
Post
Replies
Boosts
Views
Activity
I'm stuck on Watch os beta1. Checking update saying it's updated. On my iphone have correctly uptadetd to beta 2
Hello,
I'm having a problem on my watchOS app where even though I have instantiated a WKExtendedRuntimeSession the app stops logging IMU data a few seconds after the watch has gone to sleep.
This happens on my Apple Watch Series 6, but does not happen on the latest Apple Watch Series 8. CPU usage in both cases does not exceed 70%, so I doubt my app is exceeding the limits thus cancelling the WKExtendedRuntimeSession. To back that up, I am not getting the WKExtendedRuntimeSessionInvalidationReason trigger I was suggested to put in place form the documentation.
I have tested a couple of different sample rates, this does not seem to happen with a sample rate as low as 1, but does happen already with a sample rate of 30.
Could it be a watch limitation, or am I forgetting something?
P.S. I have also set the background mode to physical therapy and ticket the workout processing box.
Hi,
I just want to confirm that is it possible to make/receive VoIP calling through Apple Watch without pairing with iPhone
Hi there,
I'm trying to figure out how to make my app always on top when waking the apple watch, just like the native Workout app does.
I've noticed the official guidance for users to enable this behavior, but how can I introduce it into my own app? Any answers will be appreciated!
Reference to apple support:
https://support.apple.com/en-sg/guide/watch/apd748b87e2a/watchos -> Wake to your last activity
Hello, I tried to use the new underwaterDepthPrompt and underwaterDepthCriticalPrompt with WKInterfaceDevice.current().play(_:) without any success on my A2157/WatchOS 9.5.1 (others are working perfectly). Is it normal?
Anyone got a fix? I’ve tried multiple iPhones all are updated. I reset the watch multiple times and still stuck on the error
Unable to Check for Update Checking for a software update failed because you are not connected to the Internet.
Hi to all,
I'm new to WatchOS development and trying to install the default Xcode 'Hello World' app on my Apple Watch Ultra. I've enabled Developer Mode on my iPhone and did the same on my Apple Watch. After enabling Developer Mode on the watch it asks me to restart the watch. After a restart it asks me again if I want to enable Developer Mode. Of course! I don't succeed in installing the app on my watch because Xcode is "waiting for first unlock" of my watch. When I look in Settings > Privacy > Developer Mode the toggle switch is disabled. I can enable the switch but the watch asks me to restart and this is the loop I'm in.
Anybody suggestions for 'permanently enabling' Developer Mode on my Apple Watch?
Thanks in advance!
Professor said I can get RAW data from apple watch, but he didn't know specific data what we can collect.
Can I get RAW data from apple watch? and which datas can I get?
I was following the below documentation for getting the Raw Gyroscope events. Somehow I am unable to make the below code working.
if motion.isGyroAvailable {
self.motion.gyroUpdateInterval = 1.0 / 60.0
self.motion.startGyroUpdates()
// Configure a timer to fetch the accelerometer data.
self.acceTimer = Timer(fire: Date(), interval: (1.0/60.0),
repeats: true, block: { (timer) in
// Get the gyro data.
if let data = self.motion.gyroData {
let x = data.rotationRate.x
let y = data.rotationRate.y
let z = data.rotationRate.z
// Use the gyroscope data in your app.
print("rotationX: \(x) , rotationY: \(y) , rotationZ: \(z)")
}
})
// Add the timer to the current run loop.
RunLoop.current.add(self.acceTimer!, forMode: .default)
}
https://developer.apple.com/documentation/coremotion/getting_raw_gyroscope_events
The isGyroAvailable always returns false
Dev environment
- Xcode 14.1, Apple Watch 8, WatchOS 9.1
Hi I just got my Apple Watch Ultra and I am trying to access depth and water temperature with the new CMWaterSubmersion api and I am getting CMErrorDomain 110 (which is CMErrorNotEntitled). Not sure exactly what this means, I am guessing I there is an entitlement missing?
https://developer.apple.com/documentation/coremotion/cmwatersubmersionmeasurement
I'm continuously getting this message in Xcode and I can't run my app on my Apple Watch. I'm running the latest versions of everything. I have tried to restart my Mac, my iPhone, my Watch. I tried to unpair and pair it back. Nothing is working. I also updated Xcode to 14.0.1 RC and that didn't help. How can I get this working? We're unable to do any work on our Watch App without this working. Thanks
When an iPhone is paired with an Apple Watch and receives a critical alert, no sound is played. This makes it very easy to miss such notifications and defeats entirely the purpose of critical alerts.
For context, we build an app that improves the care coordination of heart attacks. We send critical alerts to notify healthcare professionals of such emergencies. These events may occur at night, when the user does not wear the Watch, and will therefore be likely to miss the notification entirely, which can be catastrophic.
I have searched online thoroughly for work-arounds but have not found anything. Others have asked this before elsewhere but have not found definitive answers:
link.
Is there anything we can do as developers to force critical alerts to be handled by the phone, or at least to force the phone to ring when receiving a critical alert?
Edit: I am aware that in the Watch app, it is possible to prevent notifications from being mirrored by the Watch. However, this requires the end user to exit my app and navigate their settings. It is also impossible for my app to check if this was done correctly. As such, I am completely in the blind as to whether the user has set up their notifications correctly.
Hey, so I am creating an app that will get the core motion data (accelerometer and gyroscope) from my apple watch and stream it onto a console. I am able to get accelerometer data but not a gyroscope from my apple watch. When I try it with my phone I get both. So is gyroscope data not available for the apple watch?
How to enable developer mode on Apple Watch with watchOS 9 beta?
Since I upgraded to iOS 15, watchOS 8 and Xcode 13, after I turned off and on my Mac, every first time I want to launch an app from Xcode to my iPhone appear this message (even if I'm not developing for watchOS):
iPhone is busy: Making Apple Watch ready for development
The Mac stays stuck on it for at least 20 minutes.
The only solution I found (until now) is to switch off WiFi on my Watch.
Is there a better solution?
When I run watch app I got crash because I am using CMFallDetectionManager
but I have added key in .plist Fall Detection Usage Description , when I run the watch app I got this error
Fall Detection entitlement is required for this API
so I read the documentation it says To apply for the entitlement, see Fall Detection Entitlement Request but when I click on the clink Fall Detection Entitlement Request I got this message The Apple ID you signed in with does not have permission to view this page.
If a "Minimum Deployment Target" is updated to WatchOS7 on a product(iOS app with a companion watch app) that is already available on the App Store, watches running WatchOS6 will obviously no longer get updates.
However, what is the experience for a user who has a WatchOS6 (maybe they own a Series 2) connected to an iPhone with iOS14?
Will both the iPhone app and the Watch app stop getting updates?
Will the Watch app stop getting updates, but the iPhone app continue receiving them and we have to manage this?
Something else?
Thanks in advance!
My device is Apple Watch Series 5. It only support wifi.
When I was debug in real machine. It can't connect to internet. The app is independent. But the system app can connect to internet.
Why? Why? Why? And How to solve.
code :
let session = URLSession.shared
let task: URLSessionDataTask = session.dataTask(with: URLRequest(url: URL(string: "https://www.baidu.com/s?wd=iOS")!)) { [self] (data, response, error) in
if data == nil {
print(error.debugDescription)
}
}
task.resume()
error message :
Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo={_NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <FD086BDC-3051-469F-9280-0054CC8F0488>.<1>, NSLocalizedDescription=The Internet connection appears to be offline., _kCFStreamErrorCodeKey=50, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <FD086BDC-3051-469F-9280-0054CC8F0488>.<1>",
"LocalDataPDTask <FD086BDC-3051-469F-9280-0054CC8F0488>.<1>",
"LocalDataTask <FD086BDC-3051-469F-9280-0054CC8F0488>.<1>"
), NSErrorFailingURLStringKey=https://www.baidu.com/s?wd=iOS, _kCFStreamErrorDomainKey=1, NSErrorFailingURLKey=https://www.baidu.com/s?wd=iOS})
Hi,
My middle schooler is working on a project for National Science Fair competition to estimate blood pressure from ppg signals. While he is using external database to develop his algorithm, it would be very useful to test it with real time data. I have a Series 6 watch and wondering how I can access my ppg sensor raw data.