images taken with camera.getPicture are stored in the temporary directory. There is code in applicationWillTerminate to delete the temporary directory. However, in a multitasking app this method is never called. The contents of this directory do not get backed up, but it is also not getting deleted. Seems like the only solution is to require the developer to clean out the temp directory since they know when it is appropriate to do so. We can leave the code in applicationWillTerminate for apps which set UIApplicationExistsOnSuspend in the plist since it IS called.
Could discuss adding a method to Camera to do clean up rather than requiring devs. to use the File api's. Will need to negotiate with other platforms to see if this makes sense. Will add a dependency in Camera to File Plugin.
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|54d 4h 39m||1||Shazron Abdullah||06/Jun/12 23:56|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Component/s||CordovaJS [ 12317202 ]|
|Component/s||Docs [ 12316407 ]|
|Fix Version/s||1.9.0 [ 12319551 ]|
|Field||Original Value||New Value|
|Component/s||Android [ 12316401 ]|
|Component/s||BlackBerry [ 12316402 ]|
|Component/s||WP7 [ 12316404 ]|