Closed zagorsky closed 6 years ago
This error comes from the Background Service not running. Since it is now being restarted whenever it stops, this error should be less frequent. commit 6688eb03f54fc7f70fdb8a52209f04f2dcaa59c1 gives the TextFileManager a little more time before it errors. If an error does happen something bigger has gone wrong.
Should be fixed. If this error appears again in app version 2.4.1 or higher, we'll reopen this issue.
We got at least 300 of these from at least 20 users through the Google Play Store. All of them running app version 24 (2.2.5) or below; 24 is the current public version on Google Play.
At version 24, here's
SmsReceivedLogger.java
line 60: https://github.com/onnela-lab/beiwe-android/blob/ad51ac75476832ff4d0fb8e8470288756ed1c469/app/src/main/java/org/beiwe/app/listeners/SmsReceivedLogger.java#L60And here's
TextFileManager.java
line 67: https://github.com/onnela-lab/beiwe-android/blob/ad51ac75476832ff4d0fb8e8470288756ed1c469/app/src/main/java/org/beiwe/app/storage/TextFileManager.java#L67