Skip to main content
All CollectionsPWA Questions
What methods can I use to generate PWAs programmatically?
What methods can I use to generate PWAs programmatically?

Generate PWAs for your users programmatically with different logos, domains, start URLs and more.

Kevin Basset avatar
Written by Kevin Basset
Updated over a week ago

Method 1: use only one PWA

If every PWA is exactly the same (same logo, name, etc) but the only thing that differs is the domain, then you can just create one PWA in Progressier. Our script always integrates with the domain it's on, even if that's not the domain you filled out in the dashboard.

Method 2: create each PWA manually

If you have a small number of PWAs, and they all differ from one another substantially (e.g. they have different logos, domains, caching strategies), the best way is to create them manually one by one.

Method 3: use our API to create PWAs

Instead of creating PWAs manually, we also offer an API that allows you to create them programmatically from your own server. Check out the PWA Creation API. Each PWA created that way is completely standalone. It has its own caching strategies, manifest, and settings.

Method 4: set PWA details at runtime

If your PWAs share the same structure (caching strategies, push notifications), and what differs is the details of the manifest (name, logo, start URL), you can configure the manifest when the page loads without having to create additional PWAs in Progressier. Check out the Dynamic App Manifests feature. This method is probably the best method if you simply need to integrate our install flow onto multiple PWAs sitting on your domain.

Note that some methods may require a specific plan. Please reach out if you'd like access.

Did this answer your question?