breautek commented on issue #265:
URL: 
https://github.com/apache/cordova-plugin-splashscreen/issues/265#issuecomment-1242318401

   For android, I don't think this is possible anymore at all because we are 
now using Android 12 splashscreens.
   
   The rationale of using Android's new splashscreen system is because it is 
basically enforced moving forward. For older android devices, we use a 
compatibility library provided by Android to patch in support for the Android 
splashscreen API.
   
   This API is pretty limiting, where only the background color and an app icon 
can be supplied to the splashscreen.
   
   A branding image, which will be placed near the bottom of the splashscreen, 
can be provided. So it may be possible to provide an image that contains such 
text, but it is still an image. Therefore it cannot be dynamic to display a 
"Licensed to" text, and if it should display a version, the image would need to 
be updated on every version release.
   
   Additionally, the branding image is buggy inside the current cordova 
implementation and the branding image **is not** implemented in the compability 
library so branding images won't be shown on older devices.
   
   None of these are really good solutions, but it's the best solution given 
the native APIs available to us (at least on the Android side). So my initial 
thoughts on the [alternative 
solution](https://github.com/apache/cordova-plugin-splashscreen/issues/265#issuecomment-635296597)
 I think still stands.
   
   It may be possible to do such thing on iOS (Not really an iOS expert, but I 
believe there are opportunities to dynamically add UI on top of the splash 
screen), but if a feature cannot be implemented in both platforms, then from a 
Cordova standpoint, then I feel like we (cordova maintainers) should refrain 
adding the feature unless if it is critical for the function of the platform.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to