1
0
Fork 0

fixed unexplainable crash bug + things i dont remember

This commit is contained in:
nin0dev 2024-03-25 19:42:45 -04:00
parent f182a98b69
commit e3c883d504
6 changed files with 11 additions and 6 deletions

View file

@ -1,5 +1,6 @@
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
}
android {
@ -24,8 +25,8 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
}

View file

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
xmlns:tools="http://schemas.android.com/tools"
package="com.nin0dev.vendroid">
<uses-permission android:name="android.permission.INTERNET" />

View file

@ -1,5 +1,5 @@
package com.nin0dev.vendroid
object Constants {
const val JS_BUNDLE_URL = "https://github.com/VendroidEnhanced/Vencord/releases/latest/download/mobile.js"
const val JS_BUNDLE_URL = "https://github.com/Vendicated/Vencord/releases/download/devbuild/browser.js"
}

View file

@ -37,9 +37,9 @@ class VWebviewClient : WebViewClient() {
val uri = req.url
if (req.isForMainFrame || req.url.path!!.endsWith(".css")) {
try {
return doFetch(req)
return null
} catch (ex: IOException) {
e("Error during shouldInterceptRequest", ex)
//e("Error during shouldInterceptRequest", ex)
}
}
return null

View file

@ -4,4 +4,6 @@
<string name="autocheck_vencord">Automatically update Vencord (Coming soon)</string>
<string name="autocheck_vendroid">Automatically check for Vendroid updates</string>
<string name="updates_title">Updates</string>
<!-- TODO: Remove or change this placeholder text -->
<string name="hello_blank_fragment">Hello blank fragment</string>
</resources>

View file

@ -2,4 +2,5 @@
plugins {
id 'com.android.application' version '8.3.1' apply false
id 'com.android.library' version '8.3.1' apply false
id 'org.jetbrains.kotlin.android' version '1.9.0' apply false
}