You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/05/29 00:45:49 UTC
[GitHub] [cordova-plugin-splashscreen] mghayour edited a comment on issue #265: Welcome message
mghayour edited a comment on issue #265:
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/265#issuecomment-635691758
@breautek Thank you for your comment
These are my anwers to your concerns
1. Thats true, you can not localize or customize text during splash screen, but after the app launched, we can do it, so we save our message somewhere, on the next launch, saved message will show to the user. (so on the first lunch we have no any text in splash screen, and at the next lunch we have our localized text)
2. It could happen (at least on Android layout), you can have a text field above image. so "NO" we dont need to generate images each time, a simple text field is enough
3. I undrestand that you want to avoid complexity, a simple text field with default system font is enough! we dont need font (at least at this version) and there is no problem with font size
This is how user can use this feature:
```js
if (!proversion) {
navigator.splashscreen.setText("",12); // (text, font size)
} else {
navigator.splashscreen.setText("Licenced to" + userfullname, 16);
}
```
As you see, there is no complexity or need to css or ..
I undrestand that you want to give more freedom to developers, but it dosent need! "Simple is the best" just a text field at center bottom of splashscreen is enough, i think lunching another small app before orginal application with the exact same splash image would have more complexity than this solution!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org