How do I get sync storage to sync

I’ve worked a lot with local storage, but this will be the first time that I’ve worked with sync storage. I’m working on a task list addon.

From the documentation I’ve read, it looks like using browser.storage.sync is the same as using the local storage area. My addon works fine, but it just won’t sync to another Firefox browser.

Is there something that I should be doing differently to force the two devices to sync the addon data?

To sync both Firefox instances have to be logged in to the same Firefox Account. Also, sync is not always real-time afaik.

Yeah I know that. Tried syncing between two devices on the same Firefox account, but the data is not being synced. The data saves locally, which I think indicates the I have used the storage API properly, but maybe not since it’s not syncing?