FW: Flutter Hive Question - Followup from Google Group

26 views
Skip to first unread message

Kevin Chadwick

unread,
Dec 18, 2020, 8:18:35 AM12/18/20
to flutt...@googlegroups.com
On 12/17/20 4:54 PM, it was asked:
> Hi Kevin,
>
> Question for You: how do you know Hive for Flutter required internet? I’ve
been searching through the source code but can’t find an in utilization to the
internet?

It doesn't for desktop or mobile.

When using flutter to build websites, the web standard IndexedDB is used that
depends on origin for security. Additionally PWA tech also require https certs
AFAIK.

"https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API/Using_IndexedDB#Security"

I am making a bit of an assumption that there is no mechanism currently to get
an encryption key into the browser upon execution as an alternative to origin
security even with indexedDb or the experimental web filesystem web api.

However it may be possible that an app ID could be used as origin upon
execution. Let me know if you find out that it is possible. I don't believe it
is though.
Reply all
Reply to author
Forward
0 new messages