Skip to content

[.NET MAUI] JSON showing unknown_image and Android event lacks line and column numbers #3985

@souredoutlook

Description

@souredoutlook

Package

Sentry

.NET Flavor

Xamarin

.NET Version

9.02

OS

Android

SDK Version

5.1.1

Self-Hosted Sentry Version

saas

Steps to Reproduce

with this csproj config:

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='AppStore|AnyCPU'"> 
 <Debugger>Xamarin</Debugger> 
 <DebugType>portable</DebugType> 
 <DebugSymbols>true</DebugSymbols> 
 <EmbedAllSources>true</EmbedAllSources> 
 <EnableSourceLink>true</EnableSourceLink> 
 <RunAOTCompilation>False</RunAOTCompilation> 
 <PublishTrimmed>False</PublishTrimmed> 
 <AndroidUseAapt2>True</AndroidUseAapt2> 
 <AndroidCreatePackagePerAbi>False</AndroidCreatePackagePerAbi> 
 <AndroidPackageFormat>aab</AndroidPackageFormat> 
 <AndroidLinkMode>None</AndroidLinkMode> 
 <Optimize>True</Optimize> 
 <EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk> 
 <UseSentryCLI>true</UseSentryCLI> 
 <SentryOrg>vesigo-studios</SentryOrg> 
 <SentryProject>ontime_mobile</SentryProject> 
 <SentryUploadSymbols>true</SentryUploadSymbols> 
 <SentryUploadAndroidProguardMapping>true</SentryUploadAndroidProguardMapping> 
</PropertyGroup>

There are no line or column numbers being shown in the events - native events are working as expected.

Expected Result

Events are paired up with uploaded images

Actual Result

Not symbolicating correctly, example:

https://vesigo-studios.sentry.io/issues/6309002628/events/2905a706b763497ca82e1933ae93ee6b/?project=4508716749684736

Metadata

Metadata

Labels

No labels
No labels

Projects

Status

Done

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions