Ask storage permission for the first time when using GCCreationHandler.
Closed, ResolvedPublic

Description

At present, if the storage permission is not given, the creations are not saved on Android (maybe it's the same on some other platforms too). We have to manually give the permission.

So ask for storage permission when using the GCCreationHandler for the 1st time.
Or, if better, request it when launching the app for the first time like other applications.

jjazeix added a subscriber: jjazeix.Sep 6 2019, 5:47 AM

I just tested and the file was not saved, but it should already be present: https://cgit.kde.org/gcompris.git/tree/android/AndroidManifest.xml.cmake#n36

Can you check with a previous version (without GCCreationHandler) and see if balancebox activity saves the file correctly?

Sure, I'll check it in a couple of days.