Skip to content
Browse files
CB-7977 Mention deviceready in plugin docs
  • Loading branch information
jsoref committed Jan 7, 2015
1 parent 13ee8aa commit ce8c6f5e054748cdb4632f75b4d44c136ef89190
Showing 1 changed file with 9 additions and 0 deletions.
@@ -36,6 +36,15 @@ provide just-in-time notice and obtain permission from the user prior
to accessing the camera or microphone. For more information, please
see the Privacy Guide.

This plugin defines global `navigator.device.capture` object.

Although in the global scope, it is not available until after the `deviceready` event.

document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {

## Installation

cordova plugin add

0 comments on commit ce8c6f5

Please sign in to comment.