Hello everybody. I wanted to ask for help with a unity project. I want to run an ML model in the background of an android device using foregroundservice but I’m having a lot of difficulties. My intention is to modify an existing github project (GitHub - nintendaii/unity-background-service: A simple project that shows how to create an Android service for Unity application working on background) and forecast the steps for the next day(but the main goal here, is to run the model in the background). I created the tflite model and it is importing correctly into the unity project, but it does not work in the generated apk. only the notification from the original github project “Counting your steps…” appears. nor does the exception notification appear. Could anyone give me a suggestion as to what it could be? I will provide the github repository for my custom project:
Appreciate it!