sdk.neurofit.app. Use this page when your build machine cannot reach it, when you
mirror packages in your own repository, or when you hold a source license. Downloads use your
download token through the ~/.netrc entry from the
iOS quickstart.
iOS: xcframework files
Package.swift
NeurofitVitalsUI links NeurofitVitals and does not contain it, so use both from the same version.
Android: AAR files
Your own artifact repository can proxyhttps://sdk.neurofit.app/maven, with any username and the token as the
password. Point Gradle at your repository and nothing else changes.
Or download the AAR files (https://sdk.neurofit.app/maven/com/neurofit/vitals-sdk/1.0.0/vitals-sdk-1.0.0.aar, and
the same path for vitals-sdk-ui) and add their dependencies at these versions:
app/build.gradle.kts
androidx.core to 1.16.0 if your build has an older one.
Wrapper package files
On a machine that reachessdk.neurofit.app with the .npmrc from your quickstart, pack the package, then
install the file anywhere:
pubspec.yaml
ios/Frameworks and android/maven), so there is nothing else to download.
Source license
A source license ships the engine and SDK sources. Your build still activates with a key (Source licenses). The release scriptssdk/tools/release/build_xcframework.sh and
sdk/tools/release/build_aar.sh ship with the sources, so you can also build the binaries yourself.
iOS source package
Addppgcore/sdk/ios as a local package. It needs the PpgCore engine package at ppgcore/ports/swift next to it,
Swift tools 5.9 and Xcode 16 or newer, and builds in Swift 5 language mode. A build error about internal import
means an older Xcode.
Package.swift
PrivacyInfo.xcprivacy.
Android source modules
Include:vitals-sdk, and :vitals-sdk-ui for the pre-built flow, from the delivered Gradle project with
includeBuild, or copy the modules into your project. They compile the engine sources from ppgcore/ports/kotlin in
place. :vitals-sdk-ui applies the Compose compiler plugin (org.jetbrains.kotlin.plugin.compose), so declare it
at your Kotlin version if you copy the module.
Running the tests
The iOS package’s unit tests run on the Simulator, which has no camera, so a reading itself needs a device. Pick the simulator by id, because a name such asiPhone 15 can match several installed runtimes:
Sample apps
The iOS and Android samples have their setup in their READMEs, and their keys must list
com.neurofit.vitals.sample. The Flutter example is the Dart code only: create its platform projects with
flutter create . in its folder, use a key that lists their identifiers, and pass it with
--dart-define=NEUROFIT_VITALS_LICENSE_KEY=....
The iOS and Android samples ship with source releases, the Flutter example inside the neurofit_vitals package.
Request an evaluation build: contact@neurofit.app.