Open Bug 1625257 Opened 6 years ago Updated 28 days ago

Support |storage.sync| API

Categories

(GeckoView :: Extensions, enhancement, P3)

Unspecified
All
enhancement

Tracking

(Not tracked)

REOPENED

People

(Reporter: agi, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [addons-jira])

Talking with :snorp we think we might be get away with just exposing get and set to embedders.

Rank: 1
Priority: -- → P2

Found this comment by Lina which looks relevant https://bugzilla.mozilla.org/show_bug.cgi?id=1626506#c4

Blocks: 1637465
Severity: normal → --
Severity: -- → N/A

I think the doc is not accurate, we don't support storage.sync, at least not across devices (it's basically a local-only implementation right now).

Status: RESOLVED → REOPENED
Resolution: INVALID → ---

This lack of functionality is also blocking the removal of the old backend, see bug 1637465 for details. It would be nice if this were to be resolved.

Priority: P2 → P3
Rank: 1 → 333
Whiteboard: [addons-jira]

I think the priority/rank of this issue should be increased to reflect that more developers will soon be able to publish extensions on Android: https://blog.mozilla.org/addons/2023/08/10/prepare-your-firefox-desktop-extension-for-the-upcoming-android-release/

(In reply to Simeon Vincent [:dotproto] from comment #6)

I think the priority/rank of this issue should be increased to reflect that more developers will soon be able to publish extensions on Android: https://blog.mozilla.org/addons/2023/08/10/prepare-your-firefox-desktop-extension-for-the-upcoming-android-release/

while this is a great argument, i can't avoid to point out that the star of Firefox extensions: uBlockOrigin, was always allow-listed on android and always made use (or is still broken by) this feature.

(In reply to Mathieu Leplatre [:leplatrem] from comment #7)

I would like to see the priority increased, we would like to decommission some old code (Bug 1637465), and this is a blocker.

Thanks. I will ask the GeckoView team.

Flags: needinfo?(cpeterson)
Blocks: 1861918
Duplicate of this bug: 1811313

Does this bug cover synchronizing stored data across mobile and desktop devices also? Now I'm trying to develop an addon communicating between android and desktop based on storage.sync so this bug looks to be a blocker.

No longer blocks: 1861918

(In reply to YUKI "Piro" Hiroshi from comment #11)

Does this bug cover synchronizing stored data across mobile and desktop devices also? Now I'm trying to develop an addon communicating between android and desktop based on storage.sync so this bug looks to be a blocker.

That's also why I'm here, I tried the Cloud Storage and it's promising
But, as of my testing on 2 devices: Windows + Firefox and Android + Firefox
I have a mixed situation where both devices can upload/retrieve to/from cloud storage
BUT, each only get its own set of rules, they're not shared/merged
My wish would be for a single list of filters shared
But I understand some people might want separated between PC and mobile
So maybe have a choice between per device/per device type/common

Thanks again for the hard work

I would say, to make things simple (for Firefox dev team), it should synchronize everything, same as between desktop browsers - if addons sync. is enabled in the Firefox settings page.
I would say, this will have a desirable outcome for majority of addons.

The cases where synchronization on Android is not desired, the addon authors could update their code and implement a "Switch to local storage" option.

You need to log in before you can comment on or make changes to this bug.