Open madsnedergaard opened 10 months ago
Hello @madsnedergaard ,
I can reproduce a blacking of the screen when activating the solar layer on my OnePLus 8 Pro Android 13.
This is happening on the web app, I haven't tested the native app yet.
Edit: I have the exact same behavior on the native app.
Here is a recording of the issue occurring on the web app.
https://github.com/electricitymaps/electricitymaps-contrib/assets/4049458/c5bf5f5e-7b4d-41b7-84cc-fce0b49a44ac
Attached is the specs of my Android device:
Let me know if you need more information.
I was trying to run the Android app on my machine with Visual Studio to see if I can reproduce this issue on specific Android virtual devices, and debug it. It could use help to successfully run the app though :sweat_smile: .
I got as far as being able to run the mockserver and the web app successfully on my machine. Then, following the readme I'm able to prepare and run the app on a virtual device, but after startup I get a white screen. I have different errors depending on the android API version I'm using so it's hard to identify the real blocker here.
As a starting point, on API 29 (Q) I get this error (paraphrasing): unexpected symbol ? on line 1 for asset index-3e4eb939.js
. I did check that file and the js in there looks correct. So it might be an issue when the assets are exported from the web to the android folder.
FYI I'm on an Ubuntu 22.04 machine, and the readme seems to indicate that most contributors use mac, so that might be part of the reason.
If someone can help me run this, I think I can identify the issue and make an MR. Can you help me with that @madsnedergaard ?
Describe the bug We are getting reports that the solar and wind layers does not work on certain Android devices.
To be understood
Reported devices
If anyone can reproduce this on their own device, we'd appreciate more details! 🙏