newlogic / smartscanner-core

ID scanning Android app and library. Supports MRZ, NFC, Barcodes, and ID PASS Lite cards.
Apache License 2.0
70 stars 19 forks source link

Failed to resolve: org.idpass:smartscanner-android-api:0.0.1-SNAPSHOT #119

Closed Fanom2813 closed 1 year ago

Fanom2813 commented 2 years ago

Android studio isn't able to resolve

rjmangubat23 commented 2 years ago

hello @Fanom2813 👋

Please note that this is still currently unavailable as we are still working on adding this to mavenCentral.

In the meantime what you can do as a work around is by building aars and adding it directly to your own project:

  1. Clone repo and checkout develop branch
  2. Open in Android Studio and in Gradle tab go to idpass-smart-scanner>core-lib>Tasks>build>assemble or you can build it via terminal: ./gradlew assemble
  3. Import newly built aar file which can be found in core-lib/build/outputs via this guide into your project
  4. Don't forget to add MLKit dependencies: https://developers.google.com/ml-kit/vision/text-recognition/v2/android
  5. Build your android project and it will be ready for your usage.
nicholemnl commented 1 year ago

This has been resolved in https://github.com/newlogic/smartscanner-core/pull/125 together with #124