cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sungyun (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-5372) Notification.beep blocks app execution - doesn't use CordovaInterface.getThreadPool
Date Mon, 30 Dec 2013 08:23:50 GMT

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

Sungyun commented on CB-5372:
-----------------------------

I met same issue with Cordova 3.3.0 on Android 4.3.
I think this issue is blocker because PhoneGap official sample show same problem. 

http://docs.phonegap.com/en/3.3.0/cordova_notification_notification.md.html#notification.beep



> Notification.beep blocks app execution - doesn't use CordovaInterface.getThreadPool
> -----------------------------------------------------------------------------------
>
>                 Key: CB-5372
>                 URL: https://issues.apache.org/jira/browse/CB-5372
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 3.1.0
>            Reporter: Michael Schmidt
>            Priority: Minor
>
> Calling a simple beep notification for 5 seconds blocks the whole app for this time
> {quote}
> 	navigator.notification.beep(5);
> {quote}
> Debug console output is as follows:
> {quote}
>  11-13 12:07:09.845: W/PluginManager(14561): THREAD WARNING: exec() call to Notification.beep
blocked the main thread for 10507ms. Plugin should use CordovaInterface.getThreadPool().
> {quote}
> App runs on Android 4.1



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message