- 17 Apr 2025
- 1 Minute to read
- Print
- DarkLight
- PDF
Integrate the Network Security SDK
- Updated on 17 Apr 2025
- 1 Minute to read
- Print
- DarkLight
- PDF
Android
To use the Network Security SDK in your Android project
Link NetworkSecuritySDK.aar from the OneSpan Mobile Security Suite package to your project.
Add the following permissions to your application:
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
(Optional) Add the following permissions to get even more granular data, like WIFI SSID, BSSID etc.
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
iOS
To use the Network Security SDK in your iOS project
Link NetworkSecuritySDK.xcframework from the OneSpan Mobile Security Suite package to your Xcode project (linked framework and libraries).
Add the location permission for the key: Privacy - Location When In Use Usage Description
Add the Access Wi-Fi Information capability.
You are now ready to use the Network Security SDK.