Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Update generated resources with command #165

Closed
roman-rr opened this issue Oct 12, 2020 · 5 comments
Closed

[Feature] Update generated resources with command #165

roman-rr opened this issue Oct 12, 2020 · 5 comments

Comments

@roman-rr
Copy link

Please update command ionic cordova resources with these files also:

<splash src="resources/ios/splash/Default@2x~universal~anyany.png" />
<splash src="resources/ios/splash/Default@2x~universal~comany.png" />
<splash src="resources/ios/splash/Default@2x~universal~comcom.png" />
<splash src="resources/ios/splash/Default@3x~universal~anyany.png" />
<splash src="resources/ios/splash/Default@3x~universal~anycom.png" />
<splash src="resources/ios/splash/Default@3x~universal~comany.png" />
<splash src="resources/ios/splash/Default@2x~iphone~anyany.png" />
<splash src="resources/ios/splash/Default@2x~iphone~comany.png" />
<splash src="resources/ios/splash/Default@2x~iphone~comcom.png" />
<splash src="resources/ios/splash/Default@3x~iphone~anyany.png" />
<splash src="resources/ios/splash/Default@3x~iphone~anycom.png" />
<splash src="resources/ios/splash/Default@3x~iphone~comany.png" />
<splash src="resources/ios/splash/Default@2x~ipad~anyany.png" />
<splash src="resources/ios/splash/Default@2x~ipad~comany.png" />

It should solve black screen bug when application launched.
Related issue

@imhoffd imhoffd transferred this issue from ionic-team/ionic-cli Oct 12, 2020
@roman-rr
Copy link
Author

roman-rr commented Oct 14, 2020

Note

Enough to just rename resources/ios/splash/Default@2x~iphone.png to resources/ios/splash/Default@2x~iphone~anyany.png for solve.
In folder and config.xml also. Don't sure if this is proper way, but works.

@roman-rr
Copy link
Author

@dwieeb please pay attention.

@mlynch
Copy link
Contributor

mlynch commented Nov 1, 2021

Is this an issue only on Cordova or does Capacitor have this as well? We're dropping Cordova support in 1.0 but if it's also an issue in Capacitor we will definitely see about fixing it. Will do some investigating in the meantime

@mlynch mlynch modified the milestone: 1.0.0 Nov 1, 2021
@roman-rr
Copy link
Author

roman-rr commented Nov 2, 2021

@mlynch Don't sure about capacitor, i thought that this was been cordova issues. Maybe this issue already solved by cordova team, need to investigate.

@mlynch
Copy link
Contributor

mlynch commented Oct 2, 2022

@capacitor/assets properly supports these. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants