-
-
Notifications
You must be signed in to change notification settings - Fork 255
Issues from Android and iOS appear differently in the Sentry UI from a Flutter app #1983
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey can you send the links to these events to me at [email protected] so we can take a closer look |
Could you also provide a reproducible sample app? It would greatly help in debuggin this |
Still need to verify if we correctly setup the TestFlight release build. |
Updated the comments above. It looks like everything works, except detecting in-app frames on Android and linking to GH. |
@buenaflor Looking through this, i think we need to set the in-app flag on the backend. On the client, we do not have the package if the app is obfuscated, which is how in-app frames are determined.
|
@Swatinem hey, you got a clue for two identical stacktraces (iOS & Android) where one has every frame marked as inApp (iOS) and the other does not have any marked(Android)? I guess the stacktrace rules are affecting it? |
Yes, the stacktrace rules have an effect there. There is also |
@krystofwoldrich in RN triggering the same error on iOS and Android will result being grouped correct? Do you do anything specific there to make that happen? |
If RN App throws error in JS |
yeah makes sense, I suppose we also want the same behaviour for Flutter |
Platform
Flutter Mobile
Obfuscation
Enabled
Debug Info
Enabled
Doctor
[✓] Flutter (Channel stable, 3.16.9, on Ubuntu 23.10 6.5.0-27-generic, locale en_GB.UTF-8)
• Flutter version 3.16.9 on channel stable at /home/freed/opt/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 41456452f2 (3 months ago), 2024-01-25 10:06:23 -0800
• Engine revision f40e976bed
• Dart version 3.2.6
• DevTools version 2.28.5
Version
7.16.1
Steps to Reproduce
I have a Flutter project and build for Android and iOS. I am using the dart sentry plugin to upload debug symbols and sources, and use the Sentry CLI directly to create releases in Sentry. Further I'm using the Sentry CLI to upload pro-guard files for Android and explicity specify the UUID when initializing Sentry.
I've added my package name in
inAppIncludes
in the app.I have also set up the Github integration and code mappings to point to the relevant directories.
The Android and iOS versions are built separately as part of CI. I use an automatically generated unique build number for each (time based) and infer the version from git tags, resulting in release identifiers liks
[email protected]+40001
and[email protected]+40041
. These are distinct releases/packages in Sentry. This all works and they show up as expected.Expected Result
Actual Result
Further, the paths reported are different between the two cases (which may explain some of the other issues/differences)
Are you willing to submit a PR?
Yes
The text was updated successfully, but these errors were encountered: