Skip to content

Pending PWA rebranding. #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions examples/pwa/LICENSE
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
The PSPDFKit Sample applications are licensed with a modified BSD
The Nutrient Sample applications are licensed with a modified BSD
license. In plain language: you're allowed to do whatever you wish
with the code, modify, redistribute, embed in your products (free or
commercial), but you must include copyright, terms of usage and
disclaimer as stated in the license.

You will require a commercial PSPDFKit License to run these examples
You will require a commercial Nutrient License to run these examples
in non-demo mode. Please refer to sales@nutrient.io for details.

Copyright © 2018-present PSPDFKit GmbH.
Expand All @@ -22,10 +22,10 @@ that the following conditions are met:
documentation and/or other materials provided with the
distribution.

- Redistributions of PSPDFKit Samples must include attribution to
- Redistributions of Nutrient Samples must include attribution to
PSPDFKit, either in documentation or other appropriate media.

- Neither the name of the PSPDFKit, PSPDFKit GmbH, nor its developers
- Neither the name of Nutrient, PSPDFKit GmbH, nor its developers
may be used to endorse or promote products derived from
this software without specific prior written permission.

Expand Down
6 changes: 3 additions & 3 deletions examples/pwa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This example shows how to integrate [Nutrient Web SDK](https://www.nutrient.io/w

You can check out a live preview here: [www.nutrient.io/pwa](https://www.nutrient.io/pwa/).

This sample application features a basic PWA setup including a [manifest](src/manifest.js) and a [service worker](src/serviceWorker.js), to allow your app to function offline as well as an [IndexedDB storage](src/scripts/PSPDFKitFileStorage.js) for PDFs. This way, your files are persisted even after you close the browser.
This sample application features a basic PWA setup including a [manifest](src/manifest.js) and a [service worker](src/serviceWorker.js), to allow your app to function offline as well as an [IndexedDB storage](src/scripts/NutrientFileStore.js) for PDFs. This way, your files are persisted even after you close the browser.

In this example we use [workbox](https://github.com/GoogleChrome/workbox), a popular PWA framework by Google.

Expand All @@ -15,7 +15,7 @@ In this example we use [workbox](https://github.com/GoogleChrome/workbox), a pop

## Support, Issues and License Questions

PSPDFKit offers support for customers with an active SDK license via https://www.nutrient.io/support/request/
Nutrient offers support for customers with an active SDK license via https://www.nutrient.io/support/request/

Are you [evaluating our SDK](https://www.nutrient.io/try/)? That's great, we're happy to help out! To make sure this is fast, please use a work email and have someone from your company fill out our sales form: https://www.nutrient.io/sales/

Expand Down Expand Up @@ -68,7 +68,7 @@ To reduce the amount of boilerplate, we use [workbox](https://github.com/GoogleC

We also use workbox-cli, another library from Google, to automatically generate a Manifest file for our ServiceWorker pre-cache when we run `npm start`. You can find this configuration file in [`./src/workbox-config.js`](src/workbox-config.js).

To allow PDFs to be persisted locally so they do not need to be downloaded again, we've created the [`PSPDFKitFileStore`](src/scripts/PSPDFKitFileStore.js) library. It uses a lightweight and `Promise`-based wrapper around the IndexedDB API called [`idb`](https://github.com/jakearchibald/idb) under the hood. The code is designed to work independently of the PWA example and can also be used in Internet Explorer 11.
To allow PDFs to be persisted locally so they do not need to be downloaded again, we've created the [`NutrientFileStore`](src/scripts/NutrientFileStore.js) library. It uses a lightweight and `Promise`-based wrapper around the IndexedDB API called [`idb`](https://github.com/jakearchibald/idb) under the hood. The code is designed to work independently of the PWA example and can also be used in Internet Explorer 11.

## Mobile Support

Expand Down
Loading
Loading