feat: Add log sending functionality with device information and logcat capture, including a new utility and UI integration, and update the application version.

This commit is contained in:
ArtRuntime
2026-02-02 19:47:52 +05:30
parent 5d0da8ec9c
commit 5288031742
7 changed files with 298 additions and 1 deletions
@@ -36,6 +36,8 @@ class SettingFragment : PreferenceFragmentCompat() {
vpnPreference.setDefaultValue(mUseVpnNetwork)
vpnPreference
}
initSendLogs()
}
private fun initGms() {
@@ -74,4 +76,12 @@ class SettingFragment : PreferenceFragmentCompat() {
return@setOnPreferenceChangeListener true
}
}
private fun initSendLogs() {
val sendLogsPreference: Preference? = findPreference("send_logs")
sendLogsPreference?.setOnPreferenceClickListener {
BlackBoxCore.get().sendLogs("Manual Log Upload from Settings", true)
toast("Sending logs... (Check notifications for status)")
true
}
}
}