Skip to content

Simple Nabto iOS app demonstrating RPC and tunnel usage

Notifications You must be signed in to change notification settings

nabto/nabto-ios-helloworld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published