Native Webview cookies and file upload

I have a native webview which calling a website. The website contain a login with remember me feature. However, I found that the cookies is not working in the webview. I made the remember me to keep the login for over a year, but after I close the app for an hour, I have to login again. The cookies is working in iOS, I would like to know if it is not supported in Android or not?

And I have a file upload (image) in that website. I did add the camera permission but when I clicked on the file input field in the webview, nothing is prompt. I can’t upload any photo inside the webview on Android but works in iOS. Is it supported on Android or I did something wrong?

Thanks

Hi, boscotwcheung,

 Did found the solution on this? I currently facing this issue on android device also, if you got way to make it work hope you can share.

 Tray.

i think i’m running into this same issue with Facebook on Android.

i’m doing webview-based oauth login on Facebook. afterwards, i create a different webview to load a very simple, local HTML page which itself includes an iframe to load Facebook html.

on Android the actual webview is getting redirected several times, going through a login process. the last redirect stops and has a ‘reload’ URL (which is the original with a hash and some other stuff). if i use that (hoping the hash was some sort of auth token) the login/redirection happens again.

this works perfectly in Mac Sim and iOS. 

any thoughts, Corona Eng ?

dmc

bump

We fixed a bug with cookies a while back (I think it was the ability to remove them), but I’m not sure of any other bugs.

If you have a reproducable test case, please file a bug report.

Rob

thanks Rob,

i created a test case and filed a bug report.

cheers, dmc

Hi, boscotwcheung,

 Did found the solution on this? I currently facing this issue on android device also, if you got way to make it work hope you can share.

 Tray.

i think i’m running into this same issue with Facebook on Android.

i’m doing webview-based oauth login on Facebook. afterwards, i create a different webview to load a very simple, local HTML page which itself includes an iframe to load Facebook html.

on Android the actual webview is getting redirected several times, going through a login process. the last redirect stops and has a ‘reload’ URL (which is the original with a hash and some other stuff). if i use that (hoping the hash was some sort of auth token) the login/redirection happens again.

this works perfectly in Mac Sim and iOS. 

any thoughts, Corona Eng ?

dmc

bump

We fixed a bug with cookies a while back (I think it was the ability to remove them), but I’m not sure of any other bugs.

If you have a reproducable test case, please file a bug report.

Rob

thanks Rob,

i created a test case and filed a bug report.

cheers, dmc