X-Wei/flutter_catalog

App crashing on clicking 'go home' button

kamlesh1687 opened this issue · 2 comments

In Navigation/routes section , their is a go home button in the last page(need to navigate to last page ) ,on clicking the
Screenshot_20201127-182206
app crashes and black screen appear.

X-Wei commented

Thanks for reporting & nice catch!
This is because I depend on widget.runtimeType to determine their route names, but meanwhile I used --obfuscate flag when building the apk and this caused a name mismatch. (Cf. https://flutter.dev/docs/deployment/obfuscate#caveat)

I will fix this in the next app release.

Okay sure, Thanks.