License required: Engage
SecurePass SDK
The SecurePass SDK lets you embed WiFi profile enrolment directly into your own branded iOS or Android app. Visitors authenticate once in your app and auto-connect at every venue in your estate - silently, in the background.
How the SDK works
The SDK handles two things: fetching the WiFi profile from Purple's Access API, and installing it on the visitor's device. Once installed, the OS handles all future connections automatically.
Integration
Your development team manages the build. Current authentication methods can remain in place alongside the SDK.
Minimum requirements: Xcode 15.3 · iOS deployment target 15.0+ · Swift Package Manager
In Xcode, add the following repository via Swift Package Manager:
- Hotspot
-
Keychain Sharing - with Keychain Group
com.apple.networkextensionsharing
Use PlistConfigurationFetcher to read your API key
and hostname from a properties list file at runtime - do not
hardcode them in client-side code. API credentials are provided
by Purple.
Minimum requirements: Android 11+ (API level 30) · Android Studio · Kotlin · Gradle
Android 12+: If a user rejects the install prompt, they must manually grant permission via Settings - Wi-Fi Control - [your app] before the prompt reappears. Include a button in your app that opens Settings to help users complete this step.
Full API references, changelogs, and advanced configuration are available in the developer docs: iOS Android
Common questions
- No. Once the profile is installed, the device connects automatically regardless of whether the user is logged into your app.
- The profile does not transfer between devices. When the user logs into your app on a new device, call the install method again to install a fresh profile.
- Yes. The SDK is additive - it does not replace your existing authentication flows. Visitors who enrol via the SDK auto-connect; all others continue through the portal as normal.
- No. The SDK runs a one-time profile installation and then becomes dormant. All subsequent connections are handled by the OS - the SDK has no ongoing background activity.
- Yes. An active internet connection is required at the time of profile installation to fetch the profile from Purple's Access API. Once installed, no internet is needed to auto-connect.