Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

downloadFile 并不是一个Promise对象 await无效 #1212

Open
TallNutAlt opened this issue Nov 12, 2023 · 1 comment
Open

downloadFile 并不是一个Promise对象 await无效 #1212

TallNutAlt opened this issue Nov 12, 2023 · 1 comment

Comments

@TallNutAlt
Copy link

RNFS.downloadFile({
fromUrl: version.url as unknown as string,
toFile: destinationPath,
});

@sa1utep1z
Copy link

.promise 就好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants