Config.xml line: xmlns:gap = "http://phonegap.com/ns/1.0"

One might think that the config.xml line
xmlns:gap = “http://phonegap.com/ns/1.0
is not needed any more when one builds with VoltBuilder instead of with PhoneGap.
This line is even included in latest VoltBuilder sample config.xml.
Using the URL http://phonegap.com/ns/1.0 directly one would get error 404 (not found).
Because I got a symtax error message after having commented solely this line I uncommented the line and there - as before - was no error message.
Is there a reason why the line
xmlns:gap = “http://phonegap.com/ns/1.0
still could be needed?

Do you have any lines in your config which start with <gap: ?

The CordovaCamera sample e.g. does have several lines with <gap:
My current config solely has:

<gap:platforms>
   <gap:platform name="android" />
</gap:platforms>

I think I was aware that PG some time ago said gap: was obsolete. Leaving gap: seemed not to hurt.

With these changes (xmlns and gap:) in config I could get a new build:

<widget 
xmlns="https://www.w3.org/ns/widgets"
id = "de.bsommer.fristen"
versionCode = "1"
version = "{version}">

<name>{title}</name>
<description>{description}</description>

<icon src='{icon}' />

<preference name="SplashScreenDelay" value="2000" />
<preference name="AutoHideSplashScreen" value="true" />
<plugin name='cordova-plugin-splashscreen' source='npm' />

<preference name="permissions" value="none"/>

<!-- Platforms: Customize as needed. -->
<platforms>
   <platform name="android" />
</platforms>

<plugin name="cordova-plugin-statusbar" source="npm" />
  <preference name="StatusBarOverlaysWebView" value="{phoneGapStatusBarOverlay}" />
  <preference name="StatusBarBackgroundColor" value="{phoneGapStatusBarColor}" />
  <preference name="StatusBarStyle" value="{phoneGapStatusBarStyle}" />

<plugin name="cordova-plugin-whitelist" source="npm" />
  <allow-navigation href="*" />
  <access origin="*" />
  <allow-intent href="*" />
</widget>

Could config.xml in samples be updated? Might be a bit confusing when samples, volt.build, cordova and AppStudio docs tell slightly different things and it is not explained why this or that.

Good suggestion!

The VoltBuilder Camera sample has a line:
android-versionCode = “{phoneGapBuildCounter}”
while there is no property phoneGapBuildCounter.
There is a new property BuildCounter.
Testing if one could replace “{phoneGapBuildCounter}”
with “{BuildCounter}” I would get
image

Makes me assume that the android-versionCode line is redundant or obsolete?

The BuildCounter property is called phoneGapBuildCounter internally - so keep it as is.

android-versionCode = “{phoneGapBuildCounter}”

Thanks. OK.