Clean WebView Cookies

Hi, I’m implementing a facebook login via WebView following this example: https://github.com/fusetools/fuse-samples/tree/master/Samples/FacebookLogin

I need to create a LogOutbutton that clean the cookies of the WebView because when I press the logout button and clean all my variables I can’t access with a new user in the login.

Anyone can help me? Maybe with some Foreign Code that clean the Cookies in IOS and Android.

Thanks!

I’ve an API in the works for this but the easiest way to do this right now is to use the evaluatejavascript API. Check this stack overflow link for a way to do it.

Andreas Rønning wrote:

I’ve an API in the works for this but the easiest way to do this right now is to use the evaluatejavascript API. Check this stack overflow link for a way to do it.

I try but dosn’t work…

Any Idea how can I done this?