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
Aquiring Cell Towers crashes app #216
Comments
Hi, have you tried v0.7.4.1 ? |
Hi, it seems to work now. |
I'm running version 0.7.4.1 and here it crashes every time when trying to read active cell tower. |
Easer 0.7.4.1, GPS sensor must be on or the app will crash when detecting cell towers. GPS sensor or high accuracy mode must be selected. Tested on Android 9-Resurrection Remix 7.0.1 |
It is not the case here, running Android 5.1, no matter if with GPS or high accuracy it 'crashes' |
Easer 0.7.4.1 (installed from F-Droid), on Stock Oreo (8.1.0), without GPS enabled (not sure why GPS should factor into "Aquiring Cell Towers"), works without crashing for me. |
Previously acquiring cell information worked well on my Samsung S5 running stock Android 6.0.1. After installing Lineageos16 acquiring the cell information is indeed not possible without enabling GPS. (even while running version 0.7.4.1) As a test I've installed Easer 0.7.4.1 on a old phone running Android 6 and there it is still possible to get cell information without enabling GPS. I don't know why GPS is needed in more recent Android versions or how to get around this. |
Thank you guys. This seems to be a compatibility issue, though I'm not sure about the exact cause... @twikedk @ErsatzEx did it crash in versions prior to v0.7.2.3 (e.g. v0.7.2.2)? (Note you can export and import the data, in case you are worried about data loss for installing an old version.) @BME does it crash without GPS, or it just "doesn't work" (i.e. can't get any cell tower)? If it crashes, could you also try a version prior to v0.7.2.3 and report if it crashes? |
I had forgot all about as I found a work around, if I disable the GPS I'm able to get a cell tower and then I just enabled it again. I don't now if it crashed with in earlier versions as the setup is from several versions ago but I will see if I can find time to test with 0.7.2.2 |
Sorry that I wasn't clear enough. Yes it did crash. Think it showed the same backtrace as #214.
Where can I find those older versions? Fdroid only shows version back to 0.7.3.1 |
@bme13 For f-droid, you can enable the "F-Droid Archive" repository. Old versions of applications are there. |
Thanks. Just installed 0.7.2. If I try to get the cell tower information in that version without GPS enabled it doesn't crash but shows a toast message saying 'unable to get mobile location. verify your signal' (translated from Dutch) If I enable GPS the cell tower information is available. |
Up-to version 0.7.2.2 it works fine for me on Android 5.1 with GPS both enable and disable. The later versions I need to disable GPS and then it will show the Cell Tower but not in the same way as versions <=0.7.2.2. In the earlier versions the Cell Tower is registered and presented right away but in newer versions it looks like it searches for Cell Tower even though it already is shown and then I just hit OK to register it. |
@twikedk Yes, as you can see from the changelog, v0.7.2.3 changes that button to listen to (and record) cell tower changes, to allow users to move around and get nearby cell towers. However, there is a bug in v0.7.2.3 (which causes the app to crash when trying to this listen and record for a new Event/Condition), and the fix is in v0.7.4.1.
|
@renyuneyun I just tested following your suggestion and it ends with a 'crash', but if I disable my GPS then it works fine in version 0.7.4.1 |
@twikedk @ErsatzEx @bme13 I'm finally ready to say this: v0.7.6.1 added "crash log", as an enhancement of the existing "external logging" functionality. Could you post the log when the crash happens? The logs are named with time, so it should be easy to find. |
I just tested it but unfortunately it does not create the error folder neither an error log. I restarted the app but that didn't change anything, still 'crashing' but no log. |
I've enabled 'external logging' and reproduced the crash however the error directory is not created. There's only a /sdcard/logger directory containing a logs_0.csv file. See below the content of that file after the crash. In addition to this I've manually created an error directory in the /sdcard/logger directory and crashed the app but no file was generated.
|
Update. With the latest release of LineageOS I've got an extra option in the location setting. Now I've got the 'battery saving mode' which seems to be NLP. Using only wifi, bluetooth or cellular networks to determine the location. Now if I enable location with the battery saving option on Easer doesn't crash anymore. So my initial statement that GPS was needed is not correct. Location needs to be enabled in Android however GPS is not needed. |
If I understand the last comment correctly, that provides a work-around, but not a fix? The crash log finally worked in v0.7.7.3. Could anyone paste a crash log? |
Yes. I still need the location enabled, although GPS is not needed. Below the content of the error log. I've disabled the location and tried to create an event using the mobile location. This is created with version 0.7.7.6-beta.
|
Hi,
working with a HomTom S8 and Nougat.
When I try to create a condition that uses Cell Towers the app often crashes when it tries to read the active cell id's. Note: It does not crash always.
Olaf
The text was updated successfully, but these errors were encountered: