Repository navigation
v0.17.0
What's Changed
New: audio playback. Animations with audio layers (MP3, WAV, FLAC, OGG, M4A) now play their sound on iOS and macOS. setAudioVolume(volume:) and audioVolume() control the volume. (#154)
Updated: dotlottie-rs upgraded to e535605, bringing the bundled ThorVG renderer to v1.1.3 (1902b3b → ce12cdd). The Apple xcframeworks and the CocoaPods copy were rebuilt against the new core. (#154, #156)
New: slot APIs on DotLottieAnimation. getSlotIds(), getSlotType(slotId:), getSlot(slotId:), getSlots(), setSlot(slotId:json:), resetSlot(slotId:), resetSlots(), and setBezierPathSlot(slotId:vertices:closed:inTangents:outTangents:) for replacing the geometry of a path. (#156)
New: state machine APIs. stateMachineOverrideCurrentState(_:immediate:), stateMachineResetInput(key:), stateMachineSetSeed(_:) and stateMachineStatus(). State machines now skip entries they do not know instead of failing to load. (#156)
New: AnimationConfig.assetResolver. Supplies the bytes for assets the player cannot load itself, such as an image referenced by a remote URL. (#156)
New: setLoopCount(_:) on DotLottieAnimation. (#156)
Fixed: markers() put the marker's end frame in Marker.duration. It now holds the duration, so a marker that does not start at frame 0 has the right length. This changes the value existing code reads from duration. (#156)
Improved: the state machine OpenURL action. (#145)
Full Changelog: v0.16.9...v0.17.0