Skip to main content
Solved

Disable the PWA installation option

  • April 8, 2024
  • 3 replies
  • 89 views

Forum|alt.badge.img+4

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?

Best answer by Mark Jongeling

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!

This topic has been closed for replies.

3 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • Answer
  • April 15, 2024

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!


Forum|alt.badge.img+4
  • Author
  • Vanguard
  • April 16, 2024

Hi Mark, thanks for the quick reply!


Forum|alt.badge.img+4
  • Author
  • Vanguard
  • April 24, 2024

Hi Mark,

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