cordova-plugin-inappbrowser
cordova-plugin-inappbrowser copied to clipboard
Upload multiple - Android
Bug Report
Problem
Using inappbrowser in a ionic project (but I thinks it's the same with standard cordova project) if a form as a multiple upload option, opening the inappbrowser with option '_blank' (nedded for using with injectJavascript) the filechooser permit 1 file at time.
What is expected to happen?
I'm expecting same beahvoiur using with '_self' or '_system' option.
What does actually happen?
Actually does't allow multi upload.
Information
you can test using this pgae: https://ilfotoalbum.maxict.it/browser.php
Command or Code
open the prevoius link with inappbrowser and _blank' option.
example project: https://github.com/xam8re/testIab.git
Environment, Platform, Device
bug is only in android device from 8.0 to 10.0
Version information
Ionic:
Ionic CLI : 5.4.4 (C:\Users\xam85\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.11.3
@angular-devkit/build-angular : 0.801.3
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.1.3
@ionic/angular-toolkit : 2.0.0
Cordova:
Cordova CLI : 9.0.0 ([email protected])
Cordova Platforms : android 8.1.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 5 other plugins)
Utility:
cordova-res : 0.6.0
native-run : 0.2.9
System:
Android SDK Tools : 26.1.1 (c:\Users\xam85\AppData\Local\Android\Sdk)
NodeJS : v10.16.0 (C:\Program Files\nodejs\node.exe)
npm : 6.12.0
OS : Windows 10
Checklist
- [ 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
Hi. I've the same problem. My solution was use an iframe and discard cordova-plugin-inappbrowser and finally it works.
Not a solution. I've solved on my fork. Too many document to sign to submit my fix