瀏覽代碼

Fix path argument in iOS excludeFromBackupKey (#473)

grylance 7 年之前
父節點
當前提交
2aea0b58e9
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      ios.js

+ 1
- 1
ios.js 查看文件

@@ -43,7 +43,7 @@ function openDocument(path:string, scheme:string) {
43 43
  * @param  {string} url URL of the resource, only file URL is supported
44 44
  * @return {Promise}
45 45
  */
46
-function excludeFromBackupKey(url:string) {
46
+function excludeFromBackupKey(path:string) {
47 47
   return RNFetchBlob.excludeFromBackupKey('file://' + path);
48 48
 }
49 49