import { Chrome } from './Chrome'; export function WithFeatureChecks({ children }) { if (!('serviceWorker' in navigator)) { return (
sorry, your browser does not support the background task needd to deliver notifications
); } if (!('PushManager' in window)) { return (Sorry, your browser does not support Web Push for notifications
Sorry, your browser does not support the Notifications API for creating system notifications
If you're on iOS, you can try tapping add to home screen from the share menu, and then opening Spacedust from your home screen to unlock notifications support, but note that Web Push in iOS is unreliable.