emericg / WatchFlower

A plant monitoring application that reads and plots data from compatible Bluetooth sensors and thermometers like Xiaomi 'Flower Care' or Parrot 'Flower Power'
https://emeric.io/WatchFlower
GNU General Public License v3.0
192 stars 27 forks source link

Support for Android 10 and 11 , scoped storage #36

Closed awesomeerictech closed 3 years ago

awesomeerictech commented 3 years ago

Please add permissions for scoped storage in android 10 and higher

emericg commented 3 years ago

It would be great to have but I have no idea how this works, either on Android side, and even less in Qt side... Because WatchFlower uses storage only to write the data export file, and because this will continue to work on the close future, this will be very low on my todo list.

awesomeerictech commented 3 years ago

This means you might not be able to access storage without scoped storage from android 11 api or rather API LEVEL 30, that is too sad isn't it ?

On Thu, Apr 15, 2021 at 5:07 PM Emeric @.***> wrote:

Closed #36 https://github.com/emericg/WatchFlower/issues/36.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/emericg/WatchFlower/issues/36#event-4599552045, or unsubscribe https://github.com/notifications/unsubscribe-auth/APIS4537LE5OVFIIZ3AQ2S3TI3XKPANCNFSM4ZLKXL6A .

emericg commented 3 years ago

Right now I use API 30 + android:requestLegacyExternalStorage="true", and it works. Even if it doesn't, instead of clicking "save file" you can just click "open file with" so there is no need for filesystem access.

awesomeerictech commented 3 years ago

yeah it works i also use android:requestLegacyExternalStorage="true" in my apps but future apps won't support this in manifest according to google hence the need to upgrade to scoped storage, otherwise we can have that for now

On Thu, Apr 15, 2021 at 5:34 PM Emeric @.***> wrote:

Right now I use API 30 + android:requestLegacyExternalStorage="true", and it works. Even if it doesn't, instead of clicking "save file" you can just click "open file with" so there is no need for filesystem access.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/emericg/WatchFlower/issues/36#issuecomment-820471011, or unsubscribe https://github.com/notifications/unsubscribe-auth/APIS457U2USDHHIMIMQYMMLTI32PPANCNFSM4ZLKXL6A .