Skip to content

Exceeded the maximum amount of data in NSUbiquitousKeyValueStore #55

@brianchang928

Description

@brianchang928

The current method stores cache data in NSUbiquitousKeyValueStore which only has a maximum total of 1048576 bytes.
As the event data becomes larger, it may exceed the maximum total bytes that can be cached.
Newer data will not be cached, which means that users are likely to experience data loss (when offline).

Consider migrating from NSUbiquitousKeyValueStore to SwiftData (iOS 17) which uses the proven storage architecture of Core Data.

Before this issue is resolved, clearing cache data in the Setting's Advanced Option in the app may solve the problem temporarily.
(User's event tokens won't be affected by this operation since it stored in the Keychain)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions