If the files are on external storage, we could build our own mechanism to
selectively clear them. Could you give me the path to the directory where
the files are stored, and what is the naming convention Crosswalk follows
while saving the files?

On Fri, Jul 31, 2015 at 6:17 AM, Fu, Junwei <[email protected]> wrote:

> There are no API to delete specific cache files now, we are investigating
> the workload to support your case.
>
>
>
> *From:* Crosswalk-help [mailto:
> [email protected]] *On Behalf Of *Yashash
> Agarwal
> *Sent:* Friday, July 31, 2015 1:56 AM
> *To:* [email protected]
> *Subject:* [Crosswalk-help] Selective data clearing | Storage and naming
> convention
>
>
>
> Hello,
>
>
>
> I had mentioned an issue on the forum, but got no response. I am new to
> Crosswalk, and would benefit significantly from your help.
>
> We are using the Crosswalk webview to run HTML5 games in an app. Crosswalk
> automatically stores the assets of the game locally, which is great. I want
> to know how I can selectively clear these files.
>
> Here's why:
>
> Because Crosswalk stores these assets locally, I can allow users to play
> these games offline. And that's working fine. I want to allow users to
> "favorite" games. That way, I will clear the assets from all the games that
> the user does not want to play again / does not favorite and free up disk
> space.
>
> For instance, a user may play 3 games and favorite just the 2nd one. I'd
> want only the files of the 2nd game locally stored, and the others deleted.
>
> I couldn't find anything for this on the documentation online.  Can you
> help me with the path of the directory where Crosswalk stores the assets,
> and the naming system of the files in that directory?
>
> Looking forward to your response,
>
> Thanks.
>
>
>
> --
>
> Yashash Agarwal
>
> Co-founder
>
> Gamezop
>
>
>
> It's hard to beat a person who never gives up. ~ Babe Ruth
>
>
>



-- 
Yashash Agarwal
Co-founder
Gamezop

It's hard to beat a person who never gives up. ~ Babe Ruth
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to