-
Notifications
You must be signed in to change notification settings - Fork 141
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
AppCenter SDK 5.0.0 P1 on iOS does not send crash reports #1687
Comments
Hi @rogerbriggen , thank you for reaching out! You also mentioned that you are targeting Android. Do you experience this issue on Android as well? |
It works fine on Android. But does not work on MAUI Windows Packaged App (Version 4.5.1 did work there). |
Initial issue was about iOS. Do crashes work on iOS now for you? |
When I run it in the simulator with the debugger, it does not fisnish but will show me that there is an uncaught exception forever (even if I press Continue it just shows up immediatly again. ObjCRuntime.ObjCException Native stack trace: Quelle = Microsoft.iOS |
Here the log from the console without debugger attached |
From the logs I can't see anything suspicious. AppCenter is started successfully and sent some system logs. I can't see any crash in the logs. Make sure you are not debugging the app while it is crashing, as your visual studio debugger will catch the crash. Make sure your app crashes after AppCenter is initialized. Then run the app again, so the AppCenter SDK would able to send the collected crash data. If it doesn't work, I will need two log files. The one when the app crashed and the one the app was restarted after the crash. |
Hi, |
Thank you for the logs! I've just updated dotnet and stuff and created a new MAUI app and faced the same issue, crashes were not sending from SDK. I'm creating a bug on our board and will update you on the progress. |
Thanks |
Hi @rogerbriggen , It appears it is a xamarin-macios bug. See xamarin/xamarin-macios#15252. The workaround is adding this on the app start:
|
Hi @DmitriyKirakosyan |
Description
I am using preview 1 of the sdk for MAUI. Now I can use it also on ios, thanks for that. The distribute module works and also the analytics. But I don't get any crash reports even so they are enabled. If I throw an exception (or use Crashes.GenerateTestCrash()). My app gets closed but nothing is sent to the appcenter, also not after a restart of the app.
Repro Steps
Please list the steps used to reproduce your issue.
Currently, I don't have any special linker adjustments done in the csproj. Is there anything we need to do?
Details
AppCenter.LogLevel = LogLevel.Verbose
before your call toAppCenter.Start(...)
and include the logs here:I enabled it but don't find any log entries in my logs. Where do you log your stuff?
The text was updated successfully, but these errors were encountered: