- 17 Apr 2025
- 1 Minute à lire
- Impression
- SombreLumière
- PDF
Overview of the SDK
- Mis à jour le 17 Apr 2025
- 1 Minute à lire
- Impression
- SombreLumière
- PDF
Features of the SDK
The Network Security SDK is a client SDK and detects whether the mobile device on which a mobile banking app resides is connected to an insecure network or is actively using a VPN connection.
Network security status
On Android, the SDK exposes getCurrentNetworkInfo()
taking in a callback which gets the NetworkInfoData
object. On iOS, the SDK exposes the asynchronous getCurrentNetworkInfo
method which returns the NetworkInfo
object. These objects expose the various parameters that are important for the network security, like isSecure
, vpnConnectionStatus
etc.
Insecure network detection
An insecure network can be detected by checking the isSecure
parameter of the network information data objects. To retrieve the details about the VPN connection, the vpnConnectionStatus
parameter can be used. This parameter shows if there is an active VPN connection and, if found, provides a list of tunneling protocols used by this VPN connection.
Notification about network changes
On Android, the SDK exposes two methods to register and unregister a callback to get notified about network changes, registerNetworkChangeListener
and unregisterNetworkChangeListener
.
On iOS, the SDK exposes the getNetworkInfoChangesStream
method which returns an AsyncStream of network changes which can be used to watch for updates.
Supported platforms
The Network Security SDK can be used on a variety of devices and supports the following platforms:
Android devices:
Minimum Android 7 (API level 24)
Target Android 15 (API level 35)
iOS devices:
iOS 15 or higher
Swift 5 or higher
Xcode 16 or higher