You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Miquel (JIRA)" <ji...@apache.org> on 2014/09/08 19:10:29 UTC

[jira] [Commented] (CB-7498) No method for vibrateWithPattern

    [ https://issues.apache.org/jira/browse/CB-7498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14125764#comment-14125764 ] 

Miquel commented on CB-7498:
----------------------------

CDVVibration.m
add:

- (void)vibrateWithPattern:(CDVInvokedUrlCommand*)command
{
    AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
}

CDVVibration.h
add:
- (void)vibrateWithPattern:(CDVInvokedUrlCommand*)command;

> No method for vibrateWithPattern
> --------------------------------
>
>                 Key: CB-7498
>                 URL: https://issues.apache.org/jira/browse/CB-7498
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Vibration
>         Environment: ios7 iphone 4s
>            Reporter: Miquel
>   Original Estimate: 2m
>  Remaining Estimate: 2m
>
> The method is not present: vibrateWithPattern.
> It should just vibrate as in ios7 it is not possible to vibrateWithPattern. vibrateWithPattern exists in Android and moreover, vibrate it is marked as deprecated in the plugin.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)