You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/06/03 20:37:01 UTC

[GitHub] [cordova-plugin-inappbrowser] arafhossain commented on issue #711: InAppBrowser plugin installation - ERROR ReferenceError: cordova is not defined

arafhossain commented on issue #711:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/711#issuecomment-638447983


   Thanks for mentioning that @breautek, it's certainly something I didn't consider was necessary - but although now I have no errors, simply nothing happens. My updated ineffective code:
   ```
   document.addEventListener("deviceready", onDeviceReady, false);
   function onDeviceReady(){
     console.log('Called on device ready!')
     var ref = cordova.InAppBrowser.open('www.google.com', '_self')
   } 
   ```
   A step forward, not there yet.


----------------------------------------------------------------
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:
users@infra.apache.org



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