Upload file from local device to server in iOS and Android

In the past we had a fileopener plugin which would allow our users to open a file browser and select files, which would then be uploaded to our servers. Unfortunately since the latest version of Android this isn’t allowed anymore, it now has a similar structure as iOS where you first have to select which files your app is allowed to see and then you can select which of these files you actually want. To my knowledge it isn’t possible in iOS at all, does anyone know if it is still possible to implement?

Would this be something switching to Capacitor would solve?