[ 
https://issues.apache.org/jira/browse/CB-13392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16337365#comment-16337365
 ] 

ASF GitHub Bot commented on CB-13392:
-------------------------------------

janpio 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_r163511563
 
 

 ##########
 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 : 
+```xml
+<widget version="1.0" >...</widget>
+```
+
+
+###### Prefix app version
+To set a prefix version add the following preference to `config.xml`:
+```xml
+<preference name="SplashScreenAppVersionPrefix" value="v" />
+```
+In this case you'll have `v1.0`
 
 Review comment:
   Suggestion:
   This will be combined with your `version` value to e.g. `v1.0`.

----------------------------------------------------------------
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


> Display app version on splashscreen
> -----------------------------------
>
>                 Key: CB-13392
>                 URL: https://issues.apache.org/jira/browse/CB-13392
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-plugin-splashscreen
>    Affects Versions: Master
>         Environment: Available on Android and iOS.
>            Reporter: Jonathan Corral
>            Priority: Minor
>              Labels: beginner, features
>   Original Estimate: 14h
>  Remaining Estimate: 14h
>
> This feature allows you to display the app version number at splashscreen's 
> bottom.
> You could configure the color, size and position (left, center, right) with 
> preferences into config.xml.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to