Single Protocol SDK
The Single Protocol SDK is the ideal choice when you plan to implement a specific protocol within your application. This SDK is suitable if you intend to utilize a single protocol throughout your app or if you prefer to handle protocol switching manually within your application's codebase.
To include the necessary Pango libraries for your desired VPN protocols, simply add a few lines of configuration to your app's build.gradle
file.
Hydra Protocol Support
To add support for the Hydra VPN protocol only, simply include this single dependency:
Groovy
Kotlin
Replace {VERSION_NAME}
with the version of the SDK you want to use.
OpenVPN Protocol Support
If you want to support only the OpenVPN protocol, include the Pango core SDK and OpenVPN SDK dependencies:
Groovy
Kotlin
The core SDK provides the base functionality, while the sdk-openvpn
library adds the OpenVPN specific capabilities.
WireGuard Protocol Support
Similarly, for WireGuard only support, include the core and WireGuard SDK dependencies:
Groovy
Kotlin
This pulls in the core SDK plus the WireGuard specific sdk-wireguard
library.
Generic SDK
If you just want the base Pango SDK functionality without support for any specific VPN protocols, you can include only the core dependency:
Groovy
Kotlin
The core SDK provides the foundation upon which the protocol-specific libraries are built.
Last updated