Page 1 of 1

Camera not working on iPhone

Posted: Fri May 17, 2013 7:48 pm
by Andrés Méndez

Hello.

I have created an app which is supposed to take a photo.

I have downloaded the Appery app as HTML/JS/CSS, uncompressed it into my Xcode project and compiled it (I'm using Phonegap v2.5 and iOS v6.1).

Once the app is in my iPhone, it works, but when I press the "take photo" button, it does nothing.

I don't know why, I've followed your example, but it does nothing.

I've seen other questions here about the same thing, but none of them explained how did they make it work. Maybe the problem is that Appery uses Phonegap v2.4 and I use Phonegap v2.5?

Thanks in advance.


Camera not working on iPhone

Posted: Fri May 17, 2013 8:19 pm
by Maryna Brodina

Hello! Could you please try to export Source code for xCode project (not HTML/JS/CSS resources) and check if it works for you this way? Please let us know about the result.


Camera not working on iPhone

Posted: Sat May 18, 2013 2:24 pm
by Andrés Méndez

Hello.

I exported the project as Xcode, compiled it and received this error:
ERROR: Start Page at 'www/css/index.html' was not found.

When compiling, the first line shows:
ProjectFolder: www/css

I suppose that the problem can be that the ProjectFolder should be just www, but I don't know how to fix it.


Camera not working on iPhone

Posted: Mon May 20, 2013 5:12 am
by Andrés Méndez

When I compile the app in my iPhone, in Xcode appears this log:
2013-05-20 07:07:55.413 pruebasAndres[15827:907] Multi-tasking - Device: YES, App: YES
2013-05-20 07:07:56.568 pruebasAndres[15827:907] Resetting plugins due to page load.
2013-05-20 07:07:56.840 pruebasAndres[15827:907] Finished load of: file:///var/mobile/Applications/9E334066-81B9-4485-9B35-72AAE47BAADC/pruebasAndres.app/www/index.html
2013-05-20 07:07:56.866 pruebasAndres[15827:907] Resetting plugins due to page load.
2013-05-20 07:08:00.409 pruebasAndres[15827:907] Finished load of: file:///var/mobile/Applications/9E334066-81B9-4485-9B35-72AAE47BAADC/pruebasAndres.app/www/Home.html

The message "Resetting plugins due to page load" don't look good, maybe it is the problem with the camera?


Camera not working on iPhone

Posted: Mon May 20, 2013 12:18 pm
by Maryna Brodina

Helllo! Could you please share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a?