Code Monkey home page Code Monkey logo

Comments (6)

alvarezguille avatar alvarezguille commented on June 23, 2024

Check if explicit scope helps, right now manifest uses default

https://developers.google.com/web/fundamentals/web-app-manifest/#scope

from bakery-app-starter-flow-spring.

alvarezguille avatar alvarezguille commented on June 23, 2024

Also check if "start_url": "login", makes sense

from bakery-app-starter-flow-spring.

johannesh2 avatar johannesh2 commented on June 23, 2024

I can't reproduce this anymore with the internal demo, but it still fails with the public demo.

from bakery-app-starter-flow-spring.

alvarezguille avatar alvarezguille commented on June 23, 2024

Maybe it was fixed when merging #634, we can verify with next deploy to public demo

from bakery-app-starter-flow-spring.

vlukashov avatar vlukashov commented on June 23, 2024

Turns out when the exact same .war file is deployed to a private app.fi instance, the issue does not happen. The only difference I have spotted is that demo.vaadin.com responds to the login POST request with 302 (Found) and Location: http://bakery-flow.demo.vaadin.com/ whereas my own app.fi instance responds with Location: /.

Note no https in the demo response: http://bakery-flow.demo.vaadin.com/

My current best guess is that Chrome on Android is not very strict in enforcing the PWA scope and allows handling this response inside the PWA as long as it eventually redirects to HTTPS (which does happen). And Safari is strict and immediately opens the browser as soon as the Location URL does not match the PWA scope.

Needs more investigation to figure out why demo.vaadin.com behaves that way.

from bakery-app-starter-flow-spring.

vlukashov avatar vlukashov commented on June 23, 2024

Fixed by the service desk and Mikael in nginx config for:

  • bakery-flow.demo.vaadin.com
  • bakery-flow-spring.app.fi

from bakery-app-starter-flow-spring.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.