Titanium animation module for Facebook Keyframe and Airbnb Lottie
Objective-C Java JavaScript C
Clone or download
hansemannn and m1ga Update Lottie iOS to 2.5.0, expose more API's (#34)
* Update Lottie iOS to 2.5.0, expose more API's

* Update a few lines

* Fix method naming

* Add "setValueDelegateForKeyPath"

* Update .travis.yml
Latest commit 85132a4 May 31, 2018

README.md

Ti.Animation Build Status

gif

Appcelerator Titanium Android module for Facebooks Keyframes libray and for Airbnb Lottie.

Requirements

  • Titanium Mobile SDK 6.0.0 or later

Library versions:

The Titanium modules use external libraries

Library Platform Version Build Date
Facebooks Keyframes Android 1.0.0 2017/02/11
Facebooks Keyframes iOS 1.0.0 2017/02/11
Airbnb Lottie Android 2.3.1 2017/12/09
Airbnb Lottie iOS 2.5.0 2018/02/11

Choose your view

Lottie

var animation = TiAnimation.createLottieView({
  file: 'file.json',
  loop: false,
  autoStart: false
});

Keyframes

var animation = TiAnimation.createKeyframeView({
  file: 'file.json',
  loop: false,
  autoStart: false
});

Features/Documentation

Visit the wiki for the documentation.

Example

Please see the basic example in example/app.js. More examples can found in the wiki

Resources

At LottieFiles you will find a list of free Lottie animations.

Authors