Fixed
Status Update
Comments
sj...@google.com <sj...@google.com> #2
The splash screen is dismissed as soon as the app is drawn and doesn't wait for the animation to finish which might be the reason why the animation doesn't repeat.
At most, the icon will animate for the value set in windowSplashScreenAnimationDuration
.
If that's not the case, can you please share your theme values and icon file? or at least a reproduction sample?
sj...@google.com <sj...@google.com> #3
windowSplashScreenAnimationDuration is set 10000.
windowSplashScreenBackground is #fff and #000 for dark theme.
The animation duration of Animated Vector Drawable is 1600.
I might not be able to share the icon since it is the one we are going to use in production. Is there any working Animated Vector Drawable you can provide from your side for us to compare? Anything from unit test?
windowSplashScreenBackground is #fff and #000 for dark theme.
The animation duration of Animated Vector Drawable is 1600.
I might not be able to share the icon since it is the one we are going to use in production. Is there any working Animated Vector Drawable you can provide from your side for us to compare? Anything from unit test?
bu...@google.com <bu...@google.com> #4
Here is the sample of Animated Vector Drawable. (Not the one mentioned earlier)
vs...@gmail.com <vs...@gmail.com> #5
In the <objectAnimator
tag, you need the repeat*
attributes
<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="1000"
android:valueTo="200"
android:valueType="floatType"
android:propertyName="y"
android:repeatCount="1"
android:repeatMode="reverse"/>
Description
Artifact used:
androidx.core:core-splashscreen:1.0.0-alpha01
Devices/Android versions reproduced on: Nexus 5X, Android 8.1.0
Recently I detected a couple of crashes (via Crashlytics) on production build using
androidx.core:core-splashscreen:1.0.0-alpha01
. I have no repros for these, just a stacktrace:There is no such class in library bundle indeed but it is present in
AndroidManifest.xml
in library aar. I cannot imagine in which reasonable scenario this could reproduce, but I think it's clear enough that this entry is redundant in manifest.