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.
- Supports multiple GIF engines for both Android and iOS
- Helps you find the best-performing GIF engine for your React Native app
npm install react-native-gif-engines --save
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"
/>
);
}
React Native Gif Engines is released under the MIT License.
Made with create-react-native-library