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

ShowSplashScreenSpinner doesn't show spinner on iOS #1503

Closed
3 tasks done
giuseppelanzi opened this issue Nov 12, 2024 · 4 comments
Closed
3 tasks done

ShowSplashScreenSpinner doesn't show spinner on iOS #1503

giuseppelanzi opened this issue Nov 12, 2024 · 4 comments

Comments

@giuseppelanzi
Copy link

Bug Report

Problem

Cordova@12 with [email protected].
Setting ShowSplashScreenSpinner to true in the config.xml preference tag doesn't give the attended result.

What is expected to happen?

While showing a splashscreen the app should show a spinner too.

What does actually happen?

The splash is shown, while the spinner is not.

Information

Tested using this config.xml portion.

<platform name="ios">
        <allow-intent href="itms:*" />
        <allow-intent href="itms-apps:*" />
        <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"/>
    </platform>
    <preference name="AutoHideSplashScreen" value="false"/>
    <preference name="ShowSplashScreenSpinner" value="true"/>

Command or Code

Create a new project, use the portion of configuration above and compile on iOS.

Environment, Platform, Device

Tested with iPad with iOS 18.0.1.

Version information

cordova@12
[email protected]
iPad - iOS 18.0.1
XCode 16

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above
@breautek
Copy link
Contributor

I'm moving this issue to the cordova-ios repo for better visibility since the splashscreen implementation is now part of the core platform.

@breautek breautek transferred this issue from apache/cordova Nov 12, 2024
@dpogue
Copy link
Member

dpogue commented Nov 12, 2024

The ShowSplashScreenSpinner preference isn't supported on iOS anymore after the move to Storyboard-based splashscreens. (It also, for what it's worth, doesn't appear to be supported on Android anymore with the newer splashscreens there.)

@dpogue dpogue closed this as completed Nov 12, 2024
@dpogue dpogue closed this as not planned Won't fix, can't repro, duplicate, stale Nov 12, 2024
@breautek
Copy link
Contributor

breautek commented Nov 12, 2024

The ShowSplashScreenSpinner preference isn't supported on iOS anymore after the move to Storyboard-based splashscreens. (It also, for what it's worth, doesn't appear to be supported on Android anymore with the newer splashscreens there.)

I'm gunna create an issue for the docs if that's the case because it's documented as supported here which is the newer doc page for the core splashscreen implementations.

Ref: apache/cordova-docs#1381

@giuseppelanzi
Copy link
Author

Thanks everybody. Got it :)

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

3 participants