GitHub user Balaji-Gopal opened a pull request: https://github.com/apache/cordova-plugin-vibration/pull/42
Vibrate is not working in IOS I am getting an error saying that navigator is undefined for ios, but it works fine in Android. Is there any workaround to be be done for ios platform to get it done. You can merge this pull request into a Git repository by running: $ git pull https://github.com/apache/cordova-plugin-vibration master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-vibration/pull/42.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #42 ---- commit 42b12e4f6bbd525b3a7166ad7ecc936dca072333 Author: ldeluca <ldel...@us.ibm.com> Date: 2014-05-27T21:50:05Z Lisa testing pulling in plugins for plugin: cordova-plugin-vibration commit 02aa38df049c105cf58b9e3ae9ea59674b21e253 Author: ldeluca <ldel...@us.ibm.com> Date: 2014-05-28T01:22:42Z Lisa testing pulling in plugins for plugin: cordova-plugin-vibration commit 7850d8b4147961abd4536563c09d7098b5339ba2 Author: ldeluca <ldel...@us.ibm.com> Date: 2014-05-28T01:37:07Z documentation translation: cordova-plugin-vibration commit 41ca0aae7908f8e09386998cb276463a15dcb0f3 Author: ldeluca <ldel...@us.ibm.com> Date: 2014-06-11T14:00:40Z Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration commit 58ae40ff7db34313fbecaafc562986060d704629 Author: ldeluca <ldel...@us.ibm.com> Date: 2014-05-28T17:15:51Z CB-6773cordova-plugin-vibration documentation translation: cordova-plugin-vibration commit 74bc4572943378e7e17deff8f09889de0c8fea85 Author: ldeluca <ldel...@us.ibm.com> Date: 2014-06-23T17:53:45Z CB-6773cordova-plugin-vibration documentation translation: cordova-plugin-vibration commit 9da96fc0332841bd5e417357395bb1b7c1fb8044 Author: Lisa Seacat DeLuca <ldeluca@lisas-macbook-pro.local> Date: 2014-07-07T17:14:39Z CB-6127cordova-plugin-vibration documentation translation: cordova-plugin-vibration commit 112254e6ae57383b46966d39b2e2e3185483d8d8 Author: Lisa Seacat DeLuca <ldel...@us.ibm.com> Date: 2014-07-07T19:28:37Z CB-6127lisa7cordova-plugin-consolecordova-plugin-vibration documentation translation: cordova-plugin-vibration commit 53760ccbf19964d20e9a6693cb1f52050f2c5391 Author: Martin Gonzalez <martin.c.glez.g...@gmail.com> Date: 2014-07-15T20:33:20Z CB-6963, ported vibration automated & manual tests Ported tests from mobilespec. Jasmine version: ported from v1.3 to v2.0 commit d677a1e7e72c284e3a07dbe90370cc20213b0f61 Author: Edna Morales <ednamora...@ednas-mbp-2.raleigh.ibm.com> Date: 2014-07-15T20:54:51Z Merged current tests to add new tests commit c1a88b20c06ffbde802b488609412da366d4fe2a Author: Edna Morales <ednamora...@ednas-mbp-2.raleigh.ibm.com> Date: 2014-07-16T20:12:29Z added tests to ensure compliance with w3c spec commit c226b6df96ee44770586de5922ec72ae434c6ba5 Author: Edna Morales <ednamora...@ednas-mbp-2.raleigh.ibm.com> Date: 2014-07-16T20:34:28Z added 'Android only' to buttons for specific tests, changed where console.log is executed for user to see earlier commit 6c21d194f7caff17d8043065d685bc12577e4654 Author: Martin Gonzalez <martin.c.glez.g...@gmail.com> Date: 2014-07-17T21:47:01Z CB-6966 Ported Vibration automated & manual tests Ported tests from Mobilespec. Jasmine version: ported from v1.3 to v2.0 commit bf582d3ea959d23cab84d273d35d9b7b9cbe3f62 Author: Edna Morales <ednamora...@ednas-mbp-2.raleigh.ibm.com> Date: 2014-07-18T13:19:53Z changes made to align with w3c spec commit e0723e2973866289357ec75f473ca4f0c467bb6d Author: Edna Morales <ednamora...@ednas-mbp-2.raleigh.ibm.com> Date: 2014-07-18T13:46:24Z added tests for old vibrateWithPattern and cancelVibration calls commit 90c6335c59775fb5ee94ccf8aa027e5bfc98e9fd Author: Edna Morales <ednamora...@ednas-mbp-2.raleigh.ibm.com> Date: 2014-07-18T19:02:34Z on/off button for cancel tests, add results box and msgs commit 5ce57fc08d513e798052f4aeb992e2752980ba03 Author: Edna Morales <ednamora...@ednas-mbp-2.raleigh.ibm.com> Date: 2014-07-21T12:57:14Z add setTimeout function to update vibrateOn var if user doesn't cancel vibrate, add note about iOS commit 4b01432cf26ffbce13feba58bf5b10d16d45ffaf Author: Edna Morales <ednamora...@ednas-mbp-2.raleigh.ibm.com> Date: 2014-07-21T13:42:51Z clear settimeout when user cancels vibration commit d93aafc7708822345ab469fc87b5c0b247074189 Author: Edna Morales <ednamora...@ednas-mbp-2.raleigh.ibm.com> Date: 2014-07-21T16:28:46Z added more test cases, changed vibrate with pattern durations, changed where vibrateOn is set to true commit ab0c239e9c34f19e2c1e2f7d6fdc2df0679490d9 Author: Edna Morales <ednamora...@ednas-mbp-2.raleigh.ibm.com> Date: 2014-07-21T19:41:51Z add longer pattern sequence for testing, change expected result for old vibrate with pattern test commit 1d0afd7d0f5a5e0f3238117093d618bacbe5bb04 Author: Edna Morales <ednamora...@ednas-mbp-2.raleigh.ibm.com> Date: 2014-07-21T20:24:40Z changes to vibration.java to align with w3c, changes to vibration.js for backwards compatibility commit 07f5c9037104b13a4f2aab14588fb123e27f9e9a Author: Edna Morales <ednamorales@ednas-macbook-pro-2.local> Date: 2014-07-22T16:37:34Z changes to how 0 is getting added to array in order to align with w3c spec commit 2098047fb4a7cf5b1b30fdd6b267850e20692d71 Author: Edna Morales <ednamora...@ednas-mbp-2.raleigh.ibm.com> Date: 2014-07-22T18:03:23Z updated doc for w3c alignment commit f46e00a729aecd89902078994f5ba0e01bd1e352 Author: Edna Morales <ednamora...@ednas-mbp-2.raleigh.ibm.com> Date: 2014-07-23T15:33:07Z added new example to documentation commit 7eedea3a9be0584f5020134870bfefcaa439214f Author: Edna Morales <ednamora...@ednas-mbp-2.raleigh.ibm.com> Date: 2014-07-23T15:43:29Z added new example to documentation commit 17441b748194efccec9227d21af2de763d5d362b Author: Edna Morales <ednamora...@ednas-mbp-2.raleigh.ibm.com> Date: 2014-07-23T18:32:46Z vibrate([num]) is treated as a vibrate not vibrate with pattern commit 47cfb7260505ee43243c81e8543d585eb04704db Author: Edna Morales <ednamora...@ednas-mbp-2.raleigh.ibm.com> Date: 2014-07-23T18:45:09Z update doc to show vibrate([num]) is a standard vibrate commit 99b68b9a0734a192838c34dbb6e3e174c0db34d2 Author: Willy Aguirre <marti1...@gmail.com> Date: 2014-07-29T11:43:46Z update VibrationProxy.js commit faa3d626d8f941273b8edadeb48f7f30af198a53 Author: Staci Cooper <smcoo...@us.ibm.com> Date: 2014-07-29T15:08:33Z CB-6914 added cancelVibration for wp8 commit 7dd0e6610be372b076daf6f6c80f4ec3aa5e0df4 Author: Staci Cooper <smcoo...@us.ibm.com> Date: 2014-07-29T15:24:43Z CB-6916 added vibrateWithPattern for wp8 Also change to cancelVibration to allow for canceling a pattern ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org