I'm making a gearVR app by opening a webpage first, user need to login first to load the content. It works fine with a fixed user account, but I want to use real user accounts. So I'm using cookies for users to login in separate webpage first, save information to cookie, then read the information in gearVR app to automatically login.
However, samsung default browser for gearVR doesn't pick up well the saved cookie. It works somehow right after I first do login on the page and saved information, fresh the page and it picks up the cookie. But after I close the current page and start a new page with the same link, it cannot read the cookie... The same procedure is tested working well in chrome on the same phone (Samsung S6). I'm using the way to save cookie as this link: http://www.w3schools.com/js/js_cookies.asp
What's the good way to use cookie for samsung browser? Or any way for gearVR to use chrome by default?
Any thoughts would be helpful. Thanks!