Page 1 of 1

The camera function suddenly disappeared!

Posted: Wed Jul 25, 2018 3:36 pm
by Peter@multidesk.se
Apparently, you can no longer build apps with "the old API" (# 24) anymore, so I used API 26 to rebuild my app.

Since Android Studio did not want to update to SDK 26, I had to rebuild the entire SDK folder by downloading everything again.
Yes, I know, this is obviously a source of possible errors. :? Not to mention the time it takes to download a million GB!


After that, "cameraControlCreate" and "mobilePickPhoto" ceased to function.

The app works as it should except that no camera appears.


What have I missed?


///Peter

Re: The camera function suddenly disappeared!

Posted: Wed Jul 25, 2018 4:22 pm
by LiveCode_Panos
Hello Peter,

You have not missed anything. This is a bug. You can add your email in the cc list of this report to get notifications about status updates.

https://quality.livecode.com/show_bug.cgi?id=20427

Best,
Panos
--

Re: The camera function suddenly disappeared!

Posted: Wed Jul 25, 2018 4:49 pm
by LiveCode_Panos
Hi Peter,

Hmm this should have been fixed in LC 9.0.1 RC-1. I just checked though, and found the following inconsistency:

If you check the "Camera" permission in the standalone settings, the camera is NOT shown.
If you uncheck the "Camera" permission, it is shown.

So hopefully a just boolean gets the wrong value. Can you confirm this works?

Best,
Panos
--

Re: The camera function suddenly disappeared!

Posted: Wed Jul 25, 2018 6:31 pm
by Peter@multidesk.se
Panos,

This only works in part.

If I uncheck the "Camera" permission, the "mobilePickPhoto" works but the "cameraControlCreate" continues to not.

I tried this in LC 9.0.1 RC-1, running on a MacBook Pro (MacOS High Sierra) and I use an Galaxy S6 edge running Android 7.0


///Peter

Re: The camera function suddenly disappeared!

Posted: Wed Jul 25, 2018 11:08 pm
by LiveCode_Panos
Thanks for the update Peter, I had only tested with the "mobilePickPhoto" command.

Re: The camera function suddenly disappeared!

Posted: Fri Aug 17, 2018 11:20 am
by LiveCode_Panos
Hello all,

This issue should be fixed in the upcoming LC 9.0.1 rc2 release.

Best,
Panos
--