diff --git a/.gitignore b/.gitignore index fd45b12..8959528 100755 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /build /captures .externalNativeBuild +/exoverify/build/ diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 674414f..1cf0e23 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -4,17 +4,17 @@ diff --git a/README.md b/README.md index b4b8f13..e3146b4 100644 --- a/README.md +++ b/README.md @@ -42,10 +42,20 @@ Please visit [Exoverify Dashboard](https://verify.exotel.com) to generate your A ## Android SDK Integration Steps 1. Include the NOTP SDK library in your Android Project: -If you are using Gradle, you need to add the libray in the app level Gradle file, as shown below: - - dependencies { implementation 'org.bitbucket.Exotel:exoverify:1.6.1' } - + 1. download above **exotelverify** library folder in different path + 2. import above **exotelverify** library folder as module using following steps: + + - File > Import Module + + 3. If you are using Gradle, you need to add the libray in the app level Gradle file, as shown below: + + implementation project(path: ':exoverify') + + ### Note + do upgrade sdk + - add updated sdk aar file with in `exotelverify` folder + - change name and version in `exotelverify/build.gradle` + 2. A few other dependencies that you need to add are: implementation 'com.squareup.okhttp3:okhttp:3.6.0' @@ -53,19 +63,7 @@ If you are using Gradle, you need to add the libray in the app level Gradle file implementation 'com.googlecode.libphonenumber:libphonenumber:8.8.3' implementation 'dnsjava:dnsjava:2.1.6’ -3. Add the following jitpack dependency in the project level Gradle file: - - allprojects { - repositories { - ... - maven { - url 'https://jitpack.io' - credentials { username 'jp_etcct006nc8pkd0ntra0n5uk9k' } - } - } - } - -4. The below permissions are required to be added in your AndroidManifest file: +3. The below permissions are required to be added in your AndroidManifest file: diff --git a/app/build.gradle b/app/build.gradle index 170c899..ca5e4cc 100755 --- a/app/build.gradle +++ b/app/build.gradle @@ -27,7 +27,7 @@ dependencies { implementation 'com.googlecode.libphonenumber:libphonenumber:8.8.3' implementation 'dnsjava:dnsjava:2.1.6' testImplementation 'junit:junit:4.12' - implementation 'org.bitbucket.Exotel:exoverify:1.6.0' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' + implementation project(path: ':exoverify') } diff --git a/build.gradle b/build.gradle index 0ef3a30..c21f9bb 100755 --- a/build.gradle +++ b/build.gradle @@ -19,10 +19,6 @@ allprojects { repositories { google() jcenter() - maven { - url 'https://jitpack.io' - credentials { username 'jp_etcct006nc8pkd0ntra0n5uk9k' } - } } } diff --git a/exoverify/build.gradle b/exoverify/build.gradle new file mode 100644 index 0000000..b868320 --- /dev/null +++ b/exoverify/build.gradle @@ -0,0 +1,2 @@ +configurations.maybeCreate("default") +artifacts.add("default", file('exoverify-1.6.1-release.aar')) \ No newline at end of file diff --git a/exoverify/exoverify-1.6.1-release.aar b/exoverify/exoverify-1.6.1-release.aar new file mode 100644 index 0000000..f023b8b Binary files /dev/null and b/exoverify/exoverify-1.6.1-release.aar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index d62322d..a97668f 100755 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Wed Jun 12 13:27:54 IST 2019 +#Mon Sep 11 18:14:14 IST 2023 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip diff --git a/settings.gradle b/settings.gradle index e7b4def..36596dd 100755 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1,2 @@ include ':app' +include ':exoverify'