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
documentation says an UWP Crash preview is available, but on nuget it is not. #544
Comments
Yes, preview is available. I've added it and have seen crashes show up in App Center. I also have the same issue with docs and messages not being up-to-date. |
Where can we get it? Nuget offers 1.0.1, and it prints the "not yet supported" warning and does not submit crashes. |
You can ignore the message; it needs to be removed. In order for your application to send crashes, it needs to be in the Windows Store. |
My app is in the store (promo-code only so far) and my self-built instance is properly connected to the store, but a test crash I triggered yesterday does not appear in the app center. Edit: Crashes.Instance.InstanceEnabled is false after calling AppCenter.Start. Is that intended?
|
Yeah, false is intended. For UWP, the Crashes APIs don't actually do anything. It's strange that the crashes aren't appearing, but it doesn't sound like it's SDK related. Could you please open a support ticket on the App Center portal? Just start a conversation with the message bubble in the bottom right. Thank you! |
I have sent them a message, let's hope they can shed some light onto this. Some minor things I have noticed while typing my support request:
|
Hi, as mentioned in a previous comment, none of the advanced Crashes APIs work on UWP (we support only starting Crashes in Crash attachments on UWP are not yet supported. I will let @achocron answer on the other aspects of the issue. Also we released version 1.1.0 which removes the message about crash not being supported in UWP. It will instead print an error if the registration to the system level crash reporting fails. Please note that crash reporting on UWP works only if your application is associated to the store and if the device runs Windows 10 Creators update at minimum. Also Windows 10 is sending crashes only when the device is plugged to power. Crashes sent from an adhoc release build will appear in portal unsymbolicated. Symbolication can occur only if the application has been installed from windows store. |
I have updated to 1.1.0 but I don't see any changes. If I let the app crash without a debugger attached, with both versions a .dmp is created in If I start&crash the app with a debugger attached, the sdk prints the following:
post-crash:
My test device is my W10 desktop, it is always connected to power and running the FCU. Unsymbolicated crashes make sense, but the appcenter shows nothing:
How can I log AppCenterSDK's output to a file? It would be great if it would use my own |
Crashes.GetErrorAttachments is defined in a .NET standard portable component and that's why it is visible in all platforms as we want to support Xamarin.Forms. We will investigate if we can mark it obsolete for UWP. Currently we don't have any way to redirect output from AppCenterSDK as it uses only Debug.WriteLine. Is your application having a valid association to the Windows Store? Even for unsymbolicated crashes it still needs the package association (no actual publishing required). |
Crashes' other members like ShouldProcessErrorReport are marked as deprecated, so when I noticed GetErrorAttachments was not I assumed it should be working. I connected the app with the store, and I am using the same desktop to build appxuploads for the store, so I think it is properly connected - here is our Package.StoreAssociation.xml, if you want to have a look. My desktop is running W 10 Pro N, version 1709, build 16299.98. Edit: The analytics appear to work, at least I see my sessions in the overview. This wouldn't work if the app were not properly associated with the store, am I correct? |
It doesn't seem to me that the issue is related to your setup or SDK integration. Would you mind moving the conversation over to Intercom? Just press the blue chat bubble in the bottom right of the App Center portal. That should connect you to someone who can help with this. Thanks! |
Sure, I did that 6 days ago, so far no response that would have helped me though :( |
@guperrot is this issue still present as of 9/6/2019? UWP seems to upload crashes, but Crashes.GetErrorAttachments is never called. |
Yes the UWP SDK still does not have attachment support as of today. It's on the roadmap for 2019 https://github.com/Microsoft/appcenter/wiki/Roadmap and should be supported at the same time as "Support sideloaded UWP apps". |
The App Center's changelog says:
The Crashes documentation has an article describing how to use it on UWP:
But when I do that, AppCenter states that Crashes is not yet supported:
Is the preview really available? Also I searched this repo for the error message and could not find a thing - where is it logged?
The text was updated successfully, but these errors were encountered: