This is an automated email from the ASF dual-hosted git repository.

steven pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-vibration.git


The following commit(s) were added to refs/heads/master by this push:
     new 930b91d  CB-14022: documented android quirk with vibration
930b91d is described below

commit 930b91d57635fb17d6c7dc38d56b74bd2171aa0c
Author: Steve Gill <stevengil...@gmail.com>
AuthorDate: Thu Apr 12 15:52:38 2018 -0700

    CB-14022: documented android quirk with vibration
---
 README.md | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index e5ae6ee..120dc9e 100644
--- a/README.md
+++ b/README.md
@@ -83,6 +83,11 @@ or
     // Vibrate for 3 seconds
     navigator.vibrate([3000]);
 
+### Android Quirks
+
+Calls to `navigator.vibrate` will immediately return `false` if user hasn't 
tapped on the frame or any embedded frame yet. Please checkout 
https://issues.apache.org/jira/browse/CB-14022 for more information.
+
+
 #### iOS Quirks
 
 - __time__: Ignores the specified time and vibrates for a pre-set amount of 
time.
@@ -127,4 +132,3 @@ or
     navigator.vibrate([0])
 
 Passing in a parameter of 0, an empty array, or an array with one element of 
value 0 will cancel any vibrations.
-

-- 
To stop receiving notification emails like this one, please contact
ste...@apache.org.

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to