Skip to content
Discussion options

You must be logged in to vote

Had a rest and looked at the coded again. Updated as follows and now is working as expected :)

const animateSplash = useAnimatedStyle(() => {
    const translateX =
      progress.value === 1
        ? withTiming(width / 2 - (LOGO_SIZE / 2 + 40))
        : progress.value;

    const translateY =
      progress.value === 1
        ? withTiming(-(height - top) / 2 + LOGO_SIZE)
        : progress.value;

    const w = progress.value === 1 ? withTiming(85) : 100;

    const h =
      progress.value === 1
        ? withTiming(85, undefined, (isFinished) => {
            if (isFinished) {
              console.log({ logo_animation_complete: isFinished });
              runOnJS(logoAnimationComp…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by FrancoTanzarella
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant