Phonegap again

iOS apps now need to be 64-bit, so 1 old app, created in 2014 and never updated since, needs to be updated… latest version will be Phonegap 7.0.1

So:
change the config.xml to the new compiler-version
upload to Phonegap Build to compile and ERROR
create any missing icons and splashscreens (compile and ERROR)
change more in the config.xml to get it to meet the new requirements (compile and ERROR)
Just try and try again…
Finally get the App to recompile without errors, so put it on the test-devices and see if they act as they are supposed to… and guess what:
still an ERROR!
Statusbar overlapping the content of the App on iOS …even with config:

<preference name="fullscreen" value="false" />
<preference name="StatusBarOverlaysWebView" value="false"/>

pffff….
so try for a day or two, revert to version 6.5.0 and finally after the Statusbar still overlapping the content of the App on iOS, found this little gem:

https://stackoverflow.com/questions/32944888/ios-status-bar-overlapping-contents/41547470#41547470

Add this to the index.htm

<meta http-equiv="Content-Security-Policy" content="default-src 'self' gap://ready file://* *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'">

Thank you!
Statusbar will not work without the correct Content-Security-Policy.

Phonegap; I can really recommend it to people with enough time to figure out the changes between versions.

edit November 2017:
It also seemed to help to define the colors of the statusbar, other than black #000000 or default:

<preference name="StatusBarBackgroundColor"   value="#333333"/>
<preference name="StatusBarStyle"             value="lightcontent" />