Giter VIP home page Giter VIP logo

Comments (4)

VictorOdede avatar VictorOdede commented on May 31, 2024 1

@dennispost99 For Gradle 7.0 you can now do : npm install "https://github.com/jackbayliss/react-native-nfc-card-reader.git#gradle7.0" --save

I had same problem using Gradle 7.2 with compileSDK=30. This solution alone did not work for me. In addition to this I edited the build.gradle file within the package folder to add:
configurations { customConfig.extendsFrom implementation }

then add this in the afterEvaluate function:
tasks.withType(Javadoc) { failOnError false options.addStringOption('Xdoclint:none', '-quiet') options.addStringOption('encoding', 'UTF-8') options.addStringOption('charSet', 'UTF-8') }

then replace classpath += files(project.getConfigurations().getByName('compile').asList()) with classpath += files(project.getConfigurations().getByName('customConfig').asList()):

You need to also add this line to AndroidManifest.xml:
<activity android:name="com.jackbayliss.nfcreader.NfcCardReaderActivity" android:label="Preferences" > </activity>

from react-native-nfc-card-reader.

jackbayliss avatar jackbayliss commented on May 31, 2024

@dennispost99 I believe it's a case of changing:
apply plugin: 'maven' to apply plugin: 'maven-publish

I'm not sure how to handle multiple Gradle versions, though I can create a new branch for Gradle 7

from react-native-nfc-card-reader.

jackbayliss avatar jackbayliss commented on May 31, 2024

@dennispost99 For Gradle 7.0 you can now do :
npm install "https://github.com/jackbayliss/react-native-nfc-card-reader.git#gradle7.0" --save

from react-native-nfc-card-reader.

jackbayliss avatar jackbayliss commented on May 31, 2024

@VictorOdede Thanks for your feedback, if this is specifically for gradle greater than 7 it would be useful to create a new branch to prevent this from occuring.

from react-native-nfc-card-reader.

Related Issues (13)

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.