33mhz / robin

Android client for Pnut.io
5 stars 1 forks source link

Can't upload PNGs #14

Closed evefavretto closed 7 years ago

evefavretto commented 7 years ago

When trying to upload a screenshot, PNGs are greyed out on the Android picker. Tested on both a Motorola Moto Z Play with Android 7.1.1 and a Samsung Galaxy J1 mini with Android 5.1

33mhz commented 7 years ago

Try again with the latest. Should work.

evefavretto commented 7 years ago

Nope, still doesn't let me pick a PNG. This may be useful: https://developer.android.com/guide/topics/providers/document-provider.html

On both 5.1 and 7.1 when picking files it opens a Android SAF window.

33mhz commented 7 years ago

It was limited to JPEG. Changed to allow any image, then check if it was JPEG, GIF, PNG, and if not, deny.