Page 1 of 1

mobileExportImageToAlbum doesn't work with Android 10

Posted: Mon May 17, 2021 10:40 pm
by simon.schvartzman
Hi all, I've this application that saves pictures to the device, it has been working for 3 years now and today users with Android 10 (Samsung Galaxy J8) are reporting photos are not being saved to the Pictures folder of the device. I was able to reproduce the behaviour on a Motorola One running Android 10 as well.

All the permissions are properly set.

The result of the command returns empty, meaning everything went OK.

There was a thread about this in the past viewtopic.php?f=53&t=33752&p=188803&hil ... um#p188803 and a bug that was closed in 9.6.0 DP-4 according to this quality report https://quality.livecode.com/show_bug.cgi?id=22054

I've tried compiling with LC 9.6.1 and LC 9.6.2 rc5 and both behave the same, picture is not shown.

Interestingly enough on another device running Android 11 everything works as expected.

Anyone has experienced something similar? Any hints?

Many thanks

Re: mobileExportImageToAlbum doesn't work with Android 10

Posted: Tue May 18, 2021 7:34 am
by SparkOut
Sorry I can't help, but I wonder if you try with 9.6.0 DP-4 whether the problem is exhibited there. If not, then presumably there is a regression bug. Otherwise it's probably not quite the exact same issue and will need a separate report.

Re: mobileExportImageToAlbum doesn't work with Android 10

Posted: Tue May 18, 2021 5:08 pm
by simon.schvartzman
@SparkOut, you hit the target! Problem doesn't shows when standalone is saved using LC 9.6.0 DP-4.

I'm going to report to the mothership and then decide my next step: going back to 9.6.0 DP-4 in order to solve my clients problems or wait for LC to release a new 9.6.2 incorporating the fix

Thanks for you suggestion!

Re: mobileExportImageToAlbum doesn't work with Android 10

Posted: Tue May 18, 2021 6:02 pm
by SparkOut
Urgh, I hate regression bugs.
Make sure to go back and reopen the bug report with further info about the regression.

Re: mobileExportImageToAlbum doesn't work with Android 10

Posted: Wed May 19, 2021 9:50 am
by LiveCode_Panos
Hello all,

@Simon
Could you please file a new report, rather than reopening the old one, since I am not entirely sure if this is the same bug, since this issue is about mobileExportImageToAlbum, not mobilePick "photo".

Thanks!

Cheers,
Panos
--

Re: mobileExportImageToAlbum doesn't work with Android 10

Posted: Wed May 19, 2021 10:33 am
by simon.schvartzman
Hi Panos, bug report opened here https://quality.livecode.com/show_bug.cgi?id=23212

Thanks