Port Android server runtime to GaCy Go

This commit is contained in:
CAtlas0784 committed 2026-11-02 02:39:37 +07:00
1 parent 92a4b4f545
commit 3c1186c781
20 files changed
+830 -798

No files matched your search

@@ -4,8 +4,6 @@ import android.app.Application
import android.app.NotificationChannel
import android.app.NotificationManager
import android.os.Build
import com.chaquo.python.Python
import com.chaquo.python.android.AndroidPlatform
class GaCyApplication : Application() {
@@ -18,17 +16,11 @@ class GaCyApplication : Application() {
override fun onCreate() {
super.onCreate()
CrashTracker.init(this)
CrashTracker.breadcrumb(this, "GaCyApplication: onCreate")
instance = this
createNotificationChannel()
// Initialize embedded Python runtime
try {
if (!Python.isStarted()) {
Python.start(AndroidPlatform(this))
}
} catch (t: Throwable) {
t.printStackTrace()
}
}
private fun createNotificationChannel() {