Skip to content

Releases: ismai117/kottie

1.6.3-alpha01: wasm target added

24 Feb 11:03
Compare
Choose a tag to compare
Pre-release
sample updated

v1.5.3

23 Feb 09:19
Compare
Choose a tag to compare
  • restartOnPlay option added

1.5.3-alpha02

18 Feb 14:49
Compare
Choose a tag to compare
1.5.3-alpha02 Pre-release
Pre-release
kotlin version upgraded

1.5.3-alpha01

12 Feb 07:29
Compare
Choose a tag to compare
1.5.3-alpha01 Pre-release
Pre-release
  • Wasm target added

1.4.3

09 Feb 04:29
Compare
Choose a tag to compare
  • lottie-ios added
  • added background parameter for Kottie Animation function to fix UIKitView bg issue
  • JsonString spec added for all platforms

1.4.1: - upgraded kotlin version to 1.9.22

30 Jan 21:34
Compare
Choose a tag to compare

Changes

  • kotlin version to 1.9.22
  • upgraded compose version to 1.6.0
  • upgraded compose-plugin version to 1.5.12
  • Added playback control to animateKottieCompositionAsState.

1.3.1

15 Jan 06:35
9f0696a
Compare
Choose a tag to compare

KottieCompositionSpec

  • Introducing KottieCompositionSpec for animation specifications.
  • Choose from Url, File, and JsonString specs for enhanced flexibility.
Example usage:
val composition = rememberKottieComposition(
    spec = KottieCompositionSpec.Url("")
)

AnimateKottieCompositionAsState

  • Use animateKottieCompositionAsState for animating and managing KottieComposition state.
  • Control animation speed, iterations, and more.
Example usage:
val animationState by animateKottieCompositionAsState(
    composition = composition,
    speed = 1f,
    iterations = 2
)

KottieAnimation

  • KottieAnimation now supports direct composition usage.
  • Monitor animation progress using the provided animationState.
Example usage:
KottieAnimation(
    composition = composition,
    progress = { animationState.progress },
    modifier = modifier.fillMaxSize(),
)

Enhancements

  • Improved and consistent handling of animation sources with KottieCompositionSpec.
  • Easy monitoring of animation state (playing, completed) using the animationState object.
Example usage:
LaunchedEffect(
    key1 = animationState.isPlaying
) {
    if (animationState.isPlaying) {
        println("Animation Playing")
    }
    if (animationState.isCompleted) {
        println("Animation Completed")
    }
}

Compatibility

  • Maintains backward compatibility with previous versions.
  • Smooth migration from old KottieAnimation methods to the new unified approach.

Bug Fixes

  • Minor bug fixes and optimizations for a smoother user experience.

Note

  • Developers are encouraged to migrate to the new KottieCompositionSpec for standardized animation source specification.
  • The new animateKottieCompositionAsState utility provides finer control over animation parameters.

1.2.1

07 Jan 05:53
Compare
Choose a tag to compare

Kottie now targets Web/Js

1.0.0

06 Jan 02:15
e822495
Compare
Choose a tag to compare

Latest Version

Targets

  • Android
  • Ios
  • Desktop