@gphone/sdk
    Preparing search index...

    Function appStorageBytes

    • How many bytes an app has actually stored.

      The Store used to show a made-up number here — (id.length + name.length + permissions.length) * 85, which meant declaring one more permission grew the app's reported footprint. Everything an app writes is under gphone:<appId>: already, so the real answer is a sum away.

      Keys are counted alongside values: both occupy the quota, and an app storing many tiny entries is not free.

      Parameters

      • appId: string

      Returns number