You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/03/22 17:32:07 UTC

[GitHub] [cordova-plugin-inappbrowser] githubowl opened a new issue #453: _system loadstart does not fire on android

githubowl opened a new issue #453: _system loadstart does not fire on android
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/453
 
 
   # Bug Report
   
   ## Problem
   
   I am using inAppBrowser for the oAuth flow of Google on Android and have to use _system because the _blank browser is rejected by Google on Android.
   
   ### What is expected to happen?
   
   The loadstart event should fire when the page changes as it does for _blank
   
   ### What does actually happen?
   
   Nothing. I have seen a work around of opening with _blank and switching to _system in the event listener but this also doesn't work.
   
   The pages are presented and the flow works, but the event doesn't fire. I have version 3.0.0 of the plugin.
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
         $scope.ref = cordova.InAppBrowser.open(url, '_system', 'location=no');
         $scope.ref.addEventListener('loadstart', loadstart);
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   Android
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   Ionic 1.3.1
   cordova-android 6.0.0
   Microsoft Visual Studio 2017 Community Edition
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [ ] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

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