johnlejardinnier commented on a change in pull request #148: CB-13392(Android & iOS): Display app version on splashscreen URL: https://github.com/apache/cordova-plugin-splashscreen/pull/148#discussion_r163686411
########## File path: README.md ########## @@ -376,6 +376,36 @@ To disable the splashscreen add the following preference to `config.xml`: <preference name="SplashScreenDelay" value="0"/> ``` +##### Display app version (Android, iOS) + +To display your app version on splashscreen add the following preference to `config.xml`: +```xml +<preference name="ShowSplashScreenAppVersion" value="true" /> +``` + +Now just configure your app version into the widget version attribute, like that : Review comment: I'm not sure to understand this part : `Is there a way to not do that?` The widget `version` attribute is required (cf. https://cordova.apache.org/docs/en/latest/config_ref/index.html). So, if i remove preference `ShowSplashScreenAppVersion`, the app version will be always displayed on splashscreen. Some users don't want this behaviour. What would i mean in the doc is that you need to add this preference to enable display app version. If i'm wrong, do not hesitate to be more explicit ;) Sorry, i need to improve my english. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org