Deprecated: Creation of dynamic property Timber\Site::$pingback is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Site.php on line 180

Deprecated: Creation of dynamic property Timber\User::$name is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/User.php on line 118

Deprecated: Creation of dynamic property Timber\Post::$old_id is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_thumbnail_id is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$ext-thumbnail_url is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_metadesc is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_date_gmt is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$comment_status is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$ping_status is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_password is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_name is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$to_ping is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$pinged is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_modified is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_modified_gmt is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_content_filtered is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$guid is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$menu_order is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_mime_type is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$comment_count is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$filter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$status is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71
Apple introduce le notifiche push per le Web App su iOS e iPadOS

Apple introduce le notifiche push per le Web App su iOS e iPadOS

Le Web App possono mostrare notifiche anche nella schermata di blocco esattamente come avviene nel caso delle normali applicazioni.
Apple introduce le notifiche push per le Web App su iOS e iPadOS

Fin dalla presentazione del primo iPhone gli utenti sono stati in grado di aggiungere un collegamento ai siti Web preferiti sulla schermata Home del telefono. Tuttavia, le Web App non sono mai state messe nelle condizioni di inviare notifiche o mostrare badge di notifica. Con iOS e iPadOS 16.4 le cose sono destinate a cambiare: lo conferma Apple che parla della possibilità di usare notifiche Web Push da parte delle Web App.

Come spiegano Brady Eidson e Jen Simmons, una Web App che è stata aggiunta alla schermata iniziale di iOS e iPadOS può richiedere l’autorizzazione per produrre notifiche push purché ciò avvenga in risposta a un’interazione diretta da parte dell’utente. Ad esempio in seguito al clic esercitato su un pulsante Iscriviti.
L’utente può gestire le autorizzazioni eventualmente concesse alle Web App della sezione Impostazioni notifiche, proprio come avviene per qualsiasi altra app su iPhone e iPad.

Le notifiche delle Web App funzionano quindi esattamente come le notifiche delle altre applicazioni: vengono visualizzate nella schermata di blocco, nel Centro notifiche e sull’Apple Watch eventualmente associato al dispositivo in uso.

Apple precisa che se si avessero più versioni della stessa Web App sulla schermata Home, cosa piuttosto comune quando si volesse separare l’uso personale da quello lavorativo, è possibile assegnare a ciascuna “istanza” impostazioni differenti. Il browser Safari e il sottostante motore di rendering trattano infatti ciascuna Web App come un’applicazione a sé.

Gli interventi sul funzionamento delle notifiche push erano stati promessi da molto tempo: la Mela aveva fatto riferimento all’introduzione del supporto per le Web App già in occasione dell’evento WWDC 2022.

Di recente Mozilla ha confermato di preparare Firefox basato su un motore diverso da WebKit nel caso in cui Apple aprisse all’utilizzo di soluzioni di terze parti su iOS e iPadOS.

Ti consigliamo anche

Link copiato negli appunti