NativeScript / NativeScript/nativescript-cli

[FR] replace app instead of deleting on android

Open
#3,382 5 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

deploy feature os: android run
Dominant language
JavaScript
Stars
1.1k
Forks
204
Avg merge
1d 9h
Merged PRs (30d)
8

Description

I am working with nativescript on Android with livesync (using tns 4.0.0-2018-01-23-10431)
Depending on the change i make, the app requires to be re installed.
To do that nativescript first delete the app then install it again.
This is an issue in dev because you loose all the app settings. So if you are working on a deep workflow of the app, you have to do all over again pretty often.

Couldn't the app be only replace with adb install -r ?

Thanks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the NativeScript CLI Android livesync path that deletes and reinstalls the app, then check how it invokes adb. Reproduce the workflow on Android and verify that replacement preserves app settings while the reinstall behavior remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript
Domain
cli, mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.