Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-10585

Use the `adb install -r` flag to replace the app and keep local data by default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 6.0.0
    • None
    • cordova-android
    • None

    Description

      Adding the -r flag means that local data is kept in-tact.

      Currently every time I use `cordova run android` my local data is wiped as the app is re-installed rather than replaced.

      I think a version prior to 6.0.0 used the -r flag as expected.

      Attachments

        Issue Links

          Activity

            People

              jcesarmobile jcesarmobile
              oodavid David King
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: