Closed brettmarl closed 9 months ago
findings:
was able to reproduce in A10 emulator
debug trace showed native splash::hide getting called, to no effect
tried shifting location of Splash::hide() call to earlier in callstack and even ignoring the promise - both attempts did not fix the problem.
Also - on A10 - splash shows solid blue without logo - doesn't look good.
If I edit capacitor.config and change the mechanism to use launchAutoHide:true then it seems to work. However, this will change behavior to show post 3s delay on other android versions - and could have more regressive effects. I'm not sure this change is worth the risk given A10 is obsolete and not longer supported by Google, as their will likely be other A10 specific bugs.
Wonder if I can have version-specific android configs?
Need to sleep on this one..
Fixed. I don't think it has detrimental impact to newer android builds. The splash will be hidden at 3s by this change, but could also be hidden by useEffect bindings in app-load, it's more likey the latter will trigger on newer, faster phones and so the user won't perceive a difference.