Input type file doesn't work with Android 6

Hi

I have the following html code <ion-input type="file" accept=".csv, .txt" (change)="readFile($event)"></ion-input>

When running it on the browser (windows) using vscode/ionic serve, everything is working perfectly. When running on the device (Android 6.01) after installing the apk file, the screen makes a small “jump” of its content and then it goes back but nothing else happens. Clicking again does nothing until I focus another field and then click the button again, then the small jump happens again and so on…

When checking the app permissions, I see storage as disabled so I enabled it but still, nothing happens.

I read about a lot of problems with Android 4.4 and 4.4.2 but I have 6.01. Am I missing something?
Thanks