Hey guys, i am getting an error when i start the f...
# multiplatform
j
Hey guys, i am getting an error when i start the foreground service on android side on kotlin multiplatform, the interesting part is that the same error do not happen on a android native project with the exact same code.
Copy code
E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.quicktendr.mgmt.androidApp, PID: 12693
    android.app.RemoteServiceException: Bad notification for startForeground
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1872)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:214)
        at android.app.ActivityThread.main(ActivityThread.java:7050)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
the entire explanation is in this link, please, let me know if you faced this before and how you proceeded