apache / apache/cordova-plugin-inappbrowser
window.open crashed mobile app when upgrade targetSdkVersion from 23 to 26
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I hope someone can help me with this problem, which is possibly easy to solve but I do not give with it.
I have a cordova project and I use cordova-plugin-inappbrowser in version 1.5.0. The plugin has always worked well until I modified the androidmanifest.xml targetSdkVersion from
``
to
``
I use Cordova CLI 6.5.0
When I compile the app with this change, the application crashed when I use
`var ref = cordova.InAppBrowser.open (filePath, '_system', 'location = no');
`
for any type of file.
Please help me. Thank you
Contributor guide
Research direction
Start by reproducing the cordova.InAppBrowser.open(filePath, '_system', 'location=no') call with targetSdkVersion 26 and compare it with 23. Inspect the Android side of the plugin and capture the crash output; done means identifying a reproducible cause and confirming that opening files no longer crashes, or documenting the missing compatibility information.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java, javascript
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100