sparkweaver / MyFitnessApp

Ann application for walking, to start with.
MIT License
0 stars 0 forks source link

Problem with repeated Distance Outputs #11

Closed sparkweaver closed 3 months ago

sparkweaver commented 4 months ago

When using the app to measure walking distance, the console prints multiple output lines if the measurement action is stopped and started repeatedly. This can lead to performance and device battery problems.

Investigation

Next Step

sparkweaver commented 3 months ago

I will look at this before the first deployment. I don't want to have issues with memory leaks when running it on my phone.

Investigate the GeolocationService code

Changes

Test and Analysis

image

Next Step

sparkweaver commented 3 months ago

After reading the Microsoft documentation and attempting to find relevant blog discussions, I have not found a resolution or any leads addressing the issue of duplicate trigger events in the application.

The decision to temporarily stop this investigation is due to encountering another problem during real-life testing. This new issue is likely to require a change to the application's current structure, which could potentially resolve or render the duplicate trigger issue obsolete. #16

sparkweaver commented 3 months ago

As the current version of the application does not use geolocation, I am closing this issue for now. I will revisit and potentially reopen this issue when. There is a need to re-implement the geolocation feature.