Giter VIP home page Giter VIP logo

Comments (6)

uc-asa avatar uc-asa commented on May 26, 2024 2

Hello,

Install react-native-zip-archive using
npm install react-native-zip-archive --save

Fos iOS

  1. Open you project in xcode and also open folder node_modules/react-native-zip-archive
    image

  2. Open your build phase of project then goto add link binary with libraries
    image
    image

  3. Clean your project and then build it will work.

Fos android

  1. 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')
    image

  2. Open MainActivity.java and make changes
    image

  3. Within your project android/app/build.gradle add dependencies.
    compile project(':react-native-zip-archive')
    image

  4. Clean your project and then build it will work.

If any one face this type issues free to ask.

from react-native-zip-archive.

plrthink avatar plrthink commented on May 26, 2024

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.

uc-asa avatar uc-asa commented on May 26, 2024

from react-native-zip-archive.

plrthink avatar plrthink commented on May 26, 2024

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.

itinance avatar itinance commented on May 26, 2024

@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.

jardeson777 avatar jardeson777 commented on May 26, 2024

I tryed it in my project with expo and not resolve :(

from react-native-zip-archive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.