You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/11/29 01:40:13 UTC

[GitHub] [cordova-android] jacksonkr opened a new issue #878: `cordova build [ios|android]` does not always add latest code changes to build

jacksonkr opened a new issue #878: `cordova build [ios|android]` does not always add latest code changes to build
URL: https://github.com/apache/cordova-android/issues/878
 
 
   # Bug Report
   
   ## Problem
   I built my app with `cordova build` for both ios and android and for some reason my most recent changes are not showing up in the app. This happens very rarely and the only way I've found to overcome it is by doing a `cordova platform rm [ios|android]` followed by `cordova platform add [ios|android]` which is a bit of a nuisance as it resets the specific android / ios platform settings that have to be re set inside of the respective IDE's
   
   ### What is expected to happen?
   Some sort of "clear cache" or --flush option for building cordova apps.
   
   
   ### What does actually happen?
   see "problem"
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   This is a react JS project using cordova
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   `cordova build ios` then run the app
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   9.0.0 (cordova-lib@9.0.1)
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   ```
   $ cordova info
   cordova-lib@9.0.1 with:
     cordova-common@3.2.0
     cordova-create@2.0.0
     cordova-fetch@2.0.1
     cordova-serve@3.0.0
   
   Environment: 
     OS: darwin
     Node: v10.15.0
     npm: 6.12.0
   
   Plugins:
     cordova-plugin-appcenter-analytics
     cordova-plugin-appcenter-crashes
     cordova-plugin-appcenter-push
     cordova-plugin-appcenter-shared
     cordova-plugin-compat
     cordova-plugin-device
     cordova-plugin-file
     cordova-plugin-file-transfer
     cordova-plugin-statusbar
     cordova-plugin-whitelist
     cordova-plugin-zip
   
   ...
   
   "platforms": [
         "ios",
         "android"
       ]
   ```
   
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [ ] 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


With regards,
Apache Git Services

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