Code for the sample apps is available in the full IOS and Android Native SDK packages available at this download location. If you don’t have access to the full IOS and/or Android Native SDK packages, then you should reach out to your Validic CSE to discuss your options for getting access to them.
How to build the IOS Native sample app in Xcode
Install Xcode 14+ using the Mac App Store (or download directly from Apple’s Developer Portal)
Open Xcode 14 at least once to make sure the install completed
Download and unzip Validic’s iOS Full SDK 1.14.1 from the Mobile Portal
Open the
Validic.xcodeproj
file from the unzippedSample App
directoryClick “Trust and Open” if prompted with a security warning
At this point the Sample app can be built and even run in the Simulator - all dependencies are included and no setup is required.
How to build the Android Native app in Android Studio
In the Full zip package for Android, the Sample app is in the Example Apps/sample
directory. If this directory is opened in Android Studio, Gradle will automatically pick up the build settings without any configuration needed.
You would also need to update the file Example Apps/sample/src/main/java/com/validic/sample/ValidicMobileSample.java
with valid Validic credentials so that the project will build without errors.
To get Samsung Health to cooperate, you would first need to provide your own samsung-health-data-1.5.0.aar
file and update the path to it at the bottom of ./build.gradle
before trying to do any build in Android Studio.
If you don’t have your own samsung-health-data-1.5.0.aar
, then I suggest using the mini apps included in the Example Apps folder to isolate the element of the SDK you are wanting to test with the sample code.
vitalsnapminiapp- To see the Vital Snap functionality
googlefitmini - To see the google fit integration
bleminiapp - To see the Bluetooth functionality in the sdk
aggregratorminiapp- This one would require the Samsung aar dependency