A computer vision enterprise platform that transforms buildings into intelligent environments.
To integrate VeraSDK into your Xcode project using CocoaPods, add it to your Podfile
:
pod 'VeraSDK', :git => 'https://github.com/resonai/vera-ios-sdk'
Then, run the following command:
$ pod install
To integrate VeraSDK using Swift Package Manager, add the package dependency to your Package.swift
:
dependencies: [
.package(url: "https://github.com/resonai/vera-ios-sdk", branch: "main")
]
From Xcode 11 it is possible to add Swift Package dependencies to Xcode
projects and link targets to products of those packages; this is the
easiest way to integrate VeraSDK with an existing xcodeproj
.
VeraSDK provides access to the Vera platform to any Native application. When the user finds themselves in any of the Vera supported sites (buildings), they can open Vera and it will localize them inside the building with a very accurate precision. Once localized, the user can access any AR Experiences (ARXs) set up for that specific site.
Some examples of ARXs include Navigation, 3D objects & animations, Interactions with the environment, etc.
// Swift
import VeraSDK
Add the required Info.plist keys if your app doesn't already.
Create a configuration object. Most fields are optional, check the example integration for more parameters.
Vera.useConfig(
Vera.Configuration(
app: .init(
clientID: "<app_client_id>"
)
)
)
VeraViewController
and present it.let vera = Vera.getController()
present(vera, animated: true)
Check the bi-directional communication docs to learn how to send and receive events from the SDK.
NSCameraUsageDescription
- VeraSDK needs access to the camera in order to support AR.NSLocationWhenInUseUsageDescription
- VeraSDK needs access to location to provide accurate AR experiences.[!NOTE]
Vera doesn't need location permission if you configure it with a single site ID.
If your app doesn't already access the camera, we recommend using something like:
<your app>
needs access to the camera in order to render AR."<your app>
needs location access to provide accurate AR experiences."link |
Stars: 0 |
Last commit: 1 week ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics