’Morning, has something changed about `actionStart...
# glance
d
’Morning, has something changed about
actionStartActivity
on alpha04? I had a simple
Copy code
val intent = packageManager.getLaunchIntentForPackage(package)!!
GlanceModifier.clickable(actionStartActivity(intent))
on alpha03, but after the update, clicking of the item has no effect
m
Yes, this is probably the same as https://issuetracker.google.com/242397933
It is fixed now and you could get the latest snapshot to test it. The click still work in the outer parent but not in the children
d
Oh great! I think I’ll wait for my next release or to have some time to dedicate on my pet-project 🙂 Thank!
The fix is not included in the alpha05, right?
m
Unfortunately it did not make the cut for the release train. It will be included in the next one.
d
I consider this good news, then 😄 Because it’s still broken for me. Could you point me to how to use the snapshot, please? Haven’t been able to find it on my own
s
Put this in your settings.gradle file:
Copy code
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        maven { url '<https://androidx.dev/snapshots/builds/9411578/artifacts/repository>' }
    }
}
and this in your app-level build.gradle:
Copy code
dependencies {
    implementation "androidx.glance:glance-appwidget:1.0.0-SNAPSHOT"
}
@Davide Giuseppe Farella ☝️
d
Awesome! Thank you!