Hello,
After some browsing in Firebase’s error reporting, I’ve noticed that many of our apps all reproduce this specific error on Android:
Exception java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState android.app.FragmentManagerImpl.checkStateLoss (FragmentManager.java:1415) android.app.FragmentManagerImpl.popBackStackImmediate (FragmentManager.java:580) android.app.Activity.onBackPressed (Activity.java:2520) android.app.Activity.onKeyUp (Activity.java:2494) com.ansca.corona.CoronaActivity.onKeyUp (CoronaActivity.java:3450) android.view.KeyEvent.dispatch (KeyEvent.java:2686) android.app.Activity.dispatchKeyEvent (Activity.java:2747) com.ansca.corona.input.RaiseKeyEventTask$1.run (RaiseKeyEventTask.java:90) android.os.Handler.handleCallback (Handler.java:739) android.os.Handler.dispatchMessage (Handler.java:95) android.os.Looper.loop (Looper.java:168) android.app.ActivityThread.main (ActivityThread.java:5885)
Seemingly, this is outside the scope of our own code, but instead with how corona handles the back button on Android?
There seems to be few threads regarding this;
https://forums.coronalabs.com/topic/45190-javalangillegalstateexception-crash/
https://forums.coronalabs.com/topic/35424-android-errors/
https://forums.coronalabs.com/topic/35424-android-errors/
But no real solutions. Does anybody have an idea about this or what is causing it?
It happens often enough that I would consider it a problem, but I have a hard time tracing and debugging it myself.