문제

Im newbie to extension dev in crossrider. I have written a very simple code snippet , which saves data using appAPI.db.async in extension.js and then retrieves appAPI.db.async in my popup (local file) which we create via browseraction.setPopup.

Save and retrieval of local browser storage works perfectly in FF and chrome . But doesnot work in safari.

I even tried appAPI.db method but same results.

도움이 되었습니까?

해결책

according to the documentation, all major browsers are supported...nothing in the appAPI.db.async docs says that it has limitations or is unsupported by any browser...and without seeing your code, i'm going to assume its your code. Here's Crossrider's working demo, how different from that example is your code? or rather, can you implement their code into yours and confirm if it is/not working?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top