瀏覽代碼

Update README.md

Gaëtan Renaudeau 7 年之前
父節點
當前提交
8cbe829d1f
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      README.md

+ 1
- 1
README.md 查看文件

@@ -46,7 +46,7 @@ Returns a Promise of the image URI.
46 46
 
47 47
 ### `path` option and `dirs` constants
48 48
 
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.**
50 50
 
51 51
 By default, takeSnapshot will export in a temporary folder and the snapshot file will be deleted as soon as the app leaves.
52 52
 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.