Fix Beep exception on Android when no argument passed

In iOS, if you call the beep function and don't provide a count, it
plays a single beep. On Android, however, it always attempts to load the
fix object in the array, which is null if no count is provided, causes
an exception to be thrown, and no beep to occur. The simplest fix for
this is to simply pass `1` if no count is provide from the web.

close #20
1 file changed
tree: c3bc72eed33c4359b7dc3844049550aad7958f44
  1. doc/
  2. src/
  3. www/
  4. .gitignore
  5. CONTRIBUTING.md
  6. LICENSE
  7. NOTICE
  8. plugin.xml
  9. README.md
  10. RELEASENOTES.md
README.md

org.apache.cordova.dialogs

Plugin documentation: doc/index.md