This is interesting for institutions using a branded app, sometimes they prefer to forbid users to use the official app.
In order to do that we need to return via get_public_config:
- The list of disabled features (we'll create a new "Official app" new one)
- The app unique id for Google Play and the App Store
- The setuplink field that contains the URL of the apps download page
When the user tries to access a site URL we should check if "Official app" disabled feature is present and display them an informative message with a link to the setuplink (if is set an different than the official one) or to the Google Play or Apple app stores entry (if they are not the official ones).
If the setup and apps ids are the same that the official one, even if the setting for disabling the official app is on, we should allow the user to use the app.