UNPKG

react-native-3d-model-view

Version:

React Native plugin for showing .obj, .dae and .scn models.

17 lines (13 loc) 296 B
import RNFS from 'react-native-fs' import { DOCUMENTS_FOLDER } from './BaseModelView' const create = () => { const clearDownloadedFiles = () => { RNFS.unlink(DOCUMENTS_FOLDER) .then(() => {}) .catch(() => {}) } return { clearDownloadedFiles } } export default create()