Uploading the Source Maps to Sentry

If you enable code obfuscation in your Flutter release builds, the stack traces will be unreadable in the Sentry crash reports. Here's how to fix it. https://codewithandrea.com/tips/upload-source-maps-sentry/

Created 3d | Jan 20, 2025, 6:10:03 PM


Login to add comment

Other posts in this group

SSH Access on Codemagic Builds

If your Codemagic builds are failing, you can enable SSH access and login to the build runner to diagnose the issue. https://codewithandrea.com/tips/ssh-access-codemagic/

Jan 16, 2025, 4:40:03 PM | Code with Andrea
How to Release Your Flutter App on the Google Play Store

A reference guide for releasing your Flutter app on the Play Store, including app content, store listing, Android project settings, and code signing. https://codewithandrea.com/articles/how-to-release

Jan 13, 2025, 2:30:04 PM | Code with Andrea
Move Declaration to File (VSCode assist)

With VSCode, you can easily move your Dart classes and functions to a different file (this is very useful when refactoring). https://codewithandrea.com/tips/move-to-file-vscode-assist/

Jan 8, 2025, 1:50:05 PM | Code with Andrea
Using Stack and FractionallySizedBox

Here's how to overlay multiple widgets inside a Stack and constrain their size and position with Positioned and FractionallySizedBox. https://codewithandrea.com/tips/stack-fractionally-sized-box/

Jan 7, 2025, 10:10:03 AM | Code with Andrea
December 2024: Flutter 3.27 Release, Architecture Case Study, Dart Microbenchmarks, and Union Types

Also included: Dart 3.6, Flutter AI Toolkit, Flutter in Production livestream, and the latest from Code with Andrea. https://codewithandrea.com/newsletter/december-2024/

Dec 23, 2024, 3:10:09 PM | Code with Andrea
Digits Separators in Dart 3.6

Since Dart 3.6 (Flutter 3.27), you can use _ as a digits separator. This works with integers and floats, as well as custom formats (hex, scientific). https://codewithandrea.com/tips/digits-separators-

Dec 20, 2024, 1:10:06 PM | Code with Andrea
Color API Deprecations in Flutter 3.27

To support the latest wide gamut color spaces, Flutter 3.27 has deprecated some properties and methods in the Color class. https://codewithandrea.com/tips/color-deprecations-flutter-3-27/

Dec 20, 2024, 1:10:05 PM | Code with Andrea