Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Update the compile SDK

Acho Arnold361da9e40a4f
diff --git a/android/app/build.gradle b/android/app/build.gradle
index 072771bb..416e01d2 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -15,7 +15,7 @@ def getGitHash = { ->
}
android {
- compileSdk 33
+ compileSdk 34
defaultConfig {
applicationId "com.httpsms"
@@ -61,6 +61,7 @@ dependencies {
implementation 'org.apache.commons:commons-text:1.9'
implementation 'com.google.android.material:material:1.9.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
+ implementation 'androidx.core:core-ktx:1.12.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
diff --git a/android/build.gradle b/android/build.gradle
index 9cd0ce03..c910f1b2 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -1,13 +1,18 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
+ ext {
+ kotlin_version = '1.9.10'
+ }
repositories {
// Check that you have the following line (if not, add it):
- google() // Google's Maven repository
+ google()
+ mavenCentral() // Google's Maven repository
}
dependencies {
// Add this line
- classpath 'com.google.gms:google-services:4.3.15'
+ classpath 'com.google.gms:google-services:4.4.0'
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}