-
Notifications
You must be signed in to change notification settings - Fork 68
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
[WIP] fixes #711 #725
base: main
Are you sure you want to change the base?
[WIP] fixes #711 #725
Conversation
PR Summary
|
|
||
when (menuItem.title) { | ||
|
||
getString(com.looker.core.common.R.string.install) -> lifecycleScope.launch { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Iamlooker I am unable to get the install to work, and I am pretty sure there's a better way around. can you point me in the right direction?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for late reply
|
||
when (menuItem.title) { | ||
|
||
getString(com.looker.core.common.R.string.install) -> lifecycleScope.launch { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
val packageInfo = | ||
context.packageManager.getPackageInfoCompat(productItem.packageName) | ||
|
||
if (packageInfo == null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Iamlooker this always returns null, any help? :D
packageName: PackageName, | ||
) { | ||
scope.launch { | ||
InstallManager(context, settingsRepository) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Iamlooker InstallManager#uninstall
gets called, but uninstallItems.consumeEach
doesn't get triggered. why? 🤔
PS: sorry for the delay. had exams, getting back to coding only now!
fixes #711