Looks like release build of app is crashing on sta...
# confetti
j
Looks like release build of app is crashing on startup......can trace this back to following commit.....still looking in to it but in case anyone might know cause https://github.com/joreilly/Confetti/commit/d6a6ead638f619b8e8eb916a3b797af8e99db5a1#diff-7cdef30b2089db76c43a331c1[…]3bc5d8f74a90f0fbf5648deb59da86
@yschimke I tried pulling in latest horologist alpha but getting issue using that too
maybe related to following
Copy code
// <https://github.com/firebase/firebase-android-sdk/issues/5997>
        exclude(group = "com.google.firebase", module = "protolite-well-known-types")
y
Oooffff
Feel free to revert that and I'll fix.
👍 2
j
I went back to latest code and reverted to following but still crashing for some reason
Copy code
horologist = "0.6.12"
y
I can take a look in a couple of hours
j
no rush at all
y
Ok, will do.
And sorry
j
the public version of app is fine....only noticed as I thought I should publish new version to internal test channel
I probably should have some kind of test that uses the release version
actually, I forgot to comment out
exclude(group = "com.google.firebase", module = "protolite-well-known-types")
when reverting.....able to run release build now with that
1
could also be that we just need to add something to proguard config
y
Thanks, and sorry you had to fix it. I'll add back with a release test that reproduces the issue and then the fix
j
no worries at all.....I'm happy project is good playground to find issues like this
getting following error with that
Copy code
e: file:///home/runner/work/Confetti/Confetti/wearApp/src/test/kotlin/dev/johnoreilly/confetti/wear/surfaces/TileScreenshotTest.kt:48:13 Unresolved reference 'TileLayoutPreview'.
I can merge this as is if you want to follow up with changes for that?
y
Can you comment out that section? Or delete the test?
j
yeah, I can do that
also just tried following and seems to work around the issue
Copy code
-keep class com.google.firebase.** { *; }
(with still using that updated horologist version)