-
Notifications
You must be signed in to change notification settings - Fork 7
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
Can't make it to work #66
Comments
@rynkowsg Where do you call |
it doesn't work for me neither. I have a function like follows:
But it does nothing, any log in logcat, and any action even if I set Any help will be appreciate it. |
@eriknyk Are you sure that your |
@solrudev it is tied to the currect activity lifecycleScope, and the activity is active & visible, so the scope wan't cancelled. any thoughts? |
@eriknyk Please, provide a minimal reproducible example. It's important to see a broader picture of how the library is used, because there's no problem in your code snippet. |
@solrudev here you go -> https://github.com/eriknyk/demoinstallapk Regards. |
@eriknyk In your |
it worked with the changes thank you! (136aca9) |
It configures the PackageInstaller.SessionParams#setRequireUserAction() parameter. |
@rynkowsg Have you solved the issue with stuck sessions? Maybe some comments in this thread were helpful? |
Closing due to inactivity. |
I tried to use Ackpine but I can't make it to work.
This is pretty much what I try to run:
I get in logs:
Some other time just gets stuck on 79% and stay there.
If I use same
apkFileUri
and use Android PackageInstaller and I commit session directly works with no issue.I tested both solutions, with Ackpine and without on Android 13 as a normal app, and on Android 7 as a system app. In both cases, Ackpine got stuck and simple session based solution works.
I'm using v0.6.1.
Any advice?
The text was updated successfully, but these errors were encountered: