Add support for splashscreens added using LaunchStoryboard#1
Add support for splashscreens added using LaunchStoryboard#1jayj wants to merge 1 commit intocodeborne:masterfrom
Conversation
|
@jayj Thank you for the contribution! |
|
Thanks @asolntsev That's fine! I'll just keep using my fork. |
|
same as support new android-x... @asolntsev any update for a new release? |
|
@WuglyakBolgoink Sorry, no news. We still don't plan to maintain Cordova plugins. |
|
@asolntsev ok, good to know |
|
then, for everyone who need this fix, please use my fork https://github.com/WuglyakBolgoink/cordova-plugin-privacyscreen |
Hi,
This PR adds support for splashscreens added using Launch storyboard images. Without this it just shows an black screen on iOS in the app switcher.
Uses the same way to the get image as the Cordova Splash screen plugin: (https://github.com/apache/cordova-plugin-splashscreen/blob/rel/5.0.3/src/ios/CDVSplashScreen.m#L196-L200)
UIViewContentModeScaleAspectFillensures the aspect ratio is correct (https://github.com/apache/cordova-plugin-splashscreen/blob/rel/5.0.3/src/ios/CDVSplashScreen.m#L360-L366)