production
2 Ways to Install or Setting PWA on Blogger
Theme62.com

Table of Contents
2 Ways to Install or Setting PWA on Blogger

PWA stands for Progressive Web App which can make a website or blog like a mobile application in general.

That way, accessing the website does not have to be opened through a browser, but through the application icon on the mobile home page.

For a more complete explanation about PWA, you can read the following article:

What is PWA (Progressive Web App) and Case Studies
What is PWA (Progressive Web App) and Case Studies
https://theme62.com/en/blog/progressive-web-app

In this tutorial SPECIALLY for users Template Blogger Theme62.

MyTemplate Plugin

What is Theme62?

Theme62 is the best blogger template provider website with features inspired by WordPress, has support for many plugins and easy template configuration without touching any code.

Back to the main topic, how to install or set PWA on this blogger has 2 ways/methods:

  1. Simple, you just need to activate it via the PWA plugin in Dashboard Template, no other configuration .
  2. Advanced, you have to create a Worker on Cloudflare, I'll explain later.

What is the difference between the two?

Simple

Advanced

How to Install PWA with "Simple" method

1. Go to Theme62 > My License > Choose your blog.

2. Go to menu Plugin > Progressive Web App.

3. Activate the Progressive Web App plugin, and select the Simple method.

Simple PWA Plugin

4. Then update the template.

5. Done..

How to add a blog to the mobile homepage?

Visit your blog in a browser (eg Google Chrome), then tap the 3 dots icon > Add to Home Screen

PWA Install Homescreen

How to Install PWA with "Advanced" method

Here I assume I have created a Cloudflare account and your blog domain is already connected to Cloudflare, if not you can follow the following tutorial:

Cara Setting Custom Domain Blogger Menggunakan Cloudflare
Cara Setting Custom Domain Blogger Menggunakan Cloudflare
https://www.igniel.com/2019/06/cara-custom-domain-blogger-cloudflare.html

Then proceed with the following steps:

1. Sign in to your Cloudflare account.

2. Click on the Workers menu.

3. Fill in the name of the Workers subdomain that will be used, you are free to fill in anything as long as it is available, then click Set up.

Workers Setup Subdomain

4. Select Continue with Free.

Workers Choose Plan

5. At this stage we have successfully created Workers, then we will create a new Service for Theme62, click menu Workers > Create a Service.

Workers Create Service

6. Rename it "theme62", and click Create service

Workers Create Service Name

7. Replace all scripts with below, then click Save and Deploy

	const Theme62 = async event => {
	const url = new URL(event.request.url);
	const param = url.searchParams;
	const pathname = param.get('path') ?? '';
	const filename = url.pathname.substr(2);
	const response = await fetch(`https://theme62.pages.dev/${pathname}/${filename ? filename : 'workers-test'}`);
	const { headers, status } = response;
	return new Response(await response.text(), {
		status: status,
		headers: {
			'content-type': headers.get('content-type')
		}
	})
}
addEventListener('fetch', event => {
	return event.respondWith(Theme62(event));
});
Workers Service Edit

8. After that, go back to the Cloudflare Dashboard page > Workers > Triggers, and click Add route

Workers Route

9. Fill in as follows, then click Add route

Customize your blog's domain.

Workers Route Add

10. At this stage the Service for Theme62 has been installed, to check if it is installed correctly, try to access your blog's domain by adding an "@" sign behind it, like this :

If it looks like this, then it's installed correctly.

Workers Test

However, if the error 404 Page not found appears, please follow the guidelines for points 11 and 12 below.

11. Return to the Cloudflare Dashboard > SSL/TLS page, and select Full

SSL Full

12. Back to Cloudflare Dashboard > DNS page, on ghs.google.com set proxy status to Proxied.

DNS Proxied

Try again at point 10, it should be installed correctly.

13. Then, go to Theme62 > My License Select your blog.

14. Go to menu Plugin > Progressive Web App.

15. Activate the Progressive Web App plugin, and select the Advanced method.

Advanced PWA Plugins

16. Then update the template.

17. Done..

How to add a blog to the mobile homepage?

Visit your blog in a browser (eg Google Chrome), then tap Add to Home Screen that appears on the blog.

PWA Install Mobile

Or you can also use the desktop by clicking the install button on the top right.

PWA Install Desktop

Well, that's 2 Ways to Install or Setting PWA on Blogger, if you have questions about this article, chat in the comments column yes :)