ionic-team / ionic-team/capacitor-background-runner

Updating runner.js via CapGoUpdate breaks App on Android

Open
#136 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
56
Forks
36
Avg merge
4d 12h
Merged PRs (30d)
7

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.