Combining web and native applications with 4 unknown API JavaScript

Зображення до статті Combining web and native applications with 4 unknown API JavaScript
Зображення до статті Combining web and native applications with 4 unknown API JavaScript

The author of the article, Juan Diego Rodriguez, is interested in API such as Screen Orientation Api, Device Orientation Api, Vibration API and Contact Picker API. He tells how they can be used to create more convenient and reliable progressive web applications when they receive wider support.

🚀 Most of these APIs are designed to support progressive web applications (PWA) and reduce the gap between web and native applications. In creating PWA more than just adding a manifesto file. In reality, we need a few APIs to achieve full experience with a native application in the Web.

  • 📌 Screen Orientation API allows you to determine the current orientation of the device that can be used to improve UX for mobile devices by changing UI respectively.
  • The Device Orientation API provides access to the gyroscopic sensors of the device, which allows you to read the orientation of the device in space.
  • 📌 Vibration API allows access to the mechanism of vibration of the device, which is useful when you want to notify users of notification in the application.
  • 📌 Contact Picker API provides web applications with access to your device contact lists.
🧩 Summary: These four JavaScript APIs are able to significantly improve the work of progressive web applications, but due to unstable browser support, they remain out of the attention of many developers.
🧠 Own considerations: Supporting these APIs with browsers is critical for their overall acceptance and use. Therefore, it is important to contribute to the promotion of these APIs, facilitating their introduction in browsers and creating consciousness about them among developers.
``