LouiMinister commented on issue #646: @3.2.0 can't call 
webkit.messageHandlers.cordova_iab.postMessage
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/646#issuecomment-600424441
 
 
   You have to check below
   
   1. Are you using wkwebview instead of uiwebview
    In my opinion, wkwebview can handle message but uiwebview isn't
   2. At webpage javascript, use this code
   ` window.webkit.messageHandlers.cordova_iab_postMessage("message");`
   
   After I write 'window.webkit' instaed of just 'webkit', my code was worked
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to