Andrés Méndez
Posts: 0
Joined: Thu Apr 18, 2013 6:13 pm

Camera not working on iPhone

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.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Camera not working on iPhone

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.

Andrés Méndez
Posts: 0
Joined: Thu Apr 18, 2013 6:13 pm

Camera not working on iPhone

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.

Andrés Méndez
Posts: 0
Joined: Thu Apr 18, 2013 6:13 pm

Camera not working on iPhone

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?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Camera not working on iPhone

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

Return to “Issues”