@dunguel/expo-geo-parser 0.4.0 → 0.5.1
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.
|
@@ -84,6 +84,9 @@ private extension ExpoGeoParserModule {
|
|
|
84
84
|
throw GeoParserError.invalidURI(uri)
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
+
let accessing = url.startAccessingSecurityScopedResource()
|
|
88
|
+
defer { if accessing { url.stopAccessingSecurityScopedResource() } }
|
|
89
|
+
|
|
87
90
|
let info = detectFileType(from: url)
|
|
88
91
|
|
|
89
92
|
if info.type == "kmz" || info.type == "zip" {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dunguel/expo-geo-parser",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "A high-performance Expo native module for parsing geospatial files like KML, KMZ, and other formats, extracting polygons, markers, and spatial data efficiently on iOS and Android.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|