Skip to content

Commit

Permalink
Merge pull request android#18 from samtstern/ss-fix-build
Browse files Browse the repository at this point in the history
Fix build
  • Loading branch information
codingjeremy authored Sep 20, 2019
2 parents f120466 + b3c49b4 commit a4d283a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions SmsVerification/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ the HTTP endpoint the app uses to send the SMS). The format is:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="server_client_secret">0000000000</string>
<string name="server_client_secret_v8">0000000000</string>
<string name="url_verify">https://your-server.com/api/verify</string>
<string name="url_request">https://your-server.com/api/request</string>
<string name="url_reset">https://your-server.com/api/reset</string>
Expand Down
6 changes: 4 additions & 2 deletions SmsVerification/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ android {
debug {
// Note: mutual dependency between this file, and SMS generated by
// server. (See README.md.)
storeFile file('../debug.keystore')
if (new File('../debug.keystore').exists()) {
storeFile file('../debug.keystore')
}
}
}

Expand Down Expand Up @@ -49,7 +51,7 @@ dependencies {
compile 'com.google.android.gms:play-services-auth-api-phone:11.0.1'
compile 'com.android.support:support-v4:25.3.1'
testCompile 'junit:junit:4.12'
compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha7'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
}

apply plugin: 'com.google.gms.google-services'
6 changes: 6 additions & 0 deletions SmsVerification/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

buildscript {
repositories {
maven {
url 'https://maven.google.com'
}
jcenter()
}
dependencies {
Expand All @@ -15,6 +18,9 @@ buildscript {

allprojects {
repositories {
maven {
url 'https://maven.google.com'
}
jcenter()
}
}
Expand Down

0 comments on commit a4d283a

Please sign in to comment.