Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

Can not activate navigator.storage.persist in Firefox for Android

  • 2 përgjigje
  • 1 e ka hasur këtë problem
  • 25 parje
  • Përgjigjja më e re nga johnsmith31338

Hello! I want to use persistant offline storage for my website. When I run following command in console: navigator.storage.persist.then(function(a) {console.log(a)}) in Desktop FireFox browser it prompts me for a permission and console.log prints "true". But when I run this command from Android version there is no permission prompt and the result is "false". Is there some condition I must to satisfy to switch storage to "persisted mode" on Android Firefox version?

Hello! I want to use persistant offline storage for my website. When I run following command in console: navigator.storage.persist.then(function(a) {console.log(a)}) in Desktop FireFox browser it prompts me for a permission and console.log prints "true". But when I run this command from Android version there is no permission prompt and the result is "false". Is there some condition I must to satisfy to switch storage to "persisted mode" on Android Firefox version?

Zgjidhje e zgjedhur

That was a bug in Firefox for Android. Here is a related issue: https://github.com/mozilla-mobile/fenix/issues/14875 Now it is solved

Lexojeni këtë përgjigje brenda kontekstit 👍 0

Krejt Përgjigjet (2)

I found some information about this. According to "Can i use" on date 08 september 2020 (https://caniuse.com/mdn-api_storagemanager) Firefox 79 for Android don't support this feature by default. It must be enabled via internal configuration. So it's not possible to use this feature for a regular site nowadays. May be in future related bugs will be fixed and it will be enabled.

Zgjidhja e Zgjedhur

That was a bug in Firefox for Android. Here is a related issue: https://github.com/mozilla-mobile/fenix/issues/14875 Now it is solved