Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Crashing after switch to other activity contain MapView and back press #5202

Closed
DucHM opened this issue Jun 1, 2016 · 5 comments
Closed
Labels
Android Mapbox Maps SDK for Android crash

Comments

@DucHM
Copy link

DucHM commented Jun 1, 2016

I uploaded my demo on Android platform as link below:
https://drive.google.com/file/d/0BxCyRfBVwdSuRjluOWp0SGQ2VEk/view?usp=sharing
This is link screen record when crashing:

https://www.youtube.com/watch?v=PMfwxt78qiA

Start app demo
Click to Switch button on the top screen
After new activity started --> Click to back press or back button --> crashed with content in logcat as ported on #5094

Please check and support help me.

@tobrun tobrun added Android Mapbox Maps SDK for Android crash labels Jun 1, 2016
@tobrun
Copy link
Member

tobrun commented Jun 1, 2016

Thank you for reaching out and adding source code and a clip showing the issue.
This will make reproducing a bit easier.

@ugurcany
Copy link

ugurcany commented Jun 1, 2016

I'm also having this issue on Asus Zenfone 6 (Android 5.0) for both 4.1.0-beta.1 and 4.1.0-SNAPSHOT versions. However, it works fine on Samsung Galaxy S7.

What exactly I do to reproduce the error:

  • Open activity that contains MapView
  • Zoom in&out, swipe for a while on the map
  • Click on back button
  • App crashes!

@tobrun
Copy link
Member

tobrun commented Jun 1, 2016

@bleege @cammace: I believe this is a valid bug that would block 4.1.0, this type of behaviour is something we don't have in the test app anymore.

  • Activity with Mapview
  • go to another Activity
  • press back to return to Mapview Activity

We should look into adding such an Activity for future reference + try reproducing it.

@jfirebaugh
Copy link
Contributor

This is the same as #5094 right? Can we keep the discussion on a single ticket please?

@tobrun
Copy link
Member

tobrun commented Jun 1, 2016

@jfirebaugh you are right. Closing this in favor of #5094

@tobrun tobrun closed this as completed Jun 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android crash
Projects
None yet
Development

No branches or pull requests

4 participants