Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

more options

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?

All Replies (1)

more options

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.

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.