react-native-zip-archive 6.1.0 → 6.1.2

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/README.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  Zip archive utility for react-native
4
4
 
5
+ ## Attention
6
+
7
+ Starting from v6.1.1, it requires the iOS deployment higher than 15.5.5, more details on this thread: https://github.com/mockingbot/react-native-zip-archive/issues/305.
5
8
 
6
9
  ## Compatibility
7
10
 
@@ -21,7 +24,7 @@ npm install react-native-zip-archive --save
21
24
 
22
25
  ## Linking
23
26
 
24
- For iOS, run the command below in you app's root folder once the package has been installed
27
+ For iOS, run the command below in your app's root folder once the package has been installed
25
28
 
26
29
  ````bash
27
30
  cd ./ios && pod install
@@ -51,7 +54,7 @@ import { MainBundlePath, DocumentDirectoryPath } from 'react-native-fs'
51
54
 
52
55
  > zip source to target
53
56
 
54
- ***NOTE: only support zip folder, not file entries***
57
+ ***NOTE: the string version of source is for folder, the string[] version is for file, so if you want to zip a single file, use zip([file]) instead of zip(file)***
55
58
 
56
59
  Example
57
60
 
@@ -72,7 +75,7 @@ zip(sourcePath, targetPath)
72
75
 
73
76
  > zip source to target
74
77
 
75
- ***NOTE: only support zip folder, not file entries***
78
+ ***NOTE: the string version of source is for folder, the string[] version is for file, so if you want to zip a single file, use zip([file]) instead of zip(file)***
76
79
 
77
80
  ***NOTE: encryptionType is not supported on iOS yet, so it would be igonred on that platform.***
78
81
 
@@ -192,3 +195,7 @@ You can use this repo, https://github.com/plrthink/RNZATestApp, for testing and
192
195
 
193
196
  - [ZipArchive](https://github.com/ZipArchive/ZipArchive)
194
197
  - [zip4j](https://github.com/srikanth-lingala/zip4j)
198
+
199
+ ---
200
+
201
+ [!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/plrthink)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-zip-archive",
3
- "version": "6.1.0",
3
+ "version": "6.1.2",
4
4
  "description": "A little wrapper on ZipArchive for react-native",
5
5
  "main": "index.js",
6
6
  "scripts": {
File without changes
@@ -1,2 +0,0 @@
1
- #Mon Mar 29 09:05:03 CST 2021
2
- gradle.version=6.1.1
File without changes
@@ -1,16 +0,0 @@
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>
@@ -1,9 +0,0 @@
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>
@@ -1,18 +0,0 @@
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>
@@ -1,8 +0,0 @@
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>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
5
- </component>
6
- </project>
@@ -1,48 +0,0 @@
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>
@@ -1,8 +0,0 @@
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