progressive-web-apps

TWA - Digital Asset Link OK but address bar still visible

人盡茶涼 提交于 2020-08-08 06:44:10
问题 I developed a Progressive Web App and I want to publish it in the Play Store as a Trusted Web Activity. It's https://www.bagnoadriatico.it Following this guide https://developers.google.com/web/updates/2019/02/using-twa I downloaded the example from https://github.com/GoogleChromeLabs/svgomg-twa I changed the configuration with def twaManifest = [ applicationId: 'com.simovinci.bagnoadriatico', hostName: 'www.bagnoadriatico.it', // The domain being opened in the TWA. launchUrl: '/mobile', //

How to run a PWA in a Intranet without a trusted SSL certificate?

夙愿已清 提交于 2020-08-01 12:41:02
问题 I'm setting up a Intranet environment to run a PWA for business purposes in future. But I encountered a problem regarding SSL certificates. In my plan: Everything is on a local network (maybe with no internet access), with a dedicated server in it (i'm using ubuntu server), the user access the main page with a computer or phone, in which he install a PWA on his device. PWA needs HTTPS to work, and I can self-sign certificates (i'm doing it for testing), but it's not a solution for

How to run a PWA in a Intranet without a trusted SSL certificate?

核能气质少年 提交于 2020-08-01 12:40:28
问题 I'm setting up a Intranet environment to run a PWA for business purposes in future. But I encountered a problem regarding SSL certificates. In my plan: Everything is on a local network (maybe with no internet access), with a dedicated server in it (i'm using ubuntu server), the user access the main page with a computer or phone, in which he install a PWA on his device. PWA needs HTTPS to work, and I can self-sign certificates (i'm doing it for testing), but it's not a solution for

How to run a PWA in a Intranet without a trusted SSL certificate?

痴心易碎 提交于 2020-08-01 12:40:16
问题 I'm setting up a Intranet environment to run a PWA for business purposes in future. But I encountered a problem regarding SSL certificates. In my plan: Everything is on a local network (maybe with no internet access), with a dedicated server in it (i'm using ubuntu server), the user access the main page with a computer or phone, in which he install a PWA on his device. PWA needs HTTPS to work, and I can self-sign certificates (i'm doing it for testing), but it's not a solution for

Please ensure that your service worker file contains the following:/(const precacheManifest =)\[\](;)/

时光怂恿深爱的人放手 提交于 2020-07-23 08:54:05
问题 I am quite new to react React workbox. I am trying to make my Electron react App have the ability to cache all images and data to be made available while it is offline. This is exactly what I am trying to accomplish as in this youtube video. from 14:00 to 21:00 minutes: Building PWAs with React and Workbox, /watch?v=Ok2r1M1jM_M But this command is giving "start-sw":"workbox injectManifest workbox-config.js && workbox copylibraries build/ && http-server build/ -c 0" This error: C:\Users\rajesh

Please ensure that your service worker file contains the following:/(const precacheManifest =)\[\](;)/

生来就可爱ヽ(ⅴ<●) 提交于 2020-07-23 08:53:04
问题 I am quite new to react React workbox. I am trying to make my Electron react App have the ability to cache all images and data to be made available while it is offline. This is exactly what I am trying to accomplish as in this youtube video. from 14:00 to 21:00 minutes: Building PWAs with React and Workbox, /watch?v=Ok2r1M1jM_M But this command is giving "start-sw":"workbox injectManifest workbox-config.js && workbox copylibraries build/ && http-server build/ -c 0" This error: C:\Users\rajesh

Please ensure that your service worker file contains the following:/(const precacheManifest =)\[\](;)/

不打扰是莪最后的温柔 提交于 2020-07-23 08:52:26
问题 I am quite new to react React workbox. I am trying to make my Electron react App have the ability to cache all images and data to be made available while it is offline. This is exactly what I am trying to accomplish as in this youtube video. from 14:00 to 21:00 minutes: Building PWAs with React and Workbox, /watch?v=Ok2r1M1jM_M But this command is giving "start-sw":"workbox injectManifest workbox-config.js && workbox copylibraries build/ && http-server build/ -c 0" This error: C:\Users\rajesh

Unable to get Gradle wrapper properties

帅比萌擦擦* 提交于 2020-07-14 06:34:33
问题 I get the following error when I am trying to import the project. Unable to get Gradle wrapper properties from: F:\projects\Polyfills\cordova\platforms\android\gradle\wrapper\gradle-wrapper.properties Would you like to recreate the wrapper using the latest supported Gradle version? Click 'OK' to recreate files, or 'Cancel' to manually set the path of a local Gradle distribution. 回答1: It seems like the distributionUrl is missing in gradle-wrapper.properties of your project. gradle-wrapper

Unable to get Gradle wrapper properties

我们两清 提交于 2020-07-14 06:34:06
问题 I get the following error when I am trying to import the project. Unable to get Gradle wrapper properties from: F:\projects\Polyfills\cordova\platforms\android\gradle\wrapper\gradle-wrapper.properties Would you like to recreate the wrapper using the latest supported Gradle version? Click 'OK' to recreate files, or 'Cancel' to manually set the path of a local Gradle distribution. 回答1: It seems like the distributionUrl is missing in gradle-wrapper.properties of your project. gradle-wrapper

How to maintain login status in a PWA initially loaded via Safari 14/iOS 14?

早过忘川 提交于 2020-07-07 15:12:04
问题 Our requirement is to have our users login to an app via a URL and, having added the app to their homescreen as a PWA, maintain that logged-in status, so that a second login to the installed PWA is not required . This is certainly possible under Android/Chrome where the logged-in status can be initially stored and accessed by the PWA via a variety of mechanisms (including cookie, IndexedDB, cache). However, it now appears to us that a PWA under iOS 14/iPadOS 14 is tightly sandboxed and Safari