Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

My Forest - Donation Details - going back crashes App (Android) #2563

Open
delightedMatt opened this issue Aug 5, 2020 · 6 comments
Open
Labels
Android Issue happening in the Android app bug Something isn't working

Comments

@delightedMatt
Copy link

delightedMatt commented Aug 5, 2020

In "Me", beneath the Map, MyForest lists all the Trees one got. One can klick on one of these listed Elements for more Details. Going back from this detailed view crashes the App 100% of the time.

Production, Mobile Android App

To Reproduce

  1. Go the "Me"
  2. Scroll Down
  3. Select a Donation / Redeemed Gift / registered Tree
  4. Go back (Back Button on Screen or Phone Back Button )
  5. App crashes

Expected behavior
Back to "Me"
Prefferably scrolled down to last location

Screenshots
details_tree
**)

Smartphone
Device: Samsung Galaxy S7
OS: Android 8.0.0
Samsung Experience version: 9.0
Plant-for-the-Planet App Version 1.3.4.900030

@delightedMatt delightedMatt added the bug Something isn't working label Aug 5, 2020
@delightedMatt delightedMatt changed the title My Forest - going back crashes App (Android) My Forest - Donation Details - going back crashes App (Android) Aug 5, 2020
@delightedMatt
Copy link
Author

I tested it in an emulated iOS device and everything was fine, no crash

@norbertschuler
Copy link
Collaborator

I cannot reproduce this error. But I can reproduce that the system back button on an Android device does not go back in the navigation of the app, but mostly just closes the app completely (not crashing it). So maybe that's what the users recognize as a "crash".

@norbertschuler norbertschuler added the Android Issue happening in the Android app label Aug 5, 2020
@norbertschuler
Copy link
Collaborator

I assume a back button handler for the native Android button was never ever implemented, but there are solutions available: https://medium.com/building-with-react-native/android-back-button-handling-in-react-native-apps-1x08-e3acb0990011

@norbertschuler
Copy link
Collaborator

@delightedMatt can you please confirm that app crashes and not just exits?

@delightedMatt
Copy link
Author

delightedMatt commented Aug 10, 2020

@norbertschuler
On the current production version I get this (see below).
I get it when :

  1. pressing the Android Native Back Button
  2. pressing the "Back Button" shown on the page itself

Which seemed like a crash to me:

planet_app_stopped

Emulating it here: app-live.browserstack.com
The 1.3.5 version on page Back Button works as intended: Back to MyForest
The Native Android Button goes back to "World". And when one switches back to "Me" it re-enters the screen with donation details (where one pressed Back) instead of the general "Me" page.

@norbertschuler
Copy link
Collaborator

norbertschuler commented Aug 10, 2020

On the current production version I get this (see below).

Well, that dialog indicates a crash, confirmed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Issue happening in the Android app bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants