Skip to content

pryv/example-app-ios

Repository files navigation

Pryv iOS example app

Pryv iOS Swift app example codecov

Minimalistic app to discover Pryv lib-swift and bridge-ios-healthkit usage

You will get:

  • MainViewController a simple view to sign in using a customizable service info
  • AuthViewController a web view to sign in and give permissions to the app from a Pryv account
  • ConnectionListTableViewController a table view to show the last 20 events and to create new ones for a single connection
  • ConnectionMapViewController a map view to show the position events for a single connection

If authorized, the application will get the updates from HealthKit for date of birth, wheelchair use, body mass, height, body mass index, active energy burned and workout. These updates will trigger the creation of a new event in Pryv.io backend with the content of the sample received from HealthKit.

The application will also create a HealthKit sample for body mass upon the creation of a simple event with stream id bodyMass in the application.

These app views correspond to each of the view controllers described above: MainViewController, AuthViewController, ConnectionListTableViewController and ConnectionMapViewController respectively.

A video tutorial explains you how to get started with the app and navigates through its basic features (create a simple event, track your position). You can also connect your Pryv.io account to HealthKit using our Apple HealthKit Bridge following the step-by-step video tutorial here.

Service info Authentication and authorization Connection list Connection map

Install

  • install cocoa pods cocoapods.org From Project folder
  • run pod install
  • if needed run pod update
  • open Example.xcworkspace (not Example.xcodeproj)

Support and warranty

Pryv provides this software for educational and demonstration purposes with no support or warranty.

License

Revised BSD license

About

Pryv example iOS app based on lib-swift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •