feat: implement Haptika PPG and Watch V1

This commit is contained in:
Sacha
2026-07-31 16:19:42 +02:00
parent 6b7d4e0728
commit b9930b7378
249 changed files with 46475 additions and 122 deletions
@@ -0,0 +1,30 @@
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = "HaptikaPPG"
s.version = package["version"]
s.summary = package["description"]
s.homepage = "https://haptika.local"
s.license = { :type => "Proprietary" }
s.authors = { "Haptika" => "engineering@haptika.local" }
s.platforms = { :ios => "16.0" }
s.source = { :path => "." }
# Nitro Modules 0.36.1 is not yet clean under Swift 6 strict concurrency.
s.swift_version = "5.0"
s.source_files = [
"ios/**/*.{swift,m,mm,cpp,h,hpp}",
"cpp/**/*.{cpp,h,hpp}"
]
load "nitrogen/generated/ios/HaptikaPPG+autolinking.rb"
add_nitrogen_files(s)
s.frameworks = "AVFoundation", "Accelerate", "CoreVideo", "HealthKit"
s.dependency "VisionCamera"
s.dependency "React-jsi"
s.dependency "React-callinvoker"
install_modules_dependencies(s)
end