GithubHelp home page GithubHelp logo

Comments (7)

PEConn avatar PEConn commented on August 16, 2024

from svgomg-twa.

strygo avatar strygo commented on August 16, 2024

Hi Peter,

Thank you for the thorough reply. This behavior you describe makes sense, and what I would expect to see.

Using the sample app, and following the steps documented here, I added the sample's app's domain. Upon doing this, the app appears to run in TWA mode (the address bar isn't shown). I also see a "You are using an unsupported feature flag: CommandLineOnNonRooted. Stability and security will suffer." Is it possible it still isn't fully in TWA mode?

Because I thought this might be the case, I tried loading a fully signed version of my app (which derives from the sample). When I do that, the address bar also isn't shown, but the status bar still doesn't behave how I would expect.

In my app, I did discover a behavior that may help identify the source of the issue.

  1. Launch app into TWA mode (no address bar shown) - Status Bar: taken from STATUS_BAR_COLOR meta-data (INCORRECT)
  2. Navigate to a different domain (address bar shown) - Status Bar + Top Bar: taken from STATUS_BAR_COLOR meta-data (CORRECT)
  3. Navigate back to TWA page (no address bar shown) - Status Bar: taken from meta theme-color tag (CORRECT)

So it seems that there might be an issue with initialization. Any other ideas on your end? Thanks for your help.

Steve

from svgomg-twa.

PEConn avatar PEConn commented on August 16, 2024

This sounds like this is a problem our (Chrome's) end. I don't think the "unsupported feature flag" warning should be effecting this.

Can I get the full version of Chrome you're using?

from svgomg-twa.

strygo avatar strygo commented on August 16, 2024

Sure. It's 77.0.3865.92. If you need any other info from me, please let me know.

from svgomg-twa.

PEConn avatar PEConn commented on August 16, 2024

I can reproduce this issue on Chrome Stable, however it's working as expected on Chrome Canary - I believe it was fixed with https://chromium-review.googlesource.com/c/chromium/src/+/1771316 .

from svgomg-twa.

strygo avatar strygo commented on August 16, 2024

I've confirmed I'm seeing the correct behavior with Chrome Canary installed as well. Thanks for the help!

from svgomg-twa.

PEConn avatar PEConn commented on August 16, 2024

Great! The fix should be in Chrome 79, which should get to Chrome Beta on mid October and to Stable in mid December.

from svgomg-twa.

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.