treehouses / remote

⚡ control Raspberry Pi from Android Device through Bluetooth ⚡
https://play.google.com/store/apps/details?id=io.treehouses.remote
GNU Affero General Public License v3.0
64 stars 28 forks source link

MissingForegroundServiceTypeException #1919

Closed dogi closed 9 months ago

dogi commented 9 months ago
FATAL EXCEPTION: ConnectThreadSecure
Process: io.treehouses.remote, PID: 27684
android.app.MissingForegroundServiceTypeException: Starting FGS without a type  callerApp=ProcessRecord{f9bd4ad 27684:io.treehouses.remote/u0a364} targetSDK=34
    at android.app.MissingForegroundServiceTypeException$1.createFromParcel(MissingForegroundServiceTypeException.java:53)
    at android.app.MissingForegroundServiceTypeException$1.createFromParcel(MissingForegroundServiceTypeException.java:49)
    at android.os.Parcel.readParcelableInternal(Parcel.java:4870)
    at android.os.Parcel.readParcelable(Parcel.java:4852)
    at android.os.Parcel.createExceptionOrNull(Parcel.java:3052)
    at android.os.Parcel.createException(Parcel.java:3041)
    at android.os.Parcel.readException(Parcel.java:3024)
    at android.os.Parcel.readException(Parcel.java:2966)
    at android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:6790)
    at android.app.Service.startForeground(Service.java:775)
    at io.treehouses.remote.bases.BaseBluetoothChatService.startNotification(BaseBluetoothChatService.kt:93)
    at io.treehouses.remote.network.BluetoothChatService.connected(BluetoothChatService.kt:178)
    at io.treehouses.remote.network.BluetoothChatService$ConnectThread.run(BluetoothChatService.kt:288)
dogi commented 9 months ago

@Okuro3499 look at https://github.com/treehouses/remote/actions/runs/7920018009/job/21622896361#step:9:28