Closed Okuro3499 closed 4 months ago
It seem to be crashing when:
FATAL EXCEPTION: main
Process: io.treehouses.remote, PID: 15946
android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{fb5e5a6 u0 io.treehouses.remote/.utils.GPSService}
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2190)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:233)
at android.app.ActivityThread.main(ActivityThread.java:8068)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:631)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:978)
@xyb994 try unistalling the app before building a new one. I am not getting the crash despite trying all scenarios
https://github.com/treehouses/remote/assets/64019708/aadc5983-c5f5-4b8d-b9e5-bbef423ecfe2
@dogi location is sent from this branch. See first item is my phone today
fixes #1992 https://github.com/treehouses/remote/assets/64019708/2355b914-b7b4-49e6-a4cb-1fbb36707e87