Skip to main content
Solved

Disable the PWA installation option


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!

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

3 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 3921 replies
  • 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

Hi Mark, thanks for the quick reply!


Forum|alt.badge.img+4

Hi Mark,

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings