nabto / nabto-ios-helloworld

Simple Nabto iOS app demonstrating RPC and tunnel usage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nabto iOS Hello World App

Swift based app that demonstrates how to use the Nabto Client SDK to do P2P RPC invocations and establish tunnels.

First, if you have not installed Cocoapods, do so: sudo gem install cocoapods

Next, run pod install.

Open NabtoHelloWorld.xcworkspace and run the app.

Notes

To keep the app simple, device ids are hard coded in the source code to public Nabto demos. Also, there is no device pairing - meaning that the target device must have access control disabled.

You can replace the hard coded device ids with ids of your own devices, obtained through the Nabto Cloud Console. As device applications to run on your own, use the Nabto weather station demo and the device tunnel application. They both support disabled access control and can be used as-is with this demo.

For production, of course access control must be enabled - read more about access control in this article. For a more advanced demo that includes full access control, see the Nabto Heat Control demo.

About

Simple Nabto iOS app demonstrating RPC and tunnel usage


Languages

Language:Swift 98.2%Language:Ruby 1.8%