Skip to content

Instantly share code, notes, and snippets.

@imReker
Last active July 19, 2024 14:57
Show Gist options
  • Save imReker/fba069c6cae7407509863b0ed78da2a7 to your computer and use it in GitHub Desktop.
Save imReker/fba069c6cae7407509863b0ed78da2a7 to your computer and use it in GitHub Desktop.
plist for Apple Watch to Enable ECG v2 and Atrial Fibrillation(IRNF)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EnableCardioFitnessNotifications</key>
<true/>
<key>EnableStationaryDiscordanceDetection</key>
<true/>
<key>EnableAtrialFibrillationDetection</key>
<true/>
<key>BradycardiaThresholdBPM</key>
<integer>45</integer>
<key>EnableBradycardiaDetection</key>
<true/>
<key>StationaryDiscordanceMinimumBPM</key>
<integer>120</integer>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CompletedBuddyVersion</key>
<integer>2</integer>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ElectrocardiogramWatchAppInstallIsAllowed</key>
<true/>
<key>HKAtrialFibrillationDetectionOnboardingCompleted</key>
<integer>1</integer>
<key>HKElectrocardiogramOnboardingCompleted</key>
<integer>4</integer>
</dict>
</plist>
@mhkefayati
Copy link

Works fine, thanks!
Any idea on how to enable the SpO2 measurement?

@The-Cyber-Thinkerer
Copy link

@imReker Does this let ECG, Irregular heart aler and Afib all 3 work on the new os ?

@vinixtor
Copy link

vinixtor commented Apr 10, 2024

Just wanted to confirm that at least ECG feature, works just great.
iOS 17.5
WatchOS 10.4 on an Ultra 2.

@fpereyrap
Copy link

@vinixtor are you in a non allowed ecg region? im thinking of doing this with an ultra 1 un Argentina

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment