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

ASF subversion and git services commented on CB-6628:
-----------------------------------------------------

Commit a8f5e5ff524a4e23fcc8dcfcd5af86c0daec83fd in cordova-plugin-dialogs's 
branch refs/heads/master from [~naika]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-dialogs.git;h=a8f5e5f ]

[CB-6628][amazon-fireos]dialogs plugin's confirm and prompt methods dont work
confirm() method was missing amazon-fireos platform check. added that.
prompt() method had bug. It is executed in a worker thread that does not have a 
message queue(or Looper object) associated with it and hence "can't create a 
handler" exception is thrown. To fix this issue, we need to create the EditText 
widget from within the UI thread. This was fixed sometime ago when we added 
fireos platform but commit got lost somewhere. So fixing it again now.


> [amazon-fireos]dialogs plugin's confirm and prompt methods dont work
> --------------------------------------------------------------------
>
>                 Key: CB-6628
>                 URL: https://issues.apache.org/jira/browse/CB-6628
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Amazon FireOS
>    Affects Versions: 3.4.0
>            Reporter: Archana Naik
>            Assignee: Archana Naik
>             Fix For: 3.5.0
>
>
> confirm method has platform check and amazon-fireos is missing. Need to add 
> it.
> prompt method throws runtime exception. Here is why:
> prompt() method is executed in a worker thread that does not have a message 
> queue(or Looper object) associated with it and hence "can't create a handler" 
> exception is thrown. To fix this issue, we need to create the EditText widget 
> from within the UI thread. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to