You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/05/04 08:17:56 UTC

[GitHub] [cordova-android] raphinesse opened a new issue #1226: Default splash screens end up in release APK even if no splash screens are used

raphinesse opened a new issue #1226:
URL: https://github.com/apache/cordova-android/issues/1226


   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   The default splash screens are copied into the platform folder during the initial end up in release APK even if no splash screens are used by the app. Aside from about a megabyte of unnecessary clutter in the APK, this triggers the warnings described in #689 during release builds.
   
   
   ### What does actually happen?
   Splashs should not be copied to `platforms/` if they are not used.
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   This is reproducible using the default app:
   1. `cordova create foo && cd foo`
   2. `cordova platform add android`
   
   If you run `du -ch platforms/android/app/src/main/res/*/screen.png` now, you will see the default splashs listed. Note that there are not splashs defined (cordova also emits a verbose log message about that during prepare: `This app does not have splash screens defined`). If you proceed to build those files will end up in the APK and cause aforementioned warnings if it is a release build.
   
   ### Version information
   ```
   Cordova Packages:
       cli: 10.0.0
           common: 4.0.2
           create: 3.0.0
           lib: 10.0.0
               common: 4.0.2
               fetch: 3.0.1
               serve: 4.0.0
   
   Project Installed Platforms:
       android: 9.1.0
   
   Project Installed Plugins:
       cordova-plugin-whitelist: 1.3.4
   
   Environment:
       OS: Ubuntu 20.04.2 LTS (linux 5.4.0-72-generic) x64
       Node: v14.16.1
       npm: 7.11.2
   
   ```
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


-- 
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:
users@infra.apache.org



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


[GitHub] [cordova-android] raphinesse closed issue #1226: Default splash screens end up in APKs even if no splash screens are used

Posted by GitBox <gi...@apache.org>.
raphinesse closed issue #1226:
URL: https://github.com/apache/cordova-android/issues/1226


   


-- 
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:
users@infra.apache.org



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