{"id":20829708,"url":"https://github.com/androidovshchik/cordova-detect-vpn","last_synced_at":"2025-06-15T10:06:08.682Z","repository":{"id":163353430,"uuid":"318451821","full_name":"androidovshchik/cordova-detect-vpn","owner":"androidovshchik","description":"Simple plugin that allows to detect VPN connection on device","archived":false,"fork":false,"pushed_at":"2020-12-04T11:18:37.000Z","size":135,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-15T10:06:06.789Z","etag":null,"topics":["android","cordova","detect","vpn"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/androidovshchik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-04T08:28:01.000Z","updated_at":"2025-01-01T06:37:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"15e44ed5-ae55-43f1-9101-d14547f3820c","html_url":"https://github.com/androidovshchik/cordova-detect-vpn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/androidovshchik/cordova-detect-vpn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/androidovshchik%2Fcordova-detect-vpn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/androidovshchik%2Fcordova-detect-vpn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/androidovshchik%2Fcordova-detect-vpn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/androidovshchik%2Fcordova-detect-vpn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/androidovshchik","download_url":"https://codeload.github.com/androidovshchik/cordova-detect-vpn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/androidovshchik%2Fcordova-detect-vpn/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259957155,"owners_count":22937538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","cordova","detect","vpn"],"created_at":"2024-11-17T23:21:43.778Z","updated_at":"2025-06-15T10:06:08.661Z","avatar_url":"https://github.com/androidovshchik.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cordova-detect-vpn plugin\n\nSimple plugin that allows to detect VPN connection on device\n\n## Getting started\n\nCreate a new Cordova Project\n\n    $ cordova create example com.example Example\n    \nInstall the plugin\n\n    $ cd example\n    $ cordova plugin add https://github.com/androidovshchik/cordova-detect-vpn.git\n    \n\nEdit `www/js/index.js` and add the following code inside `onDeviceReady`\n\n```js\nDetectVPN.isEnabled(function(result) {\n    if (result) {\n        // there was found VPN connection\n    }\n});\n```\n\nInstall Android platform\n\n    cordova platform add android\n    \nRun the app\n\n    cordova run android\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroidovshchik%2Fcordova-detect-vpn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandroidovshchik%2Fcordova-detect-vpn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroidovshchik%2Fcordova-detect-vpn/lists"}