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

David Robert Cariello commented on CB-9216:
-------------------------------------------

Ok, but what would be the appropriate way to send the same string and grab it 
out of the plugin result?

PluginResult pr = new PluginResult(PluginResult.Status.NO_RESULT,"Does the JSON 
String go here?");
...sendPluginResult(pr);??

before the code was:
this.webView.sendJavascript();

Would the callback context be the same?

I'm still quite confused, If you cant help me please point me to some 
documentation that would help me understand.

> Cordova 5 Throws Errors When Handling Push Notifications From Bluemix on 
> Android 22
> -----------------------------------------------------------------------------------
>
>                 Key: CB-9216
>                 URL: https://issues.apache.org/jira/browse/CB-9216
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugins
>    Affects Versions: 5.0.1, 5.0.0, 5.2, 5.1.2, 5.1.2, 5.2.0
>         Environment: Android 22 and above using cordova 5.0 and above and 
> Bluemix Push Plugin
>            Reporter: David Robert Cariello
>            Priority: Blocker
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Once I upgraded to Cordova 5 and above I saw issues handling push 
> notifications from Bluemix only on Android. You can find my initial 
> conversation here 
> https://developer.ibm.com/answers/questions/179382/is-ibmpush-plugin-compatible-with-cordova-4.html
>  where I was unable to reproduce the problem (I'm sure I was missing 
> something). However, I later confirmed the issue with 5.0 which you can test 
> using this sample https://hub.jazz.net/project/ldeluca/bluemixpush/overview . 
> The error is always just like this 
> https://gist.github.com/DaniloOliveira28/44a4e6e00825ac7b313e
> NOTE: I did not test on lower versions of Cordova while using Android API 22, 
> couldn't figure it out, but I confirmed the default versions worked fine 
> below Cordova 5.0.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to