Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Self-update doesn't update session's state #33

Open
solrudev opened this issue Oct 29, 2023 · 1 comment
Open

Self-update doesn't update session's state #33

solrudev opened this issue Oct 29, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@solrudev
Copy link
Owner

solrudev commented Oct 29, 2023

When a self-update is performed through Ackpine, session's state doesn't get updated and is stuck as COMMITTED.

The problem lies in full process stop. SESSION_BASED installer's BroadcastReceiver is not getting invoked when containing package is replaced, while INTENT_BASED installer's Activity can't receive result after full stop. It's possible to receive MY_PACKAGE_REPLACED event, but one can't determine which Ackpine session caused it.

@solrudev solrudev added the bug Something isn't working label Oct 29, 2023
solrudev added a commit that referenced this issue Jan 6, 2024
solrudev added a commit that referenced this issue Jan 6, 2024
@solrudev
Copy link
Owner Author

solrudev commented Jan 6, 2024

Partial fix (for SESSION_BASED package installer sessions) is released in 0.4.1 through 2c245c1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant