onnela-lab / beiwe-android

Beiwe is a smartphone-based digital phenotyping research platform. This is the Beiwe Android app code. The Beiwe2 app is also available on the Google Play store to use with open source builds of the Beiwe backend.
https://www.beiwe.org/
BSD 3-Clause "New" or "Revised" License
26 stars 16 forks source link

Registration crash/hang on Android 8 #25

Closed mariasimoneau closed 6 years ago

mariasimoneau commented 6 years ago

The Beiwe app hangs on a white screen after the app is installed and during the registration process after permission is given to access SMS messages. This happens with both apps -- the original Beiwe from studies.beiwe.org/download or Beiwe2 on the app store. Phone is a Google pixel on android version 8.1.0.

Second report - I had a participant today that downloaded Beiwe on their Pixel phone and whenever they opened the app after installing it just gave them a blank page.

zagorsky commented 6 years ago

We found and fixed the issue.

Android 8.0 and above no longer allows apps to read the Bluetooth MAC Address, as Google announced in this blog post. We added code in commit 3fcf089 to write a blank Bluetooth MAC Address when the app isn't able to read it.

We pushed a new version of the app (24, aka 2.2.5) to the Google Play Store Private Beta (not yet rolled out to the public), and an Onnela Lab Server edition for download here: https://s3.amazonaws.com/beiwe-app-backups/release/Beiwe-2.2.5-onnelaLabServer-release.apk (this does not affect the version available for download at studies.beiwe.org/download).

zagorsky commented 6 years ago

We just publicly released version 2.2.5 of the Android app on the Google Play Store and on studies.beiwe.org/download; it should fix this issue.