apng-playerdeprecated

React Native component for ios to display apng animations

Usage no npm install needed!

<script type="module">
  import apngPlayer from 'https://cdn.skypack.dev/apng-player';
</script>

README

react-native-apng-player

Getting started

$ npm install react-native-apng-player --save

Mostly automatic installation

$ react-native link react-native-apng-player

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-apng-player and add RNApngPlayer.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNApngPlayer.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Usage

import RNApngPlayer from 'react-native-apng-player';

// TODO: What to do with the module?
RNApngPlayer;