incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-506) images taken via Camera.getPicture do not get deleted
Date Wed, 06 Jun 2012 22:57:24 GMT

    [ https://issues.apache.org/jira/browse/CB-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13290552#comment-13290552
] 

Shazron Abdullah commented on CB-506:
-------------------------------------

Thread here: http://apache.markmail.org/thread/eyqw32hb7yvrlndm

As stated in the thread, I'll implement the clean() function, which other platforms will just
noop.
                
> images taken via Camera.getPicture do not get deleted
> -----------------------------------------------------
>
>                 Key: CB-506
>                 URL: https://issues.apache.org/jira/browse/CB-506
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, BlackBerry, iOS, WP7
>    Affects Versions: 1.6.0
>            Reporter: Becky Gibson
>            Assignee: Shazron Abdullah
>             Fix For: 1.9.0
>
>
> 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.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message