react-native-zip-archive 6.0.3 → 6.0.4
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.
- package/android/.gradle/6.1.1/fileChanges/last-build.bin +0 -0
- package/android/.gradle/6.1.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/6.1.1/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.gradle/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.idea/gradle.xml +16 -0
- package/android/.idea/misc.xml +9 -0
- package/android/.idea/modules/android.iml +18 -0
- package/android/.idea/modules.xml +8 -0
- package/android/.idea/vcs.xml +6 -0
- package/android/.idea/workspace.xml +48 -0
- package/android/local.properties +8 -0
- package/ios/RNZipArchive.m +2 -2
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="GradleMigrationSettings" migrationVersion="1" />
|
|
4
|
+
<component name="GradleSettings">
|
|
5
|
+
<option name="linkedExternalProjectsSettings">
|
|
6
|
+
<GradleProjectSettings>
|
|
7
|
+
<option name="testRunner" value="PLATFORM" />
|
|
8
|
+
<option name="distributionType" value="DEFAULT_WRAPPED" />
|
|
9
|
+
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
|
10
|
+
<option name="gradleJvm" value="1.8" />
|
|
11
|
+
<option name="resolveModulePerSourceSet" value="false" />
|
|
12
|
+
<option name="useQualifiedModuleNames" value="true" />
|
|
13
|
+
</GradleProjectSettings>
|
|
14
|
+
</option>
|
|
15
|
+
</component>
|
|
16
|
+
</project>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectRootManager" version="2" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
|
4
|
+
<output url="file://$PROJECT_DIR$/build/classes" />
|
|
5
|
+
</component>
|
|
6
|
+
<component name="ProjectType">
|
|
7
|
+
<option name="id" value="Android" />
|
|
8
|
+
</component>
|
|
9
|
+
</project>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module external.linked.project.id=":" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" type="JAVA_MODULE" version="4">
|
|
3
|
+
<component name="FacetManager">
|
|
4
|
+
<facet type="android-gradle" name="Android-Gradle">
|
|
5
|
+
<configuration>
|
|
6
|
+
<option name="GRADLE_PROJECT_PATH" value=":" />
|
|
7
|
+
<option name="LAST_SUCCESSFUL_SYNC_AGP_VERSION" />
|
|
8
|
+
<option name="LAST_KNOWN_AGP_VERSION" />
|
|
9
|
+
</configuration>
|
|
10
|
+
</facet>
|
|
11
|
+
</component>
|
|
12
|
+
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
13
|
+
<exclude-output />
|
|
14
|
+
<content url="file://$MODULE_DIR$/../.." />
|
|
15
|
+
<orderEntry type="inheritedJdk" />
|
|
16
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
17
|
+
</component>
|
|
18
|
+
</module>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectModuleManager">
|
|
4
|
+
<modules>
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/modules/android.iml" filepath="$PROJECT_DIR$/.idea/modules/android.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ChangeListManager">
|
|
4
|
+
<list default="true" id="b0bced97-300a-4538-b12f-a5abc82a33ad" name="Default Changelist" comment="">
|
|
5
|
+
<change beforePath="$PROJECT_DIR$/../index.js" beforeDir="false" afterPath="$PROJECT_DIR$/../index.js" afterDir="false" />
|
|
6
|
+
<change beforePath="$PROJECT_DIR$/../package-lock.json" beforeDir="false" afterPath="$PROJECT_DIR$/../package-lock.json" afterDir="false" />
|
|
7
|
+
<change beforePath="$PROJECT_DIR$/../yarn.lock" beforeDir="false" afterPath="$PROJECT_DIR$/../yarn.lock" afterDir="false" />
|
|
8
|
+
</list>
|
|
9
|
+
<option name="SHOW_DIALOG" value="false" />
|
|
10
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
11
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
12
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
13
|
+
</component>
|
|
14
|
+
<component name="Git.Settings">
|
|
15
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
|
|
16
|
+
</component>
|
|
17
|
+
<component name="ProjectId" id="1qPSjWq7ZHlBLnw5dIVURz7OyRW" />
|
|
18
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
|
|
19
|
+
<component name="ProjectViewState">
|
|
20
|
+
<option name="hideEmptyMiddlePackages" value="true" />
|
|
21
|
+
<option name="showLibraryContents" value="true" />
|
|
22
|
+
</component>
|
|
23
|
+
<component name="PropertiesComponent">
|
|
24
|
+
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
|
|
25
|
+
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
|
|
26
|
+
<property name="android.sdk.path" value="$USER_HOME$/Library/Android/sdk" />
|
|
27
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
|
28
|
+
</component>
|
|
29
|
+
<component name="SvnConfiguration">
|
|
30
|
+
<configuration />
|
|
31
|
+
</component>
|
|
32
|
+
<component name="TaskManager">
|
|
33
|
+
<task active="true" id="Default" summary="Default task">
|
|
34
|
+
<changelist id="b0bced97-300a-4538-b12f-a5abc82a33ad" name="Default Changelist" comment="" />
|
|
35
|
+
<created>1616979867926</created>
|
|
36
|
+
<option name="number" value="Default" />
|
|
37
|
+
<option name="presentableId" value="Default" />
|
|
38
|
+
<updated>1616979867926</updated>
|
|
39
|
+
</task>
|
|
40
|
+
<servers />
|
|
41
|
+
</component>
|
|
42
|
+
<component name="WindowStateProjectService">
|
|
43
|
+
<state x="2922" y="480" key="IDE.errors.dialog" timestamp="1616980291852">
|
|
44
|
+
<screen x="1792" y="25" width="2560" height="1415" />
|
|
45
|
+
</state>
|
|
46
|
+
<state x="2922" y="480" key="IDE.errors.dialog/1792.25.2560.1415/0.25.1792.1095@1792.25.2560.1415" timestamp="1616980291852" />
|
|
47
|
+
</component>
|
|
48
|
+
</project>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
## This file must *NOT* be checked into Version Control Systems,
|
|
2
|
+
# as it contains information specific to your local configuration.
|
|
3
|
+
#
|
|
4
|
+
# Location of the SDK. This is only used by Gradle.
|
|
5
|
+
# For customization when using a Version Control System, please read the
|
|
6
|
+
# header note.
|
|
7
|
+
#Mon Mar 29 09:04:26 CST 2021
|
|
8
|
+
sdk.dir=/Users/plrthink/Library/Android/sdk
|
package/ios/RNZipArchive.m
CHANGED
|
@@ -60,7 +60,7 @@ RCT_EXPORT_METHOD(unzip:(NSString *)from
|
|
|
60
60
|
|
|
61
61
|
NSError *error = nil;
|
|
62
62
|
|
|
63
|
-
BOOL success = [SSZipArchive unzipFileAtPath:from toDestination:destinationPath overwrite:YES password:nil error:&error delegate:self];
|
|
63
|
+
BOOL success = [SSZipArchive unzipFileAtPath:from toDestination:destinationPath preserveAttributes:NO overwrite:YES password:nil error:&error delegate:self];
|
|
64
64
|
|
|
65
65
|
self.progress = 1.0;
|
|
66
66
|
[self zipArchiveProgressEvent:1 total:1]; // force 100%
|
|
@@ -83,7 +83,7 @@ RCT_EXPORT_METHOD(unzipWithPassword:(NSString *)from
|
|
|
83
83
|
|
|
84
84
|
NSError *error = nil;
|
|
85
85
|
|
|
86
|
-
BOOL success = [SSZipArchive unzipFileAtPath:from toDestination:destinationPath overwrite:YES password:password error:&error delegate:self];
|
|
86
|
+
BOOL success = [SSZipArchive unzipFileAtPath:from toDestination:destinationPath preserveAttributes:NO overwrite:YES password:password error:&error delegate:self];
|
|
87
87
|
|
|
88
88
|
self.progress = 1.0;
|
|
89
89
|
[self zipArchiveProgressEvent:1 total:1]; // force 100%
|