Sellers running from an installed PWA still hit failures inside subscribe (iOS 16.4+ PWA has its own quirks even when standalone), and a generic "لطفاً چند لحظه بعد دوباره تلاش کنید" doesn't tell whoever is helping them what actually broke. The catch handler now surfaces the underlying Error.message (e.g. "timeout: pushManager.subscribe", "NotAllowedError") in the toast description so field debugging works over screenshots. Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| use-prefetch.ts | ||
| use-root-data.ts | ||
| use-toast.ts | ||
| useBadgeCounts.ts | ||
| useCarousel.ts | ||
| useDebounce.ts | ||
| usePushNotifications.ts | ||
| useStoreOwnership.ts | ||
| useWebSocket.ts | ||