<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: George Deglin</title>
    <description>The latest articles on Forem by George Deglin (@gdeglin).</description>
    <link>https://forem.com/gdeglin</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F406516%2F9d098f14-4374-4747-b19b-9344d41fbc23.jpg</url>
      <title>Forem: George Deglin</title>
      <link>https://forem.com/gdeglin</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/gdeglin"/>
    <language>en</language>
    <item>
      <title>iOS Web Push Notification support is coming soon in 2022</title>
      <dc:creator>George Deglin</dc:creator>
      <pubDate>Tue, 01 Feb 2022 22:36:38 +0000</pubDate>
      <link>https://forem.com/onesignal/ios-web-push-notification-support-is-coming-soon-in-2022-1hp4</link>
      <guid>https://forem.com/onesignal/ios-web-push-notification-support-is-coming-soon-in-2022-1hp4</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--uPSTU-8S--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://onesignal.com/blog/content/images/2022/02/ios-web-push-support-coming-soon--1-.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--uPSTU-8S--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://onesignal.com/blog/content/images/2022/02/ios-web-push-support-coming-soon--1-.jpg" alt="iOS Web Push Notification support is coming soon in 2022" width="880" height="587"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On January 27, 2022, Apple seeded the first Beta of iOS 15.4 featuring several updates— including one that we've been looking forward to for a long time.&lt;/p&gt;

&lt;p&gt;iOS 15.4 is expected to introduce many new features, including support for Face ID with a Mask, new emojis, and updates to built-in apps such as Notes and AppleTV.&lt;/p&gt;

&lt;p&gt;However, the most exciting addition is &lt;strong&gt;experimental support for iOS web push notifications&lt;/strong&gt;!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PmJDtYXN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://onesignal.com/blog/content/images/2022/02/ios-web-push--2-.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PmJDtYXN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://onesignal.com/blog/content/images/2022/02/ios-web-push--2-.jpg" alt="iOS Web Push Notification support is coming soon in 2022" width="880" height="671"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The setting to enable Web Notifications support in Safari (WebKit) Preferences can be seen on an iOS 15.4 device running in the Xcode Device Simulator&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Web push notifications are a popular communication channel &lt;a href="https://trends.builtwith.com/widgets/push-notifications"&gt;used by more than 8% of top websites&lt;/a&gt;. They provide an essential mechanism for websites to send timely and personalized messages to users.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--GXA72jcw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://onesignal.com/blog/content/images/2022/02/image-2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--GXA72jcw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://onesignal.com/blog/content/images/2022/02/image-2.png" alt="iOS Web Push Notification support is coming soon in 2022" width="880" height="431"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;An example of Web Push notifications being used to send sports and Covid news stores on a both Windows and an Android Device&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Nearly every operating system supports this valuable communication channel. Unfortunately, until recently, Apple was a significant outlier and showed little interest in allowing web push on iOS devices. In the past, Apple has faced &lt;a href="https://onesignal.com/blog/apples-plans-to-support-ios-web-push-in-2021/"&gt;pushback&lt;/a&gt; for falling behind on supporting modern web APIs, including web push.&lt;/p&gt;

&lt;p&gt;Considering that Apple owns &lt;a href="https://www.statista.com/statistics/266572/market-share-held-by-smartphone-platforms-in-the-united-states/"&gt;52%&lt;/a&gt; of the mobile market in the United States and a similarly large market share worldwide, this limitation has dramatically slowed the adoption and utility of web push notifications. As a result, websites have resorted to pressuring users to download apps or provide either an email or SMS number to receive messages.&lt;/p&gt;

&lt;p&gt;This latest addition to iOS 15.4 Beta is a promising sign that Apple will finally enable web push support in Safari on iOS and allow its use in other iOS browsers such as Chrome and Firefox.&lt;/p&gt;

&lt;p&gt;In our tests of this new Beta capability in iOS 15.4, we've determined that web push is disabled by default, and unfortunately, enabling it does not yet work. However, this the introduction of this new option and the newly introduced iOS web push APIs are strong signs that Apple is actively working on introducing full web push support.&lt;/p&gt;

&lt;p&gt;Although the public launch of iOS 15.4 is slated for April 2022, web push support  likely won't be available until later, possibly in iOS 16. If this prediction is correct, we'll see iOS web push introduced with the public launch of iOS 16 in September 2022.&lt;/p&gt;

&lt;p&gt;That might be a while to wait, but nonetheless we're incredibly excited for the opportunities this will unlock for better and more user-friendly mobile web experiences. The OneSignal team is following this news closely and will ensure that all OneSignal customers are prepared to seamlessly leverage web push on iOS when it's available.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>ios</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Android 12 Notification Changes: What to Expect</title>
      <dc:creator>George Deglin</dc:creator>
      <pubDate>Mon, 01 Mar 2021 18:00:25 +0000</pubDate>
      <link>https://forem.com/onesignal/android-12-notification-changes-what-to-expect-4652</link>
      <guid>https://forem.com/onesignal/android-12-notification-changes-what-to-expect-4652</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PBed-n5D--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://onesignal.com/blog/content/images/2021/02/Android-12-Notifications-Changes.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PBed-n5D--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://onesignal.com/blog/content/images/2021/02/Android-12-Notifications-Changes.png" alt="Android 12 Notification Changes: What to Expect"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Google continues to evolve Android to be more visually appealing, easier to use, faster, and more secure. A new version of the Android operating system is released each year and typically incorporates a variety of changes, including ones that affect the notification experience.&lt;/p&gt;

&lt;p&gt;Android 12 is no different — Google is once again making several changes that will affect how developers can best reach their users with push notifications. Here’s what to expect.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. “Custom Notification” Changes
&lt;/h2&gt;

&lt;p&gt;Custom Notifications refer to notifications that use a non-standard layout. Android provides a standard template for most types of notifications, but this standard template may not meet the needs of every app.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rJ_ipfff--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://onesignal.com/blog/content/images/2021/03/google-standard-notification-template.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rJ_ipfff--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://onesignal.com/blog/content/images/2021/03/google-standard-notification-template.jpg" alt="Android 12 Notification Changes: What to Expect"&gt;&lt;/a&gt;Google’s standard notification template.&lt;/p&gt;

&lt;p&gt;&amp;lt;!--kg-card-end: image--&amp;gt;&amp;lt;!--kg-card-begin: image--&amp;gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--sMnVaGgm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://onesignal.com/blog/content/images/2021/03/customized-layout-and-background.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--sMnVaGgm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://onesignal.com/blog/content/images/2021/03/customized-layout-and-background.jpg" alt="Android 12 Notification Changes: What to Expect"&gt;&lt;/a&gt;A notification with a customized layout and background&lt;/p&gt;

&lt;p&gt;Custom notifications are a tricky feature for applications to use correctly because they must be designed to accommodate a wide range of device orientations and resolutions.&lt;/p&gt;

&lt;p&gt;Android 12 will introduce major changes to how applications can use custom notifications. Complete customization of the notification design is no longer possible. Instead, custom notification content is limited to a customizable area within a standard notification template.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--SDwuTdWQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://onesignal.com/blog/content/images/2021/02/Android-12-Custom-Notification-Design-1.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SDwuTdWQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://onesignal.com/blog/content/images/2021/02/Android-12-Custom-Notification-Design-1.jpg" alt="Android 12 Notification Changes: What to Expect"&gt;&lt;/a&gt;Android 12 custom notification design.&lt;/p&gt;

&lt;p&gt;Google explains “In this way, Android 12 makes all notifications visually consistent and easy to scan, with a discoverable, familiar notification expansion for users.”&lt;/p&gt;

&lt;p&gt;Although this change takes away some of the customizations that were previously possible, it helps provide a better overall user experience for Android users.&lt;/p&gt;

&lt;p&gt;Google’s advises: “If your app is using fully custom notifications, we recommend testing with the new template as soon as possible”&lt;br&gt;&lt;br&gt;
More detail on this change is available &lt;a href="https://developer.android.com/about/versions/12/behavior-changes-12#custom-notifications"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Notification UX Changes
&lt;/h2&gt;

&lt;p&gt;Android 12 introduces several changes to the look and feel of notifications, which can be seen in the following comparison screenshots:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--pV9kktV_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://onesignal.com/blog/content/images/2021/03/notification-ux-changes-1.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pV9kktV_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://onesignal.com/blog/content/images/2021/03/notification-ux-changes-1.jpg" alt="Android 12 Notification Changes: What to Expect"&gt;&lt;/a&gt;Left: Android 11 lock screen notifications. Right: Android 12 lock screen notifications. Top: Native App Notification with image. Center: Native App Notification without image. Bottom: Chrome Web Push Notification.&lt;/p&gt;

&lt;p&gt;&amp;lt;!--kg-card-end: image--&amp;gt;&amp;lt;!--kg-card-begin: image--&amp;gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--hAIsRQRp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://onesignal.com/blog/content/images/2021/03/notification-ux-changes-2.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--hAIsRQRp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://onesignal.com/blog/content/images/2021/03/notification-ux-changes-2.jpg" alt="Android 12 Notification Changes: What to Expect"&gt;&lt;/a&gt;Left: Android 11 notification shade. Right: Android 12 notification shade. Top: Expanded Native App Notification with image. Center: Native App Notification without image. Bottom: Chrome Web Push Notification.&lt;/p&gt;

&lt;p&gt;In the examples above, the top two notifications on each device are native app notification. The third notification on each device is a web push notification from the Chrome browser.&lt;/p&gt;

&lt;p&gt;At a glance, Google has made several changes to increase whitespace around notification elements and reduce visual clutter. They’ve also softened the colors, making notifications more visually appealing. Finally, collapsed notifications take up less vertical space, and expanded notifications take up slightly more vertical space. This helps users both see more notifications at once and provides an opportunity to view greater notification detail when users expand a notification.&lt;/p&gt;

&lt;p&gt;Another important change is that the amount of visible content in web push notifications has been shortened. It’s possible that Google will be making further changes here to increase how much text can be shown, but we still recommend that developers be mindful of not making their web push notification content too long, especially when using an image.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Faster, More Responsive Notifications
&lt;/h2&gt;

&lt;p&gt;Android users may be familiar with cases where they click a notification but then nothing happens for a few seconds. The reason for this is that some apps use  “notification trampolines”. For developers reading this, that means that they launch an intermediary broadcast receiver or service before starting the app activity itself. When using this technique, bugs in developer code can sometimes cause long delays before an app launches.&lt;/p&gt;

&lt;p&gt;As of Android 12, Google is asking developers to migrate away from this pattern and will no longer allow it. A surprising number of applications used notification trampolining as a way to run business logic when users engaged with notifications, including many of Google’s own apps.&lt;/p&gt;

&lt;p&gt;When Android 12 is released, older applications that still use trampolining will continue to work but a warning may be shown when users tap a notification. New applications that target Android 12 will not be permitted to use this technique and will need to update how their app handles notification events in order for their app to continue working properly.&lt;/p&gt;

&lt;p&gt;If you’re a OneSignal user, please make sure to upgrade to our latest SDK version (4.0.0 or newer) to avoid running into any issues with trampolining. This latest SDK version improves the way the app activity is started from a notification and also simplifies the process of setting up and using the OneSignal SDK.&lt;/p&gt;

&lt;h3&gt;
  
  
  Android 12 is expected to be released in September 2021
&lt;/h3&gt;

&lt;p&gt;Assuming Google sticks to its usual schedule, we can expect to see the official stable release of Android 12 in September 2021.&lt;/p&gt;

&lt;p&gt;Android 12 also includes many other changes unrelated to notifications, such as improvements to security, performance, network connectivity, and more. Developers can get details on the other changes on &lt;a href="https://developer.android.com/about/versions/12/behavior-changes-all"&gt;Google’s Android 12 Behavior Changes&lt;/a&gt; documentation.&lt;/p&gt;

&lt;p&gt;We’re excited to see what other features and improvements Google is working on as we get close to this release date.&lt;/p&gt;

</description>
      <category>android</category>
      <category>news</category>
      <category>mobile</category>
    </item>
  </channel>
</rss>
