CodeWithOz commented on issue #217: URL: https://github.com/apache/cordova-plugin-splashscreen/issues/217#issuecomment-669116760
@janpio hey I'm considering how to deactivate the auto-hide functionality right from the native code because the splashscreen still automatically hides when I set `AutoHideSplashScreen` to `"false"` in `config.xml`. I forked this repo and tried: - changing [this line](https://github.com/apache/cordova-plugin-splashscreen/blob/f41610c2f7850b82325f0b35decbbcd6008a99cc/src/android/SplashScreen.java#L112) from ```js boolean autoHide = preferences.getBoolean("AutoHideSplashScreen", true); ``` to ```js boolean autoHide = false; ``` This didn't work (the splashscreen still hides automatically). - commenting out [this line](https://github.com/apache/cordova-plugin-splashscreen/blob/f41610c2f7850b82325f0b35decbbcd6008a99cc/src/android/SplashScreen.java#L337). This also didn't work. What else can I try or am I missing something? I have tried creating a simple reproduction (see my comment above) but the plugin works as expected there. Thanks! ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
