React native on demand resources loader module. Works only on ios
# install dependencies in the root folder
yarn install
# install pods
cd example/ios
pod install
# go to the "example" folder and run the app
yarn ios
yarn install react-native-ios-on-demand-resource-loader
import { loadResourcesByTag } from 'react-native-ios-on-demand-resource-loader';
// ...
loadResourcesByTag('img_1')
.then(console.log)
.catch(console.log);
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT