Cookies on android phone

I would like to know how to have youtube (when logged in to the website in brave) cookies kept save when i close the browser.
Right now when i close the browser and reopen it i need to log back in again and i have cookie notices every single time which is annoying. (on my android phone)
I also have the option ‘forget me when i close this site’ disabled.

Not what im looking for.
not trying to backup this in brave on mobile, just want to know how to stop getting logged out from youtube and have those cookies saved on exit.

basicly what im looking for is a way to not auto remove youtube cookies on mobile.
i had this issue 3 years ago also with brave and no reply was given, just automaticly shut down. again now?

In order to not be logged out, try . . .

Never use:

  • Brave Browser Private Browing Only mode
  • Dark mode
  • Night mode

Because, if by chance, Brave Browser Private Browing Only mode becomes enabled . . . you will know that has happened.

So, if you are surprised by a “Dark mode” appearance, you need to check your settings. Why? Sometimes, “Night mode” is incidentally enabled by a Brave Browser update.

Use of Brave Browser Private Browing Only mode, will cause cookies to NOT be stored upon exit (when quitting BB).

In Brave Browser Settings > Brave Shields & Privacy, disable all of:

  • “Block all cookies”
  • “Enable Global Privacy Control”
  • “Block Cookie Consent Notices”

And under CLEAR PRIVATE DATA, disable all of:

  • “Browsing History”
  • “Cache”
  • “Cookies and Site Data”
  • “Saved Logins”

Finally, do NOT use the Brave Browser “Shred Site Data” feature.


And reference material:

Shields Basics

How do I configure global and site-specific Shields settings?

How do I use Shields while browsing?


Hi,

Thanks for the help but it still doenst save cookies on youtube when i exit the browser.
it still asks to accept or reject cookies + im logged out.

What has been your selection?

And, you are allowing the website’s javascripts, aren’t you?

yes js is enabled by default.
my selection doesnt matter a) accept all cookies or b) reject all. then close browser and it asks it again.

You wrote: “asks to accept or reject cookies”

That sounds like, a prompt that occurs at the end of a connection (to a website) session.

That prompt, is not the same as “a) accept all cookies or b) reject all” - that are settings to adjust in the browser Settings -or- perhaps in the site-specific Brave Shields complex of settings.

If you are prompted to accept or reject cookies during a connection-to-a-website-session, choose accept.


When you log in to a Google website (be that, G-mail, YouTube, etc.), you are logging in to the Google “ecosystem.” Some of the cookies that the website sends to Brave Browser (“BB”) to store, are effectively crumbs for other Google ecosystem websites to notice (that you logged into some other Google ecosystem website).

Test:

Instead of logging in at YouTube.com, perhaps you might try logging in, first, at https://accounts.google.com. Then in another BB New Window, go to YouTube.com.

When finished with YouTube.com, close its window(s), but leave the https://accounts.google.com website window intact.


the test works yes, but when you close the browser after all of that and reopen it then again youtube and also google ask cooking consent + login. (meaning cookies are not being saved)

Thanks for [enduring the] testing.

Despite your NOT using Private Browsing Mode, and your allowing cookies and leniency for scripts . . .

Closing / quitting Brave Browser on your Android phone, also causes Brave Browser to lose the login cookies / login session. Tagging @Mattches

@Erikje,
If you visit Youtube and tap on the Shields icon in the address bar (be sure to expand the “advanced controls”) can you please tell me what each of these settings are configured to?

Additionally, can you please check and confirm that you do not have Brave set to clear data “on exit” by going to Settings --> Brave Shields & Privacy --> Clear data on exit?

@Erikje there has been a lot said and I think would be better to start off kind of fresh. I’m going to list a bunch of questions, some of which may be repeating what has been said before. But please do a favor and try to check each one.

To Confirm:

  1. You’re saying that you get logged out of YouTube every time you close the browser?
  2. You’re also getting some sort of cookie notice each time?

Basic Questions:

  1. What version of Android are you using?
  2. Which version of Brave are you using?
  3. What Shields settings are you using? (Can you show both site specific and global settings?)

Issue specific questions:

  1. Does this happen to any other websites or only YouTube? (Really 2 questions on this. One is if can still access gmail and all or if it’s logged out as well. Second is if any other website like maybe a Facebook. Twitter, Brave Community or others are also logging you out of if this seems to be only Google)

  2. Could you install Brave Beta or Brave Nightly on your Android phone and see if the issue happens there as well? When you install either of those, don’t change any settings but use it as it is.

  3. Are you using a VPN or Proxy?

  4. You said you haven’t changed any of your settings to block all cookies, prevent data, clear data after exit, etc…right?

  5. For testing purposes only, does it keep you logged in if you completely disable Shields for YouTube/Google?

  6. Does this also happen in Chrome?

  7. Are you using 2FA for your Google account?

  1. Yes i get logged out of youtube every tme i close the browser on android.

  2. Yes, each time i close and reopen the browser i get the cookie notice.

  3. im using the latest version 14.

  4. latest brave release on android.
    3.These are the settings in shields:

  • agressive mode
  • amp enabled
  • tracing url enabled
  • HTTPS default
  • scripts normal
  • indirect cookies blocked only
  • finger print block enabled
  • finger print language enabled
  • forget me when i close site enabled (but i have youtube in the shield icon off!)
  • delete browsing dat on exit ON
  • then in settings of clearing data (advanced) cookies, site data and site settings is off, history, cache, passwords, and forms is on.
  • 3 social media off
  • open app links on
  • webrtc deactivated non proxie
  • all the crypto stuff off
  • cookie notice block enabled
  1. Yes it happens with other sites to like: Google itself, Brave community to, outlook site to.
  2. done (nightly) and here i can login and accept cookies and close the browser and reopen it and it works!
  3. no proxy or vpn here.
  4. i did change those, but i tested it by turning them off.
  5. when shields are off on youtube it still logs me out.
  6. on chrome it also works, maybe because i get logged in be default, by a google login through the browser.
  7. im using those.

Looking over your settings, I would:

Definitely DISABLE:

  • forget me when i close site enabled (but i have youtube in the shield icon off!)

Definitely OFF:

  • delete browsing data on exit ON

DO NOT clear the cache:

  • then in settings of clearing data (advanced) cookies, site data and site settings is off, history, cache, passwords, and forms is on.

Test Enable/Disable:

  • cookie notice block enabled

Thanks it is fixed! how do i mark this as solved?

1 Like

@Erikje — marked it solved for you. Glad you were able to get this resolved. Thanks to @Saoiray and @289wk for their support here.

1 Like