diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 526b4c2..a2d7c21 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -13,7 +13,6 @@ - diff --git a/app/build.gradle b/app/build.gradle index a0389d0..6f947a9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -12,7 +12,7 @@ android { defaultConfig { applicationId "com.example.feedbackprime" - minSdk 21 + minSdk 24 targetSdk 31 versionCode 1 versionName "1.0" @@ -52,7 +52,7 @@ dependencies { implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1' //SAWO - implementation 'com.github.sawolabs:Android-SDK:0.1.8' + implementation 'com.github.sawolabs:Android-SDK:0.3.0' //volley implementation("com.android.volley:volley:1.2.1") diff --git a/app/src/main/java/com/example/feedbackprime/SplashScreen.kt b/app/src/main/java/com/example/feedbackprime/SplashScreen.kt index 8c43069..af89fee 100644 --- a/app/src/main/java/com/example/feedbackprime/SplashScreen.kt +++ b/app/src/main/java/com/example/feedbackprime/SplashScreen.kt @@ -5,6 +5,7 @@ import android.os.Bundle import android.os.Handler import android.view.WindowManager import androidx.appcompat.app.AppCompatActivity +import com.example.feedbackprime.callprocess.ProcessCallActivity @Suppress("DEPRECATION") class SplashScreen : AppCompatActivity() { @@ -22,7 +23,7 @@ class SplashScreen : AppCompatActivity() { // we used the postDelayed(Runnable, time) method // to send a message with a delayed time. Handler().postDelayed({ - val intent = Intent(this, MainActivity::class.java) + val intent = Intent(this, ProcessCallActivity::class.java) startActivity(intent) finish() }, 3000) // 3000 is the delayed time in milliseconds. diff --git a/app/src/main/java/com/example/feedbackprime/sawoauth/SawoAuthLanding.kt b/app/src/main/java/com/example/feedbackprime/sawoauth/SawoAuthLanding.kt index 6922608..81368ca 100644 --- a/app/src/main/java/com/example/feedbackprime/sawoauth/SawoAuthLanding.kt +++ b/app/src/main/java/com/example/feedbackprime/sawoauth/SawoAuthLanding.kt @@ -30,7 +30,7 @@ class SawoAuthLanding : Fragment() { "68348a0e-da16-4e57-8f03-4daceb1bce0c\n", // your api key "615de8b2956fa888e2ab633duDIlH0mAzkPfNy0cpddvHt63" // your api key secret ).login( - "email", // can be one of 'email' or 'phone_number_sms' + "phone_number_sms", // can be one of 'email' or 'phone_number_sms' ProcessCallActivity::class.java.name // Callback class name ) }