itinance / itinance/react-native-fs

Copy files from app directory

Open
#501 4 comments 3 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

i need to copy files at /data/data/app_name/databases/ to /data/data/app_name/files/ so sqlite package can open it..

i use the copyfile example on documentation with this paths

var sourcePath = "/data/data/app_name/databases/";
var destinPath = RNFS.DocumentDirectoryPath;

i triled with file://data.. i tried alot of things and always the same result, error, on one attempt i got a error saying that it was a Dir, beside it is always..it is invalid or does not exist..
Any help here?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.