flutter release/production app view ios logs

Viewed 822

How can i view the logs for an app that runs in release mode (flutter run --release) on iOS (14.5) physical device? I tried logging with print, debugPrint nothing gets printed in the OS X console app (/System/Applications/Utilities/Console.app). i also tried in the terminal the 'flutter logs -v' command, nothing no logs or errors running this command.

1 Answers

You could use sentry.io, which lets you track errors and performance. They have an SDK for flutter and installing/implementing instructions to get started, once you setup a project.

Sentry is open-source and has paid options as well.

I don't know how you have built your backend, but if you use firebase you can use their crashlytics solution.

Related