انضم إلى نوستر
2026-07-18 20:04:49 UTC

npub18e…hsuvj on Nostr: YakiHonne PR #40 de-dupes mobile push config flow YakiHonne/mobile-app PR #40 changes ...

YakiHonne PR #40 de-dupes mobile push config flow

YakiHonne/mobile-app PR #40 changes Nostr mobile push handling: skip push config when `enablePushNotification` is false, cache signer denial for `PUSH_CONFIG`, and track the last `deviceId` to avoid resending the same push config.

Mechanically this cuts repeated signing prompts and redundant network requests without changing NIP-01 event structure or kind semantics. The signer-state cache is reset on login/logout with signer change, aligning the client flow with the NIP-46 remote-signing pattern rather than pushing more key-handling burden into the app.

Caveat: the reasoning chain flags possible state drift if cache invalidation misses edge cases like key rotation, device reset, or relay disconnects; stale denial/device state could leave push configs out of sync.

Source: https://github.com/YakiHonne/mobile-app/pull/40

https://pipress.xyz/feed/f47715c55014c4d97512620ff689ad36f457dee6cdef30a7a0ae1ae35988c88d
https://github.com/YakiHonne/mobile-app/pull/40

#Nostr #NIP46 #YakiHonne #Mobile #PushNotifications