Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NOTP-498] update #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
/build
/captures
.externalNativeBuild
/exoverify/build/
6 changes: 3 additions & 3 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 15 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,30 +42,28 @@ 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'
implementation 'com.google.code.gson:gson:2.8.0'
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:

<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.INTERNET" />
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}
4 changes: 0 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ allprojects {
repositories {
google()
jcenter()
maven {
url 'https://jitpack.io'
credentials { username 'jp_etcct006nc8pkd0ntra0n5uk9k' }
}
}
}

Expand Down
2 changes: 2 additions & 0 deletions exoverify/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
configurations.maybeCreate("default")
artifacts.add("default", file('exoverify-1.6.1-release.aar'))
Binary file added exoverify/exoverify-1.6.1-release.aar
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
include ':app'
include ':exoverify'