0.0.6 • Published 1 year ago

react-native-gif-engines v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

React Native Gif Engines

icon

React Native Gif Engines is a library that enables you to test multiple native libraries for displaying GIF animations on Android and iOS platforms, primarily to determine which engine provides the best performance.

Table of Contents

Features

  • Supports multiple GIF engines for both Android and iOS
  • Helps you find the best-performing GIF engine for your React Native app

Supported Engines

Android

iOS

Installation

npm install react-native-gif-engines --save

Usage

First, import the library:

import {GifEngine} from 'react-native-gif-engines';

// ...

render() {
  return (
    <GifEngine
      source={{uri: 'https://example.com/your-gif.gif'}}
      style={{width: 200, height: 100}}
      androidEngine="glide"
      iosEngine="SwiftOrigin"
    />
  );
}

License

React Native Gif Engines is released under the MIT License.


Made with create-react-native-library

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago