-
-
Notifications
You must be signed in to change notification settings - Fork 360
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
Crash with multiple live locations shared in one chat #275
Comments
Thanks for the report, can confirm! I'll take a loot at this. Just to make sure, this works with upstream telegram? |
This works with upstream. Telegram build from Google Play show slippy map with several markers, one for each shared live location. |
Spent some time investigating this but I'm running out of time for now. The same exception is triggered here shortly before the crash: a290358#diff-4fb1655a7139efd0cd436d09c774ebf1R1175 But there it doesn't cause a crash due to the try/catch. When debugging the I might open an issue with osmdroid tomorrow if they can help pinpoint what's going wrong here. |
Could be provoked by the fact that you need to use a The reason: at the very beginning, the I guess you should use something like: mMapView.post(new Runnable() {
@Override
public void run() {
mMapView.setExpectedCenter(new GeoPoint(48.85825,2.29448));
controller.setZoom(7.);
}
}); I hope this helps. |
@monsieurtanuki Thank you! I'll have to look into this, if this helps. |
I have a similar problem with the version 9.3.3 of the FOSS Telegram with an old Android phone and also with a new one. It crashes when opening the map screen when more than one person is sharing it's location. |
Normal scenario: a person shares his live location in a chat. Dynamic map image with marker appears in this chat. Tapping on this image shows slippy map with person position.
Steps to reproduce:
Here is what appears in log:
Version: 4.9.1 from F-Droid
The text was updated successfully, but these errors were encountered: