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

feat(browser): Use FadeSplashScreenDuration from config.xml on browser platform #151

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

royalrex
Copy link

Platforms affected

Browser

What does this PR do?

Use FadeSplashScreenDuration from config.xml on browser platform

What testing has been done on this change?

Manually added the plugin code to production app and published. No errors discovered.

Checklist

  • Reported an issue in the JIRA database
  • Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
  • Added automated test coverage as appropriate for this change.

Copy link

@IgneButene IgneButene left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is exactly what I need - 1s is way too long for splash-screen, especially on the browser.

innerLocalSplash.style["-webkit-transition"] =
innerLocalSplash.style["-moz-transition"] =
innerLocalSplash.style["-ms-transition"] =
innerLocalSplash.style["-o-transition"] = transitionCssString;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uh, does this work this way with foo = bar = baz = value;?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes - wonders of JS :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other thing I'd like to discuss: Do we even need the prefixes besides for the IE? Looking at caniuse (https://caniuse.com/#feat=css-transitions) the only browser which does not support it unprefixed is the IE <10

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess prefixes could be left out .. just didn't want to mess too much with the code.

Copy link
Member

@janpio janpio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, needs manual testing though.

@janpio janpio changed the title Use FadeSplashScreenDuration from config.xml on browser platform feat(browser): Use FadeSplashScreenDuration from config.xml on browser platform Jul 2, 2019
@royalrex royalrex closed this Nov 21, 2022
Sebbe Selvig added 3 commits November 21, 2022 09:05
@royalrex royalrex reopened this Nov 21, 2022
@royalrex
Copy link
Author

Updated this PR so it can be merged after being left for ~2.5yrs 🙈

@royalrex royalrex requested review from timbru31 and janpio and removed request for timbru31 January 25, 2023 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants