Build Scalable Progressive Web Apps. Start via docs.pwafire.org site.
All async responses returned have a new success
value, a boolean type which replaces type
value, a string as shown below;
// Async API...
const res = await pwa.CopyText(text);
// Lower versions...
if(res.type === 'success') {
// Do something...
}
// New version starting v3.0.0
if(res.success) {
// Do something...
}
Progressive Web Apps API of APIs. All New Web Capabilities as one Package.
npm i pwafire --save
Note that you can still use a specific version over the pwafire cdn
import pwafire from "https://unpkg.com/pwafire/esm/index.js";
const pwa = pwafire.pwa;
import pwafire from "https://unpkg.com/[email protected]/esm/index.js";
const pwa = pwafire.pwa;
import pwafire from "pwafire";
const pwa = pwafire.pwa;
pwa.Share(data);
Preview Documentation : Get Started
Feature | Feature |
---|---|
Custom Install Button | Offline Capabilities |
Background Sync | Native App Install Banner |
Badging | Web Share |
Contact Picker | Copy Text |
Share Target | Copy Images |
Screen Wake Lock | Push Notifications |
View All, 10 + Here |
Follow our Developer Account on Twitter. Get Live Help on our Slack Workspace.
Communication Channel | Talk to us |
---|---|
Twitter Chat | Tweet us |
This project exists thanks to all the people who contribute. [Contribute].
Become a financial contributor and help us sustain our community. [Contribute]
Support this project with your organization. Your logo will show up here with a link to your website [Contribute]
Propose your Feature by Creating an Issue
License | Link |
---|---|
MIT License | View License |