mosabab opened a new issue #884:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/884


   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   The inappbrowser plugin should handle intent:// properly on webview URL.
   So if the user try to open intent:// link to force open third party app, it 
should open that app, but current code for inappbrowser prevent third party 
apps to opening.
   intent example:
   
intent://scan/#Intent;scheme=zxing;package=com.google.zxing.client.android;end
   
   
   ### What does actually happen?
   If you try to open external intent:// link from third parties (which you 
have no any control for it) that have custom name, then the inappbrowser plugin 
generate an error message from cordova webview:
   net::ERR_UNKNOWN_URL_SCHEME
   
   
   ## 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? -->
   Try to open the following link using target: _blank :
   
intent://scan/#Intent;scheme=zxing;package=com.google.zxing.client.android;end
   
   
   ### 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.
   -->
   cordova-plugin-inappbrowser 5.0.0
   cordova-android 9.1.0
   cordova-cli 10.0.0
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ ] I searched for existing GitHub issues
   - [x] 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:
[email protected]



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

Reply via email to