Solved

Disable the PWA installation option

  • 8 April 2024
  • 3 replies
  • 53 views

Userlevel 1
Badge +2

Due to a problem we have with the OpenID Connect authentication provider in combination with PWA we would like to disable the “Install as PWA” from the menu so end-users cannot use this functionality and just use the browser based variant. Does anyone know if and how PWA installation can be disabled?

icon

Best answer by Mark Jongeling 15 April 2024, 08:52

View original

3 replies

Userlevel 7
Badge +23

Hi Robert,

That is possible.

In the config.json, list the following property and value:

installNotificationDisabled true

(Universal GUI setup | Thinkwise Documentation (thinkwisesoftware.com))

For also hiding the option in the User menu, add or edit your custom.css with the following code:

[data-testid="topbar__profile-menu__install"] {
    display: none;
}

Hope this helps!

Userlevel 1
Badge +2

Hi Mark, thanks for the quick reply!

Userlevel 1
Badge +2

Hi Mark,

config.json already had the mentioned setting as specified. Changed the custom.css and it works. Thanks for the advice!

Reply