cordova-plugin-deviceinfo
v1.0.1
Published
BlackBerry 10 Community Contributed API to get hardware and network information from the device
Downloads
5
Readme
community.deviceInfo Native Extension for applications built using BlackBerry 10 WebWorks
This extension provides additional APIs to identify the device.
Version History
1.0.0 Initial Release
1.0.1 Bug fix for getNetwork() on 10.3.0+
Author(s)
- Anzor Bashkhaz (http://www.twitter.com/anzor_b)
- Simon Booth (http://github.com/peardox)
- Alexandre Huot
How To Install The Plugin
This API can be installed from source or from NPM. Installation from NPM is done through the following:
cordova plugin add cordova-plugin-deviceinfo
Installation from source is the same but instead of the id ("cordova-plugin-deviceinfo"), use the file system path to the source plugin folder.
Use
The following APIs require the following permission: read_cellular_data
The following API returns detailed network information for the default interface (ideally WIFI or Cellular)
Disclaimer
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.