Updating runner.js via CapGoUpdate breaks App on Android
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- android, javascript
- Domain
- mobile-dev
Research direction
Start by reproducing an Android update that replaces runner.js through CapGo Updater, then review the related CapGo Updater issue #643 and the runner lifecycle around the update. Done means the runner no longer crashes during replacement and can start after a cold app launch with the updated bundle.
Written by the indexing model from the issue text.
Description
Hello,
we are using CapGo Updater (https://github.com/Cap-go/capacitor-updater) for updating our app bundle at runtime.
As we just found out, if we provide a changed runner.js file in the new app bundle, the runner itself crashes on the update process.
Also, the runner is unable to start after the update, even on a cold app start.
Is there any chance to manually shutdown the runner before updating / replacing the files?
I will create a another issue in the CapGo Updater and see, how they implemented replacing files.
- Dominant language
- C
- Stars
- 56
- Forks
- 36
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ionic-team/capacitor-background-runner
-
[Bug]: android notification channel id not used in CapacitorNotifications.schedulePossibly taken @coffeemakr claimed this 16 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
ionic-team/capacitor-background-runner#158 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
ionic-team/capacitor-background-runner#155 · 1 reaction ·
-
Capacitor keeps running old background runnersMay be free again @theproducer claimed this 260 days ago, and no pull request is open. Openbug
ionic-team/capacitor-background-runner#152 · 1 comment · 2 reactions · 1 assignee ·
All issues in ionic-team/capacitor-background-runner
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ChrisTitusTech/dwm-titus#397 ·
Maintainers usually reply within 1 day
-
good first issue help wanted language:fr translation
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
mrvi0/cli-cheatsheet#160 ·
-
Test modules use volatile int for cross-thread flags instead of atomicsPossibly taken @rahimuddin140 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
valkey-io/valkey#4899 · 1 comment ·
Maintainers usually reply within 2 days
-
Profiler (Remotery) leaks a socket for every connection that fails the WebSocket handshakePossibly taken @rthery claimed this today. Opentriage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Symlink in release archive attempts traversalPossibly taken @Tiancheng-Xu claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
redis/hiredis#1388 · 1 comment ·
Maintainers usually reply within 1 day