Manually Importing the Library
After getting the access token for Dyneti's repo access, go to any temporary directory outside your project directory and clone our repository with the following terminal commands:
When asked for a password for user "dyscan", paste the access token that we provided.
dyscan.aarfile from the cloned repository into Android Studio by going to
File -> New -> New Module...and selecting
Import .JAR/.AAR Package. On the following page, select the
dyscan.aarand leave the subproject name as
dyscan, and then finally click finish.
This has created the new subproject, but now you must add the dependencies to your app-level build.gradle file:
// Other dependencies are here
// required since version 1.2.0
// required since version 1.5.0
def camerax_version = "1.2.2"
You will have to keep track of the library version manually, and when you want to upgrade to a more recent version, you will have to manually download the library and replace it.