Comments (6)
Hello,
Install react-native-zip-archive using
npm install react-native-zip-archive --save
Fos iOS
-
Open you project in xcode and also open folder node_modules/react-native-zip-archive
-
Open your build phase of project then goto add link binary with libraries
-
Clean your project and then build it will work.
Fos android
-
Within your project android/settings.gradle add these lines in the bottom
include ':react-native-zip-archive'
project(':react-native-zip-archive').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-zip-archive/android')
-
Within your project android/app/build.gradle add dependencies.
compile project(':react-native-zip-archive')
-
Clean your project and then build it will work.
If any one face this type issues free to ask.
from react-native-zip-archive.
There's a detailed guide on react-native doc talking about how to manually linking libraries. I think this would be helpful.
Also, you should add libz
to Link Binary With Libraries
.
But I still recommend using react-native link
command, maybe you need try upgrade react-native-cli
first.
from react-native-zip-archive.
from react-native-zip-archive.
Oh, great!
But could you show some of you solutions here? It would help others who are facing the same problem.
from react-native-zip-archive.
@uc-asa Thanks for pointing out. Would you might add these instructions including the pictures into the README and make a pillrequest with that?
from react-native-zip-archive.
I tryed it in my project with expo and not resolve :(
from react-native-zip-archive.
Related Issues (20)
- Uncaught Exception in zip4j HOT 3
- Old SSZipArchive dependency in iOS podspec HOT 5
- Invariant Violation: `new NativeEventEmitter()` requires a non-null argument. | Expo HOT 2
- charset GBK or UTF-8 is no work in ios HOT 4
- skipping some files and folders in unarchiving HOT 3
- problem with dependencies
- Failed to extract file Found Zip Path Traversal Vulnerability
- Convert a single file (.txt / .pdf / .xls) to a zip file from a specific path. HOT 1
- Supplying an encoded URI containing %20 in IOS causes a 'failed to open zip file'
- Undefined is not an object on unzip() - Android HOT 1
- Error: Failed to extract file invalid END header HOT 1
- How to upload completly folder with subfolders? HOT 1
- [IOS] Crash app when zip or unzip on Xcode 15 HOT 2
- There are always 25 files in my link, but when using this component to extract, only 23 are left HOT 1
- Progress on Android from 0 to 1 HOT 1
- Unzip file with expo HOT 4
- Android unzip process slower than iOS HOT 2
- Request - more fine grained error messages on iOS
- Received status code 502 from server: Bad Gateway HOT 2
- iOS privacy manifest HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-zip-archive.