syncfusion / flutter-examples

This repository contains the Syncfusion Flutter UI widgets examples and the guide to use them.
Other
1.98k stars 775 forks source link

PlatformException Serializer error on a Flutter app SyncFusion page when running in release mode #657

Closed bolinocroustibat closed 2 years ago

bolinocroustibat commented 2 years ago

I have a Flutter (3.0.4) app that I run on Android 12 (real device and emulator) for testing, with a page using chart built with SyncFusion.

There is no issue when running in debug mode (flutter run).

But when running in release mode (flutter run --release), and switching to the specific app page using charts with SyncFusion, I get the following error displayed directly on the app page:

image

Note that there is no class "h" in my code.

I am under the impression that the error comes from SyncFusion Flutter module when building in release mode, since the error appears only on the page using SyncFusion, not any other.

Any idea on what's happening?

bolinocroustibat commented 2 years ago

Closing since this was not related to SyncFusion at all. See https://stackoverflow.com/questions/73141894/platformexception-serializer-error-on-a-flutter-app-using-syncfusion-when-runnin