While configuring a Vahana 2 build, some security settings like allow screenshot, enable debugger etc. are in a common section. If I get a requirement that screenshot is allowed in website but not on android mobile application, then how do I handle it?
Hi @vipashchit.chaturved, This requirement can be fulfilled easily because we generate different builds for the web and Android. So, these common functionalities can be different on both builds.
As you correctly pointed out, the âDownloadsâ page of vDesigner-2.0 includes a âSettingsâ tab where you can find security settings such as âAllow Screenshotâ and âEnable Debugger.â Follow the steps below to meet your requirement:
- Open the âDownloadsâ section and navigate to the âSettingsâ pane:
-
Case-1: Screenshot is allowed in the âWeb Buildâ:
- In the âSettingsâ page, select your âEnvironment.â
- Go to the âSecurityâ section and check the box for "Allow Screenshot."
- Click the âSaveâ button at the bottom of the screen. You will then be redirected to the âDownloadsâ section.
- Click on âCreate New Buildâ and select the âWebâ option:
-
Case-2: Screenshot is not allowed in the âAndroid Buildâ:
- Repeat the steps above, but this time uncheck the option for âAllow Screenshot.â After saving the settings, create a new âAndroidâ build.
Note:
- When you select the âAllow Screenshotâ option in the build settings, remember to also select the same option in the âPage Propertiesâ on the Designerâs Canvas:
- Only pages with this option selected will allow you to capture screenshots on them.
Following these steps will enable you to generate a âWeb-buildâ that allows screenshots.
1 Like