OnewheelCommunityEdition / OWCE_App

GNU General Public License v3.0
114 stars 30 forks source link

[Bug] App does not appear to scan by default when it opens #82

Open beeradmoore opened 2 years ago

beeradmoore commented 2 years ago

Describe the bug Quite a few users are reporting that when they open the app it does nothing. The behaviour of pull to refresh is not apparent. We should have buttons to trigger a scan to make it more user friendly. But on top of that there is a bug as this should try to scan when the app opens.

To Reproduce Steps to reproduce the behavior: Open the app.

Expected behavior App starts to scan for boards to connect to.

Screenshots 300849995_10160468651168628_2343862965399615590_n

Phone (please complete the following information): Unsure, appears Android specific but may not be.

Onewheel (please complete the following information): N/A

Additional context Add any other context about the problem here.

Gigahawk commented 2 years ago

This may be a permissions issue, I just cleared storage/permissions and it started working again after prompting for location access.

beeradmoore commented 2 years ago

That sounds like it is getting into some state where it feels it shouldn't prompt for permissions (which it shouldn't if it already has them) so it isn't trying.

Gigahawk commented 2 years ago

I got this behavior after not opening the app for a really long time, and occasionally I get notifications about permissions being removed for apps I haven't used in a while, maybe permissions are getting revoked by Android/Play services and breaking stuff?

beeradmoore commented 2 years ago

Could very well be that. I'll see if I can simulate permissions being removed and also correctly alert the user that they have denied permissions that they need to manually fix.