Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Code for the sample apps is available in the full IOS and Android Native SDK packages available at this download location for Validic Inform Mobile clients. 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

  1. Install Xcode 14+ using the Mac App Store (or download directly from Apple’s Developer Portal)

  2. Open Xcode 14 at least once to make sure the install completed

  3. Download and unzip Validic’s iOS Full SDK latest version from the Mobile Portal

  4. Open the Validic.xcodeproj file from the unzipped Sample App directory

  5. Click “Trust and Open” if prompted with a security warning

  6. 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. You can use your Samsung Developer credentials to download the SDK package on this page.

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

  • No labels