Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-1548

Provide way to access DB totalSize/usedSize outside of `shouldCompactOnLaunch` callback

      Problem

      We want to start tracking the size of our user's realm DBs so we can come up with a strategy for when compaction occurs based on DB sizes we see in the wild.

      We can do this via the shouldCompactOnLaunch callback but that's not really the place we want to retrieve the information.

      It'd be nice if there was a way to retrieve the total/used sizes on an already opened DB.

      Solution

      No response

      How important is this improvement for you?

      I'd like to see it, but have a workaround

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: