Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Updating runner.js via CapGoUpdate breaks App on Android

Open
#136 2 comments 1 reaction 0 assignees View on GitHub

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.

See https://github.com/Cap-go/capacitor-updater/issues/643

Dominant language
C
Stars
56
Forks
36
Avg merge
3d 17h
Merged PRs (30d)
3

Getting set up

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.

More from ionic-team/capacitor-background-runner

All issues in ionic-team/capacitor-background-runner

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.