It is because Sololearn does not support going through your file directory (maybe because they feel it is an "invasion of privacy"?)
They do this frequently for anything that extracts information from your device that could be sensitive.
I don't have an iPad to test (someone stole mine from me. years ago), but it works for me from the web version (Chrome, KDE Plasma, Ubuntu). As expected, I can confirm that it doesn't work for me on the Android version either.
Definitely provides food for thought.
It appears that <input type="file"> in only disabled when using Sololearn app on an Android device.
<input type="file"> works without any issue when I use Sololearn on my iPad(app), PC(web) and android device(web)
Maybe someone else can test?
Sorry about your iPad, but thank you for taking the time to test your other devices and browsers.
This does make me pause especially since the Web Storage and Geo Location APIs appear to have similar issues.
Food for thought indeed.
Dark Code Cat
Sololearn does not support navigating through your files?
When using my pc and running the code from my previous reply the file explorer window pops up and I'm able to navigate and select any image file or text file.
When using an android phone and run the code within the Sololearn app I get nothing, but if access Sololearn website using my phone I'm able to navigate the files.
Testing the same code on an iPad file access was limited to just images but access nonetheless.
Sololearn does not support going through personal file but there is a way you could upload the file to your clould or drop box account and link it to sololearn as you do with images check here
I understand how this might be a policy against invasion of privacy issue. I am not advocating that the community should be able to overwrite or append each others' files, but some users have reported being able to have file access from the SL webpage, on tablets and other non-Android devices. The addition of limited file access would greatly facilitate the self-taught educational process complimentary to how programming tutorials teach us how to work with files. This could become a driving incentive to sign up and pay for a SL Pro subscription if users with Android devices had access to using our own custom header files and reading writing and appending to our own files, thereby advancing the persuit of knowledge in metaprogramming and artificial intelligence. Please upvote if you are in favor of improved file access to your own local directory or downvote if a change in file access security seems too risky.
I don't have an opinion either way, but I think your suggestion is interesting nonetheless, so I passed it up through our back channels. To corroborate, I think it would be a good idea for you to submit your suggestion directly to SoloLearn as well (feedback feature in-app and/or email@example.com), just to see where this goes. 🤓