Global Feed Post Login
Replying to Avatar verbiricha

Once you start supporting NIP-19 it becomes a bit tricky. Are you using a local DB? You can still pre-populate it with the events you use in the storybook/tests and don't hit the relays at all. NDK supports caching policies such as NDKSubscriptionCacheUsage.ONLY_CACHE or NDKSubscriptionCacheUsage.CACHE_FIRST that make this relatively easy.

Avatar
DanConwayDev 1y ago

That's a good idea. Potentially a lot cleaner.

Reply to this note

Please Login to reply.

Discussion

No replies yet.