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.
Для підготовки контенту ми дослідили статті, присвячені сучасним підходам у створенні сайтів, UX/UI дизайну та просуванню в Google:
https://www.smashingmagazine.com/2024/06/uniting-web-native-apps-unknown-javascript-apis/