react-native-kookit 0.4.6 → 0.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1553,10 +1553,7 @@ public class ReactNativeKookitModule: Module {
|
|
|
1553
1553
|
DispatchQueue.global(qos: .userInitiated).async {
|
|
1554
1554
|
do {
|
|
1555
1555
|
// Parse source URL
|
|
1556
|
-
|
|
1557
|
-
promise.reject("COPY_ERROR", "Invalid source URI: \(sourceUri)")
|
|
1558
|
-
return
|
|
1559
|
-
}
|
|
1556
|
+
let sourceURL = URL(string: sourceUri) ?? URL(fileURLWithPath: sourceUri.replacingOccurrences(of: "file://", with: ""))
|
|
1560
1557
|
|
|
1561
1558
|
let destURL = URL(fileURLWithPath: destinationPath.replacingOccurrences(of: "file://", with: ""))
|
|
1562
1559
|
|
package/package.json
CHANGED