diff --git a/app/src/main/java/com/matthaigh27/chatgptwrapper/MainActivity.kt b/app/src/main/java/com/matthaigh27/chatgptwrapper/MainActivity.kt index 2a1ba5a..0c92c5c 100644 --- a/app/src/main/java/com/matthaigh27/chatgptwrapper/MainActivity.kt +++ b/app/src/main/java/com/matthaigh27/chatgptwrapper/MainActivity.kt @@ -13,7 +13,7 @@ import com.matthaigh27.chatgptwrapper.databinding.ActivityMainBinding class MainActivity : Activity() { private val userAgent = - "Mozilla/5.0 (Linux; Android " + Build.VERSION.RELEASE + ") AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.79 Mobile Safari/537.36" + "Mozilla/5.0 (Linux; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.5563.57 Mobile Safari/537.36" private val chatUrl = "https://chat.openai.com/" private lateinit var binding: ActivityMainBinding private lateinit var webView: WebView diff --git a/build.gradle b/build.gradle index 964cbed..ed7499d 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { - id 'com.android.application' version '7.4.1' apply false - id 'com.android.library' version '7.4.1' apply false + id 'com.android.application' version '7.4.2' apply false + id 'com.android.library' version '7.4.2' apply false id 'org.jetbrains.kotlin.android' version '1.7.20' apply false }