Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scan not working #143

Open
kristiankofoed opened this issue Jun 18, 2024 · 7 comments
Open

Scan not working #143

kristiankofoed opened this issue Jun 18, 2024 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@kristiankofoed
Copy link

I just installed the app. I gave all permissions. When I try to scan the app asks for another permission. I turned off battery saver. Advice would be appreciated. Android galaxy a14, current version

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'scan
  2. Click on '....'scan
  3. Scroll down to '....'scan
  4. See error

Expected behavior
I expect the app to scan and find near BT devices
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6] Samsung galaxy a14
  • OS: [e.g. iOS8.1] current version
  • Browser [e.g. stock browser, safari] chrome
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@kristiankofoed kristiankofoed added the bug Something isn't working label Jun 18, 2024
@bobemoe
Copy link

bobemoe commented Sep 6, 2024

Same issue on Samsung tab s6lite, lineage os, installed through f-droid. Granted all perms.

Clicking scan just takes me to the system app info for this app and a popup saying "grant the necessary permissions manually"

@Semper-Viventem
Copy link
Owner

Hello,
It might be the case if background location permission is not granted. Please check that location permission "All the time" is checked. Background location is necessary because the app works in the background.

@strayd-N-Time
Copy link

strayd-N-Time commented Jan 28, 2025

I am experiencing the same issue on my samsung A35 running android 14, as well. All time permission has been granted but no change.

@Semper-Viventem
Copy link
Owner

@strayd-N-Time do you have Google services on your device? Also might you check if there are any error reports in the journal (the third tab in the app)?

@bobemoe
Copy link

bobemoe commented Jan 28, 2025

I posted "same for me" above but since got it working. I seem to remember having to go into the perms and double check everything was "allow always", even though some were allowed it wasn't clear they were not always or background allowed until clicking through.

I had since factory reset my device so the app was non longer installed.

I just did a clean install and made sure I allowed everything from the setup wizard pop-ups and it worked first go.

I suspect I denied GPS last time.

Still LineageOS (Android13) F-droid with no google apps.

@Semper-Viventem
Copy link
Owner

TBH I didn't have a chance to test the app without Google Services as I don't have such a device with me. It should work theoretically as I don't rely on the Google API, but if you have more information about the problems I'd appreciate that. In case there is no GPS available, the app should send a notification with a special warning about that, and if the all-time location is not granted it should continue scanning now but in case of error, the app will report the location permission as a possible reason.

@bobemoe
Copy link

bobemoe commented Jan 28, 2025

As I say, its working fine for me now, and I don't have any Google Services, so I think you can say that's no problem. I made sure to accept ALL perms.

I just uninstalled and reinstalled, this time I deny GPS. It ask me a second time and I deny again. Now I am back to the "wont scan" position:

  1. Open App
  2. Click scan
  3. Permissions required description dialog shows describing 3 perms. Deny says the app requires the perms. Accept continues to...
  4. OS dialog "Allow BLE Radar to access the device location". -> Dont Allow
  5. OS dialog "Allow BLE Radar to connect and determine pos of nearby devices". -> Allow
  6. OS dialog "Allow BLE Radar to send notifications" -> Allow
  7. Back to "no data yet" screen
  8. Click scan
  9. OS dialog "Allow BLE Radar to access the device location". -> Dont Allow
  10. Back to "no data yet" screen
  11. click scan
  12. Screen shiver effect, no error, no dialogs, still on "no data yet" screen
  13. click scan
  14. repeat from 12 forever

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants