VREMSoftwareDevelopment / WiFiAnalyzer

Android application to analyze WiFi signals.
https://vremsoftwaredevelopment.github.io/WiFiAnalyzer/
GNU General Public License v3.0
3.47k stars 619 forks source link

Versions 1.x work, but versions 2.x don't work (infinite loading circle) #243

Closed opusforlife closed 5 years ago

opusforlife commented 5 years ago

Location permission is granted. I've tried different scan intervals. Pausing and resuming doesn't affect the loading circle animation. Everything is allowed under Privacy Guard (LineageOS 15.1, so Android Oreo).

The versions before 2, including 1.9.3, work perfectly well. I can't think of any other variables to check for.

StyXman commented 5 years ago

Same here. Version from F-Droid, 2.0.4-45S (7.1.2-25). Not sure which was the version that worked before. Currently running FairPhone 19.05.3, based on AOSP-7.0.2 PL March 01, 2019. Then I turned Location on (GPS) and it started working.

evgenbn commented 5 years ago

Hello! I probably have the same problem. For example, I started the program or forcibly update access points, the update icon appears and does not stop. Transition to any other menu helps. Version 2.0.4 - 45S (9-28). Nokia 6.1, Android 9 (00WW_3_51F_SP02)

532910 commented 5 years ago

same issue with LineageOS 16

VREMSoftwareDevelopment commented 5 years ago

@opusforlife , @evgenbn, @532910

Please make sure location services on the device is enabled and functioning and application must have access to location services. As per @StyXman comment, application works after location services were enabled.

Application Version 2.X is designed to comply to latest Android 9 (Pie) requirements, such as location permission.

Version 1.9.3 is recommended for any device running Android 8.1 and lower. Instructions on how to install older version of the application (version 1.9.3) is available here

If you still wish to use Application Version 2.X, please make sure you are running the latest version. Instructions on how to install latest version of the application is available here

Regards,

VREM Development Team

opusforlife commented 5 years ago

@StyXman Thanks for the help!

@VREMSoftwareDevelopment Sorry about the false alarm! Does this mean that on Android Pie, you can't use version 1.9.3 at all? It seems very weird on Google's part to ask for GPS to be enabled just to scan some Wi-Fi networks. Explicitly asking for the location permission should be enough for the user to realise that Wi-Fi scanning can be used to track device location. Unless Google wants that every time the user wishes to use apps like this, Play Services should be able to track them along with all other apps that ping device location in the background. >:(

On that note, since versions 2.x won't work without GPS being enabled, could you please add a popup that gives you the option of enabling GPS, taking you to the Location menu if the user agrees? That's how GPSTest and Tower Collector do it. This will prevent silent fails like mine.

532910 commented 5 years ago

I'm absolutely sure location services on the device is enabled and functioning and application have access to location services.

image

image

image

image

Please reopen.

532910 commented 5 years ago

The app can successfully scan wifi networks. But pulling down leads to endless circle animation: image

532910 commented 5 years ago

Moreover, fast scannig does nothing.

VREMSoftwareDevelopment commented 5 years ago

@StyXman application provides pop up at the startup that explains all requirements:

Capture

Would you like to create pull request, regarding taking user to Location Services menu, since all current contributors are busy with other work. When we don't have an opportunity to implement a feature, we encourage developers to fork the project and become a contributor. It would be great to add new contributors to this project.

VREMSoftwareDevelopment commented 5 years ago

@532910 some behavior only occurs on certain devices or versions of Android. We do not have devices running LineageOS 16, so we will not be able to investigate your specific issues.