Page 1 of 1

Camera on libraries above 1.0

Posted: Mon Sep 22, 2014 1:11 pm
by John5766500

Hi,

I have an old app that I've upgraded to v2.0 libraries and I have a problem with the camera.

The camera works, takes the picture, however when returning to the app (iOS) it just shows a spinning circle.

I've tried libraries 1.1 and 1.2 and they both have the same issue. If I drop it back to library 1.0 then the camera works as expected ie take picture and it display's this back in the app.

Have a missed some upgrade information or I am a using something that's deprecated in the later versions of the libraries?

Happy to share project as I've built a Mickey example.

Cheers

John.


Camera on libraries above 1.0

Posted: Mon Sep 22, 2014 6:12 pm
by Kateryna Grynko

Hi John,

This is not that ease to change a libraries version. You would need to change a lot of code as different libraries versions use different functions. You would need to debug your app again from the start after changing libraries version.

Why do you need to change it?


Camera on libraries above 1.0

Posted: Mon Sep 22, 2014 7:37 pm
by John5766500

Hi Kateryna,

v2 libraries addresses a couple of bug fixes for me.

Does your tutorials for camera work on v2 libraries? I will double check my work against these and get back to you if they should work.

Cheers

John


Camera on libraries above 1.0

Posted: Mon Sep 22, 2014 11:29 pm
by Yurii Orishchuk

Hi John,

Yes this tutorial will work on v2 libraries.

So you can create new App with v2 and pass this tutorial from scratch.

Regards.


Camera on libraries above 1.0

Posted: Tue Sep 23, 2014 6:54 am
by John5766500

Hi Yuril,

I've repeated test tutorial on a newly built app and I get exactly the same result. Running on Android devices is fine, but I get the bug running on iOS (iOS8) iphone5.

The camera works, you take the picture, however the image doesn't get assigned back to component photopreview. You just get a spinning dial as per screen shot below.

Happy to share project to let you guys look.

Image


Camera on libraries above 1.0

Posted: Tue Sep 23, 2014 7:12 am
by John5766500

Ah ok I see the issue....

Previously (1.0 libraries) I would generate the xcode and copy this to the iPhone via xCode it appears now you need to generate the actual 'ipa' file and install this via iTunes.

You can close the call.

thanks.


Camera on libraries above 1.0

Posted: Tue Sep 23, 2014 7:23 am
by Evgene Karachevtsev

Hello John,

Thank you for the update.