cordova-plugin-hotspot
Advanced tools
Comparing version 1.2.7 to 1.2.8
{ | ||
"name": "cordova-plugin-hotspot", | ||
"version": "1.2.7", | ||
"version": "1.2.8", | ||
"description": "Cordova WiFi Hotspot Plugin", | ||
@@ -22,5 +22,14 @@ "cordova": { | ||
"scripts": { | ||
"build": "echo ''", | ||
"pretest": "rm -rf tmp && mkdir -p tmp && cd tmp && git clone https://github.com/simpligility/maven-android-sdk-deployer.git && cd maven-android-sdk-deployer/ && mvn install -P 6.0 && ls ~/.m2/repository/android/android/", | ||
"test": "cd tmp && git clone https://github.com/apache/cordova-app-hello-world.git && cd cordova-app-hello-world && cp -rp template_src/ . && cordova platform add android && cordova plugin add cordova-plugin-compat && cordova build && cd ../../test/android && ./gradlew build && cd ../../tmp/cordova-app-hello-world && cordova plugin add ../.. && cordova plugin add http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework.git", | ||
"posttest": "jsdoc -c jsdoc.json && jsdoc2md www/HotSpotPlugin.js | sed s/hotSpotPlugin/cordova.plugins.hotspot/g | sed s/HotSpotPlugin/cordova.plugins.hotspot/g > PLUGIN_USAGE.MD" | ||
"posttest": "jsdoc -c jsdoc.json && jsdoc2md www/HotSpotPlugin.js | sed s/hotSpotPlugin/cordova.plugins.hotspot/g | sed s/HotSpotPlugin/cordova.plugins.hotspot/g > PLUGIN_USAGE.MD", | ||
"jsdoc": "jsdoc -c ./jsdoc.json -t ./node_modules/ink-docstrap/template -R README.md ./src && jsdoc2md www/HotSpotPlugin.js > ./dist/PLUGIN_USAGE.MD && cat ./dist/PLUGIN_USAGE.MD | sed s/hotSpotPlugin/cordova.plugins.hotspot/g | sed s/HotSpotPlugin/cordova.plugins.hotspot/g > PLUGIN_USAGE.MD", | ||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", | ||
"changelog:add": "git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md'", | ||
"release:pre": "npm run build && npm run test", | ||
"release:post": "npm run changelog && npm run changelog:add", | ||
"release:major": "npm version major && npm run release:pre && git push origin && git push origin --tags && npm run release:post && npm publish", | ||
"release:minor": "npm version minor && npm run release:pre && git push origin && git push origin --tags && npm run release:post && npm publish", | ||
"release:patch": "npm version patch && npm run release:pre && git push origin && git push origin --tags && npm run release:post && npm publish" | ||
}, | ||
@@ -30,5 +39,7 @@ "author": "Martin Reinhardt", | ||
"devDependencies": { | ||
"jsdoc": "3.4.0", | ||
"jsdoc-to-markdown": "1.3.3" | ||
"conventional-changelog-cli": "1.2.0", | ||
"ink-docstrap": "1.3.0", | ||
"jsdoc": "3.4.3", | ||
"jsdoc-to-markdown": "2.0.1" | ||
} | ||
} |
@@ -104,2 +104,3 @@ ## Objects | ||
<a name="cordova.plugins.hotspot"></a> | ||
## cordova.plugins.hotspot : <code>object</code> | ||
@@ -141,2 +142,3 @@ **Kind**: global namespace | ||
<a name="cordova.plugins.hotspot+isAvailable"></a> | ||
### cordova.plugins.hotspot.isAvailable(callback) | ||
@@ -152,2 +154,3 @@ Check if plugin is available | ||
<a name="cordova.plugins.hotspot+getWriteSettings"></a> | ||
### cordova.plugins.hotspot.getWriteSettings(successCB, errorCB) | ||
@@ -164,2 +167,3 @@ get the current write settings of the app | ||
<a name="cordova.plugins.hotspot+requestWriteSettings"></a> | ||
### cordova.plugins.hotspot.requestWriteSettings(callback, error) | ||
@@ -176,2 +180,3 @@ get the current write settings of the app | ||
<a name="cordova.plugins.hotspot+toggleWifi"></a> | ||
### cordova.plugins.hotspot.toggleWifi(callback, errorCB) | ||
@@ -188,2 +193,3 @@ Method to Toggle wifi ON/OFF | ||
<a name="cordova.plugins.hotspot+createHotspot"></a> | ||
### cordova.plugins.hotspot.createHotspot(ssid, mode, password, successCB, errorCB) | ||
@@ -203,2 +209,3 @@ Create a WiFi Hotspot | ||
<a name="cordova.plugins.hotspot+startHotspot"></a> | ||
### cordova.plugins.hotspot.startHotspot(successCB, errorCB) | ||
@@ -215,2 +222,3 @@ Start a default WiFi Hotspot | ||
<a name="cordova.plugins.hotspot+stopHotspot"></a> | ||
### cordova.plugins.hotspot.stopHotspot(successCB, errorCB) | ||
@@ -227,2 +235,3 @@ Stop a running default WiFi Hotspot | ||
<a name="cordova.plugins.hotspot+isHotspotEnabled"></a> | ||
### cordova.plugins.hotspot.isHotspotEnabled(successCB, errorCB) | ||
@@ -239,2 +248,3 @@ Checks if hot spot is enabled | ||
<a name="cordova.plugins.hotspot+getAllHotspotDevices"></a> | ||
### cordova.plugins.hotspot.getAllHotspotDevices(A, errorCB) | ||
@@ -251,2 +261,3 @@ Get all connected devices | ||
<a name="cordova.plugins.hotspot+connectToWifi"></a> | ||
### cordova.plugins.hotspot.connectToWifi(ssid, password, successCB, errorCB) | ||
@@ -265,2 +276,3 @@ Connect to a WiFi network | ||
<a name="cordova.plugins.hotspot+connectToWifiAuthEncrypt"></a> | ||
### cordova.plugins.hotspot.connectToWifiAuthEncrypt(ssid, password, authentication, encryption, successCB, errorCB) | ||
@@ -281,2 +293,3 @@ configure current WiFi Hotspot | ||
<a name="cordova.plugins.hotspot+configureHotspot"></a> | ||
### cordova.plugins.hotspot.configureHotspot(ssid, mode, password, successCB, errorCB) | ||
@@ -296,2 +309,3 @@ configure current WiFi Hotspot | ||
<a name="cordova.plugins.hotspot+addWifiNetwork"></a> | ||
### cordova.plugins.hotspot.addWifiNetwork(ssid, mode, password, successCB, errorCB) | ||
@@ -311,2 +325,3 @@ add a WiFi network | ||
<a name="cordova.plugins.hotspot+removeWifiNetwork"></a> | ||
### cordova.plugins.hotspot.removeWifiNetwork(ssid, successCB, errorCB) | ||
@@ -324,2 +339,3 @@ Delete a WiFi network | ||
<a name="cordova.plugins.hotspot+isConnectedToInternet"></a> | ||
### cordova.plugins.hotspot.isConnectedToInternet(successCB, errorCB) | ||
@@ -336,2 +352,3 @@ Check if connection to internet is active | ||
<a name="cordova.plugins.hotspot+isConnectedToInternetViaWifi"></a> | ||
### cordova.plugins.hotspot.isConnectedToInternetViaWifi(successCB, errorCB) | ||
@@ -348,2 +365,3 @@ Check if connection to internet is active via WiFi | ||
<a name="cordova.plugins.hotspot+isWifiOn"></a> | ||
### cordova.plugins.hotspot.isWifiOn(successCB, errorCB) | ||
@@ -360,2 +378,3 @@ Check if WiFi is enabled | ||
<a name="cordova.plugins.hotspot+isWifiSupported"></a> | ||
### cordova.plugins.hotspot.isWifiSupported(successCB, errorCB) | ||
@@ -372,2 +391,3 @@ Check if WiFi is supported | ||
<a name="cordova.plugins.hotspot+isWifiDirectSupported"></a> | ||
### cordova.plugins.hotspot.isWifiDirectSupported(successCB, errorCB) | ||
@@ -384,2 +404,3 @@ Check if WiFi Direct is supported | ||
<a name="cordova.plugins.hotspot+scanWifi"></a> | ||
### cordova.plugins.hotspot.scanWifi(successCB, errorCB) | ||
@@ -396,2 +417,3 @@ Scan wifi | ||
<a name="cordova.plugins.hotspot+scanWifiByLevel"></a> | ||
### cordova.plugins.hotspot.scanWifiByLevel(successCB, errorCB) | ||
@@ -408,2 +430,3 @@ Scan wifi by level | ||
<a name="cordova.plugins.hotspot+startWifiPeriodicallyScan"></a> | ||
### cordova.plugins.hotspot.startWifiPeriodicallyScan(interval, duration, successCB, errorCB) | ||
@@ -422,2 +445,3 @@ Start a periodically scan wifi | ||
<a name="cordova.plugins.hotspot+stopWifiPeriodicallyScan"></a> | ||
### cordova.plugins.hotspot.stopWifiPeriodicallyScan(successCB, errorCB) | ||
@@ -434,2 +458,3 @@ Stop a periodically scan wifi | ||
<a name="cordova.plugins.hotspot+getNetConfig"></a> | ||
### cordova.plugins.hotspot.getNetConfig(successCB, errorCB) | ||
@@ -446,2 +471,3 @@ Get network information, e.g Gateway Ip/Mac Device Mac/Ip etc | ||
<a name="cordova.plugins.hotspot+getConnectionInfo"></a> | ||
### cordova.plugins.hotspot.getConnectionInfo(successCB, errorCB) | ||
@@ -458,2 +484,3 @@ Get current connection information, e.g SSID, linkSpeed,IPAddress etc | ||
<a name="cordova.plugins.hotspot+pingHost"></a> | ||
### cordova.plugins.hotspot.pingHost(ip, successCB, errorCB) | ||
@@ -471,2 +498,3 @@ Ping a host | ||
<a name="cordova.plugins.hotspot+getMacAddressOfHost"></a> | ||
### cordova.plugins.hotspot.getMacAddressOfHost(ip, successCB, errorCB) | ||
@@ -484,2 +512,3 @@ Get MAC address of host | ||
<a name="cordova.plugins.hotspot+isDnsLive"></a> | ||
### cordova.plugins.hotspot.isDnsLive(ip, successCB, errorCB) | ||
@@ -497,2 +526,3 @@ dnsLive | ||
<a name="cordova.plugins.hotspot+isPortLive"></a> | ||
### cordova.plugins.hotspot.isPortLive(ip, successCB, errorCB) | ||
@@ -510,2 +540,3 @@ is port available | ||
<a name="cordova.plugins.hotspot+isRooted"></a> | ||
### cordova.plugins.hotspot.isRooted(successCB, errorCB) | ||
@@ -522,2 +553,3 @@ Check Device is Rooted | ||
<a name="errorCallback"></a> | ||
## errorCallback : <code>function</code> | ||
@@ -533,2 +565,3 @@ Callback which provides the error details. | ||
<a name="isAvailableCallback"></a> | ||
## isAvailableCallback : <code>function</code> | ||
@@ -544,2 +577,3 @@ Callback which provides the toggle Wifi info | ||
<a name="getWriteSettingsCallback"></a> | ||
## getWriteSettingsCallback : <code>function</code> | ||
@@ -553,2 +587,3 @@ **Kind**: global typedef | ||
<a name="toggleWifiCallback"></a> | ||
## toggleWifiCallback : <code>function</code> | ||
@@ -564,2 +599,3 @@ Callback which provides the toggle Wifi info | ||
<a name="createHotspotCallback"></a> | ||
## createHotspotCallback : <code>function</code> | ||
@@ -570,2 +606,3 @@ A callback function to be called when start was successful | ||
<a name="startHotspotCallback"></a> | ||
## startHotspotCallback : <code>function</code> | ||
@@ -576,2 +613,3 @@ A callback function to be called when start was successful | ||
<a name="stopHotspotCallback"></a> | ||
## stopHotspotCallback : <code>function</code> | ||
@@ -582,2 +620,3 @@ A callback function to be called when stop was successful | ||
<a name="isHotspotEnabledCallback"></a> | ||
## isHotspotEnabledCallback : <code>function</code> | ||
@@ -593,2 +632,3 @@ A callback function to be called when stop was successful | ||
<a name="getAllHotspotDevicesCallback"></a> | ||
## getAllHotspotDevicesCallback : <code>function</code> | ||
@@ -605,2 +645,3 @@ A callback function to be called when connected successful and is | ||
<a name="connectToWifiCallback"></a> | ||
## connectToWifiCallback : <code>function</code> | ||
@@ -611,2 +652,3 @@ A callback function to be called when connected successful | ||
<a name="connectToWifiAuthEncryptCallback"></a> | ||
## connectToWifiAuthEncryptCallback : <code>function</code> | ||
@@ -617,2 +659,3 @@ A callback function to be called when connected successful | ||
<a name="configureHotspotCallback"></a> | ||
## configureHotspotCallback : <code>function</code> | ||
@@ -623,2 +666,3 @@ A callback function to be called when connected successful | ||
<a name="addWifiNetworkCallback"></a> | ||
## addWifiNetworkCallback : <code>function</code> | ||
@@ -629,2 +673,3 @@ A callback function to be called when connected successful | ||
<a name="removeWifiNetworkCallback"></a> | ||
## removeWifiNetworkCallback : <code>function</code> | ||
@@ -635,2 +680,3 @@ A callback function function to be called when removal was successful | ||
<a name="isConnectedToInternetCallback"></a> | ||
## isConnectedToInternetCallback : <code>function</code> | ||
@@ -646,2 +692,3 @@ A callback function to be called with the result | ||
<a name="isConnectedToInternetViaWifiCallback"></a> | ||
## isConnectedToInternetViaWifiCallback : <code>function</code> | ||
@@ -657,2 +704,3 @@ A callback function to be called when connection is done via wifi | ||
<a name="isWifiOnCallback"></a> | ||
## isWifiOnCallback : <code>function</code> | ||
@@ -668,2 +716,3 @@ A callback function to be called when WiFi is enabled | ||
<a name="isWifiSupportedCallback"></a> | ||
## isWifiSupportedCallback : <code>function</code> | ||
@@ -679,2 +728,3 @@ A callback function to be called when WiFi is supported | ||
<a name="isWifiDirectSupportedCallback"></a> | ||
## isWifiDirectSupportedCallback : <code>function</code> | ||
@@ -690,2 +740,3 @@ A callback function to be called when WiFi is supported | ||
<a name="scanWifiCallback"></a> | ||
## scanWifiCallback : <code>function</code> | ||
@@ -701,2 +752,3 @@ A callback function to be called when scan is started | ||
<a name="scanWifiCallback"></a> | ||
## scanWifiCallback : <code>function</code> | ||
@@ -712,2 +764,3 @@ A callback function to be called when scan is started | ||
<a name="startWifiPeriodicallyScanCallback"></a> | ||
## startWifiPeriodicallyScanCallback : <code>function</code> | ||
@@ -718,2 +771,3 @@ A callback function to be called when scan is started | ||
<a name="stopWifiPeriodicallyScanCallback"></a> | ||
## stopWifiPeriodicallyScanCallback : <code>function</code> | ||
@@ -724,2 +778,3 @@ A callback function to be called when scan is stopped | ||
<a name="getNetConfigCallback"></a> | ||
## getNetConfigCallback : <code>function</code> | ||
@@ -735,2 +790,3 @@ A callback function to be called when scan is started | ||
<a name="getConnectionInfoCallback"></a> | ||
## getConnectionInfoCallback : <code>function</code> | ||
@@ -746,2 +802,3 @@ Callback which provides the connection information. | ||
<a name="pingHostCallback"></a> | ||
## pingHostCallback : <code>function</code> | ||
@@ -757,2 +814,3 @@ Callback which provides the ping information. | ||
<a name="getMacAddressOfHostCallback"></a> | ||
## getMacAddressOfHostCallback : <code>function</code> | ||
@@ -768,2 +826,3 @@ A callback function to be called with all information | ||
<a name="isDnsLiveCallback"></a> | ||
## isDnsLiveCallback : <code>function</code> | ||
@@ -779,2 +838,3 @@ A callback function to be called with DNS details | ||
<a name="isPortLiveCallback"></a> | ||
## isPortLiveCallback : <code>function</code> | ||
@@ -790,2 +850,3 @@ A callback function to be called with DNS details | ||
<a name="isRootedCallback"></a> | ||
## isRootedCallback : <code>function</code> | ||
@@ -792,0 +853,0 @@ A callback function to be called with Rooted information |
@@ -98,3 +98,3 @@ /* | ||
*/ | ||
requestWriteSettings: function(requestWriteSettingsCallback,errorCB) { | ||
requestWriteSettings: function(successCB,errorCB) { | ||
cordova.exec( | ||
@@ -101,0 +101,0 @@ successCB, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9935332
169
4