Integrate oneconnect SDK for Android
OneConnect Android SDK Supported 16KB Page size
Migration Guide From v1.1.0
🛠 Installation
allprojects { repositories { ... maven { url "https://jitpack.io" } } }dependencies { implementation 'com.github.oneconnectapi:OneConnectLib:v1.1.75' //Change to latest version }
📋 Manifest Setup & Permissions
🧩 Component Declarations
🔔 Request Notification Permission (Android 13+)
🚀 SDK Initialization & Server Fetching
Additonally:
Sample JSON response
🔐 VPN Connection Flow
Request VPN permission (Connection request):
Handle result:
Start VPN:
🛑 Stopping the VPN
With confirmation dialog:
Silent disconnect:
📡 VPN Status Monitoring
Register receiver:
Handle stats:
Unregister receiver:
Ready demo project
This Project Content OneConnect Library
For Use, the SDK Required OneConnect API Key,
Once You have the OneConnect API Key, Then You have Put inside SplashScreen.java

You have to Put inside SplashScreen.java Please See Screenshot

And Need to Put Your Google-Services.JSON file inside Project, You will get from Firebase.
Note :- Any Developer, those who want to Use or Sell for end Client
Just Smile after get the Project..... (^_^)
Last updated
