From 066821dbecab8704c37ac81db1019fe6417352c1 Mon Sep 17 00:00:00 2001 From: Michael Callaghan Date: Thu, 4 Aug 2016 10:01:34 -0400 Subject: [PATCH] Added comment for iOS. It doesn't matter what you send as the duration to vibrate() under iOS, it's always the same. --- src/plugins/vibration.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/vibration.ts b/src/plugins/vibration.ts index c67843d9..5f2c82a5 100644 --- a/src/plugins/vibration.ts +++ b/src/plugins/vibration.ts @@ -10,6 +10,7 @@ import { Cordova, Plugin } from './plugin'; * * * // Vibrate the device for a second + * // Duration is ignored on iOS. * Vibration.vibrate(1000); * * // Vibrate 2 seconds