Skip to content

React Native animations via Core Animation or RenderThread API

License

Notifications You must be signed in to change notification settings

vzhovnitsky/react-native-fast-animations

 
 

Repository files navigation

react-native-fast-animations

React Native animations via Core Animation or RenderThread API

Status

Used in production at Openland for over the year.

Installation

0. Setup Swift and Kotlin

  • Open your iOS project in Xcode and create empty Swift file and bridging header to enable Swift support

  • Modify android/build.gradle:

    buildscript {
      ext {
        ...
    +   kotlinVersion = "1.3.50"
      }
    ...
    
      dependencies {
    +   classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}")
        ...

1. Install latest version from npm

yarn add react-native-fast-animations

2. Install pods

cd ios && pod install && cd ..

Example

import * as React from 'react'
import { View } from 'react-native'
import {
  FastAnimations
} from 'react-native-fast-animations'

License

MIT

About

React Native animations via Core Animation or RenderThread API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 34.5%
  • Kotlin 31.2%
  • Swift 22.0%
  • Objective-C 4.6%
  • Ruby 3.6%
  • Java 2.5%
  • Other 1.6%