I'm very new to PWAs & push notifications. Completed the entire tutorial properly. Tested everything successfully on localhost, but, the code is having some issues when accessed through my phone using Xampp's apache server. I tried to host the whole app folder online and then test it on my phone, but this time it didn't even work on the PC. Please look into the issue and suggest a possible fix.
Steps to recreate the issue:
1: Complete the push-notification tutorial.
2: Host the app folder locally using Xampp.
3: Access the page on a smartphone.
OR
1: Complete the push-notification tutorial.
2: Host the app folder online using a free hosting website.( I used 000webhost)
3: Access the page on a computer or a smartphone.
I'm very new to PWAs & push notifications. Completed the entire tutorial properly. Tested everything successfully on localhost, but, the code is having some issues when accessed through my phone using Xampp's apache server. I tried to host the whole app folder online and then test it on my phone, but this time it didn't even work on the PC. Please look into the issue and suggest a possible fix.
Steps to recreate the issue: 1: Complete the push-notification tutorial. 2: Host the app folder locally using Xampp. 3: Access the page on a smartphone.
1: Complete the push-notification tutorial. 2: Host the app folder online using a free hosting website.( I used 000webhost) 3: Access the page on a computer or a smartphone.