Skip to content

A sample application for interacting with the IBM IoT for Insurance solution

License

Notifications You must be signed in to change notification settings

deanhaber/ioti-mobile

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IoT for Insurance Mobile Application

IoT for Insurance Starter Application is a Sample App written in Swift

Overview

IoT for Insurance Starter Application establishes a link between internet-of-things devices, insurance companies and insurance holders. The IBM IoT for Insurance Mobile application is a reference implementation for a mobile client of the IoT4I Solution. The application allows registering new devices in the system and receiving alerts for these devices

This IoT for Insurance Starter Application is intended solely for use with an Apple iOS product and intended to be used in conjunction with officially licensed Apple development tools and further customized and distributed under the terms and conditions of your licensed Apple developer program.

Requirements

  • An IBM® Bluemix® account. A 30-day trial account is free.
  • The IoT for Insurance service deployed in Bluemix.
  • An iOS 9.0 or higher iPhone mobile device.
  • Apple Xcode 7.3 or higher integrated development environment.
  • CocoaPods installed on your computer. See the CocoaPods website.
  • The parameters that are required to connect the mobile starter app to your instance of the service.

## Install CocoaPods

You need CocoaPods to install IoT4I. To install CocoaPods, run the following command:

sudo gem install cocoapods 

Running the sample

The repository comes with a sample, the IoT4I project. To run this sample, you need:

  • clone the repository:
git clone https://github.com/ibm-watson-iot/ioti-mobile.git
  • Install the pods
pod install

Parameters required - Locating the parameters for your mobile starter app

To locate the correct values for the parameters that are required in your constants.swift file, as follows:

  1. In your Bluemix dashboard, select your IoT for Insurance service to display the console.
  2. Click Service Credentials. applicationRoute/applicationId
  3. Specify the bluemix service - applicationRoute/applicationId in Constants.swift (app will not compile without this parameters):
let applicationRoute = //PUT APPLICATION ROUTE HERE
let applicationId = //PUT APPLICATION CLIENTID HERE

CocoaPods frameworks used

Documentation references

Useful links

About

A sample application for interacting with the IBM IoT for Insurance solution

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 99.0%
  • Other 1.0%