Skip to content

Commit 8cbe829

Browse files
authored
Update README.md
1 parent e85cdaf commit 8cbe829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Returns a Promise of the image URI.
4646

4747
### `path` option and `dirs` constants
4848

49-
**Disclaimer: advanced usecase only!**
49+
**IMPORTANT: We might actually drop the path feature because of its complexity in the current codebase (and bugs that are not fixed), please consider using react-native-view-shot with https://github.com/itinance/react-native-fs to solve this.**
5050

5151
By default, takeSnapshot will export in a temporary folder and the snapshot file will be deleted as soon as the app leaves.
5252
But if you use the `path` option, you make the snapshot file more permanent and at a specific file location. it is up to you to manage the image file lifecycle, the library won't clean it for you (which might result of leaking files on user's phone if you are not careful). There is also no guarantee the file will be successfully saved: you can reach permissions problem, this also is platform specific.

0 commit comments

Comments
 (0)