You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "erisu (via GitHub)" <gi...@apache.org> on 2025/07/13 07:31:27 UTC

[PR] feat: allow disabling splash screen for embedded Cordova [cordova-android]

erisu opened a new pull request, #1824:
URL: https://github.com/apache/cordova-android/pull/1824

   <!--
   Please make sure the checklist boxes are all checked before submitting the PR. The checklist is intended as a quick reference, for complete details please see our Contributor Guidelines:
   
   http://cordova.apache.org/contribute/contribute_guidelines.html
   
   Thanks!
   -->
   
   ### Motivation and Context
   <!-- Why is this change required? What problem does it solve? -->
   <!-- If it fixes an open issue, please link to the issue here. -->
   
   Provide a way for native apps that embed a Cordova WebView to disable Cordova's Splash Screen.
   
   This is not intended for apps created with Cordova CLI.
   
   ### Description
   <!-- Describe your changes in detail -->
   
   Added `showInitialSplashScreen` method to return `true` by default.
   
   Native apps that embed a Cordova WebView can override this method inside the Activity that extends `CordovaActivity`.
   
   E.g.
   
   ```kotlin
   override fun showInitialSplashScreen(): Boolean {
       return false
   }
   ```
   
   ### Testing
   <!-- Please describe in detail how you tested your changes. -->
   
   - Built native app
   - Override method `showInitialSplashScreen`
   
   ### Checklist
   
   - [x] I've run the tests to see all new and existing tests pass
   - [ ] I added automated test coverage as appropriate for this change
   - [ ] Commit is prefixed with `(platform)` if this change only applies to one platform (e.g. `(android)`)
   - [ ] If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct [keyword to close issues using keywords](https://help.github.com/articles/closing-issues-using-keywords/))
   - [ ] I've updated the documentation if necessary
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [PR] feat: allow disabling splash screen for embedded Cordova [cordova-android]

Posted by "erisu (via GitHub)" <gi...@apache.org>.
erisu merged PR #1824:
URL: https://github.com/apache/cordova-android/pull/1824


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [PR] feat: allow disabling splash screen for embedded Cordova [cordova-android]

Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #1824:
URL: https://github.com/apache/cordova-android/pull/1824#issuecomment-3066692665

   ## [Codecov](https://app.codecov.io/gh/apache/cordova-android/pull/1824?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   All modified and coverable lines are covered by tests :white_check_mark:
   > Project coverage is 72.18%. Comparing base [(`0190d2e`)](https://app.codecov.io/gh/apache/cordova-android/commit/0190d2e33a34db50d1eb2fbc8896211560825bdc?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) to head [(`ec074f5`)](https://app.codecov.io/gh/apache/cordova-android/commit/ec074f57bac6425fcff399f9ad6745fb07558dc8?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   
   <details><summary>Additional details and impacted files</summary>
   
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #1824      +/-   ##
   ==========================================
   - Coverage   72.24%   72.18%   -0.06%     
   ==========================================
     Files          23       23              
     Lines        1841     1841              
   ==========================================
   - Hits         1330     1329       -1     
   - Misses        511      512       +1     
   ```
   
   </details>
   
   [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/cordova-android/pull/1824?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).   
   :loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
   - :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org