Skip to content

IxorTalk/udini-ios-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Udini SDK

Features

  • BLE Device Scanning, connecting, Action execution
  • Udini api integration: Data fetching, user management, remote actions
  • Secure memory & disk persistence
  • RSA asymmetric security
  • OAuth2 authentication
  • Notification support

Requirements

  • iOS 10.0+
  • Xcode 10.2+

Installation

Manually

You can integrate UdiniSDK into your project manually.

Embedded Framework

Add the UdiniSDK.framework to the embedded binaries section of your app target

Attention: The Debug variant is a fat framework containing device and simulator architectures. For app submission you must make sure to include the Release variant of the UdiniSDK.framework which includes only device architectures since Apple is rejecting apps submitted with simulator slices.

Getting Started

Configure the UdiniOptions, with a callbackScheme, environment, clientId & clientSecret

let options = UdiniOptions(callbackScheme: "udini://")
options.environment = kUdiniProductionEnvironment
options.clientId = "foo"
options.clientSecret = "bar"
UdiniApp.configure(options: options)

Start a user session

UdiniServiceRequests.login(from: viewController,
                           completionHandler: { (user, error) in
                            // handle completionHandler
                            })

Start the udini services

UdiniApp.start()

API Documentation

Browse the API documentation.

Included Samples

Sample apps that explore core Udini features are available for iOS, See Example to get started.