Phonegap camera plugin error after application.exit()

Questions and answers on developing, deploying and using plugins and JavaBeans

Phonegap camera plugin error after application.exit()

Postby nic » Fri Oct 04, 2019 1:59 pm

When using the phonegap plugin, I get a strange behaviour after I do an application.exit(). Every time I do the application.exit() function, the plugin functions seems to be executed one more time extra. This is no problem when using the Geolocation API, because there is no user interface in this API. But when using the Camera API the camera opens one more time extra and I get an error "Camera cancelled" from the onError callback.
This behaviour is happening only after application.exit, application.closeSolution or application.showUrl functions.
nic
 
Posts: 21
Joined: Fri Nov 16, 2018 10:54 am

Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 8 guests

cron