{"id":21044651,"url":"https://github.com/tripflex/cordova-plugin-httpoverwifi","last_synced_at":"2025-08-13T23:04:58.982Z","repository":{"id":147531763,"uuid":"117855182","full_name":"tripflex/cordova-plugin-httpOverWifi","owner":"tripflex","description":"A Cordova plugin for forcing Angular-like HTTP requests over WiFi","archived":false,"fork":false,"pushed_at":"2015-10-30T14:37:53.000Z","size":200,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T17:33:08.915Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tripflex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-17T15:31:23.000Z","updated_at":"2019-06-12T20:30:48.000Z","dependencies_parsed_at":"2023-04-11T11:41:24.200Z","dependency_job_id":null,"html_url":"https://github.com/tripflex/cordova-plugin-httpOverWifi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripflex%2Fcordova-plugin-httpOverWifi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripflex%2Fcordova-plugin-httpOverWifi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripflex%2Fcordova-plugin-httpOverWifi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripflex%2Fcordova-plugin-httpOverWifi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tripflex","download_url":"https://codeload.github.com/tripflex/cordova-plugin-httpOverWifi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243489898,"owners_count":20299001,"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":[],"created_at":"2024-11-19T14:18:02.312Z","updated_at":"2025-03-13T22:10:34.138Z","avatar_url":"https://github.com/tripflex.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cordova-plugin-httpOverWifi\n\n[![Circle CI](https://circleci.com/gh/CanTireInnovations/cordova-plugin-httpOverWifi.svg?style=svg)](https://circleci.com/gh/CanTireInnovations/cordova-plugin-httpOverWifi)\n\nThis is a Cordova plugin for making Angular-like HTTP requests over WiFi.\n\n## Why is this a thing?\n\nAndroid's Marshmallow operating system introduced a non-forward compatible\nchange that causes network traffic to sometimes use cellular data instead of\nWiFi when connected to a WiFi access point that cannot reach Google's servers.\nThis is problematic for applications that need to talk to local devices on\nthat access point (i.e., anything in the 10.0.0.0/8 or 192.168.0.0/16 ranges).\nThis plugin makes HTTP requests that are guaranteed to use WiFi.\n\n## Why not use `bindProcessToNetwork`?\n\nAs of Cordova 5.3.3, Cordova plugins do not support the runtime permission\nmodel required when targeting API level 23 which introduced\n`bindProcessToNetwork`.\n\n## API\n\n```JavaScript\nhttpOverWifi.request({\n    method: 'GET', // or POST, PUT, DELETE, PATCH, OPTIONS\n    url: 'http://someurl.com/',\n    headers: { // optional property\n        'X-Foo': 'bar'\n    },\n    data: { // optional, can also be a string, objects are serialized to JSON\n        foo: 'bar'\n    }\n}, function callback(err, response) {\n    // err is null if no error occurred\n    // response has status, data, and headers\n});\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftripflex%2Fcordova-plugin-httpoverwifi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftripflex%2Fcordova-plugin-httpoverwifi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftripflex%2Fcordova-plugin-httpoverwifi/lists"}