Boost Engagement: Integrate Call Notifications into Your Web App

Share

Key Points:

• Microsoft is proposing an extension to the Notifications API to allow web apps to send incoming call notifications.
• The new API will enable custom buttons, ringtones, and higher priority notifications for incoming calls.
• Developers can test the feature by using a sample app in Microsoft Edge on Windows.

Microsoft is announcing a new proposal to extend the Notifications API, allowing web applications to send incoming call notifications. This move aims to solve a long-standing limitation in the API, which has hindered developers from providing a seamless experience for users when it comes to receiving incoming calls.

The current Notifications API has been a crucial tool for web applications, enabling them to alert users via notifications in the operating system’s built-in notification center. However, the API lacks the ability to customize buttons, associate ringtones, and prioritize notifications, making it less effective for applications that require audio and/or video calls.

The proposed extension, dubbed "Incoming Call Notifications," aims to bridge this gap. The new API will allow developers to create notifications that are visually distinguished from other notifications, feature customized buttons (such as answering or rejecting calls), and associate ringtones. Additionally, the notifications will have a higher priority than others, when supported by the platform.

The explainer introduces a new optional parameter, "scenario," which can be set to "incoming-call" to indicate that the notification is an incoming call notification. This allows developers to create a clear distinction between incoming calls and other types of notifications.

Microsoft has implemented a prototype of the explainer in Chromium and is seeking feedback from developers. To test the feature, users can use the sample app in Microsoft Edge on Windows by enabling the "IncomingCallNotifications" feature flag and following the provided steps.

The company is excited about the potential use cases this proposal can unlock for web apps and is looking for feedback from developers to shape the API. This move is seen as a significant step forward in empowering web developers to build more powerful applications and further solidifying the web platform’s relevance for a wide range of use cases.

Microsoft is also encouraging developers to share their thoughts on how the Incoming Call Notifications API could integrate with other features, such as urgent Push messages. The company is always looking for new problem spaces, use cases, and ideas, and is open to feedback from the developer community.

Read the rest: Source Link

You might also like: Try AutoCAD 2025 for Windows, best free FTP Clients on Windows & browse Windows games to download.
Remember to like our facebook and our twitter @WindowsMode for a chance to win a free Surface every month.


Discover more from Windows Mode

Subscribe to get the latest posts sent to your email.