Pwafire Versions Save

Progressive Web Apps API of APIs

v5.0.4

1 year ago

Web OTP

Verify phone numbers on the web with the WebOTP API, which allows you to receive one-time passwords (OTPs) from the SMS message and automatically fill them into the form.

Call the webOTP method on pwa

await pwa.webOTP((res) => {
  // Do something with the result.
  if (res.ok) {
    // Do something.
    const code = res.code;
  } else {
    // Do something.
  }
});

v4.0.0

2 years ago

What's Changed

Full Changelog: https://github.com/pwafire/pwafire/compare/v3.0.6...v4.0.0

v4.0.0-alpha-1

2 years ago

Change "success" to "ok" in the API return response

Goal is to make sure that a more semantic and expressive response is sent back in each API use instance.

For example;

{ ok: true, message: "Text copied" }

Add Content Indexing API

Index your offline-capable pages with the Content Indexing API

What's Changed

Full Changelog: https://github.com/pwafire/pwafire/compare/v3.0.6...v4.0.0-alpha-1

v3.0.6

2 years ago

Detect inactive users with the Idle Detection API

The Idle Detection API notifies developers when a user is idle, indicating such things as lack of interaction with the keyboard, mouse, screen, activation of a screensaver, locking of the screen, or moving to a different screen. A developer-defined threshold triggers the notification.

Learn how to use here and more here

Full Changelog: https://github.com/pwafire/pwafire/compare/v3.0.5...v3.0.6

v3.0.6-alpha

2 years ago

Detect inactive users with the Idle Detection API

The Idle Detection API notifies developers when a user is idle, indicating such things as lack of interaction with the keyboard, mouse, screen, activation of a screensaver, locking of the screen, or moving to a different screen. A developer-defined threshold triggers the notification.

Learn how to use here and more here

Full Changelog: https://github.com/pwafire/pwafire/compare/v3.0.5...v3.0.6-alpha

v3.0.5

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/pwafire/pwafire/compare/v2.0.4...v3.0.5

v2.0.4

2 years ago

The File System Access API

Allows web apps to read or save changes directly to files and folders on the user's device.

Call pickFile method on pwa

The promise resolves with a file response

// Do something with the contents...
const res = await pwa.pickkFile();
const file = res.type === 'success' ? res.file : null;

2.0.2

3 years ago

v2.0.0++

  • More composable

  • Easier to integrate

  • Ready for any of your production ready apps

  • Easy to plug-n-play

  • Short and precise docs to help you setup

  • Built on top of fugu

  • Enjoy

1.10.26

3 years ago

The File System Access API : Pick and read Text Files

The File System Access API allows web apps to read or save changes directly to files and folders on the user's device.

Call the pick-text-file method on pwa

The promise resolves with a text response(contents of the picked text file)

// Do something with the contents...
const contents = await pwa.pickTextFile();

1.10.25

3 years ago

v1.10.25