I develop a Xamarin.Android application and I use Xamarin.Insights to get information about crash or errors that happen.
I am migrating this project to Mobile Center, thanks to that video (https://www.youtube.com/watch?v=E_uOgl-sO5A&t=680s).
I would like to know how to add additional information about a crash during a crash report.
For instance, I would like to know if the user is connected to wifi or not, or the identity of the user, or anything else.
Or I would like to report an error in a try catch with information about the Exception catched and actual values of variables used at this time.
With Xamarin.Insight, it's very easy :
string sAdditionnalInformation = exc.Message + sTitle + sDescription;
Insights.Report(exc, sAdditionnalInformation , Insights.Severity.Error);
How could I do this with Mobile Center please ?
I have seen the documentation here : https://learn.microsoft.com/en-us/mobile-center/sdk/crashes/xamarin
I know there is the method below to report a crash manually, but I can't add additional information :
Crashes.GenerateTestCrash()
I have seen the event below, but I don't know how to add additionnal information with that. I did not found any documentation about that.
Crashes.SentErrorReport
Any help would be really appreciated please :-)
This functionality is currently not yet supported by Mobile Center but on their Roadmap, see the "Crashes" section here: https://learn.microsoft.com/en-us/mobile-center/general/roadmap
Crashes
Display of attachments sent from the Crashes SDK, in the portal
Related
My app publish rejected due to this error but I can not find the source probably I am looking in wrong section.I am not native can anyone explain what this error does and how I fix it ?
Screenshot
EDİT:
Sorry I didnt realize there is attachment , I belive I have to add contact info(my gmail) to main screen I probably add with info button or something , gladly accepting ideas.
Attachment
look at the final of the page (the page where you took the screenshot) there is an attached button where google play shows you the exact problem.
Also go to console -> all my apps -> developer account and check that you fill all the information
I was reading up on RenderTargetBitmap for a bug in one of my UWPs where a captured image wasn't displaying correctly. Came across a remark from Microsoft stating RenderTargetBitmap can lose data for some reason or another and that we should be attempting to render the bitmap a second time using CompositionTarget.SurfaceContentsLost event. But I haven't been able to find an example of this event online. And I can't seem to request feedback from Microsoft at this time on their Knowledge base site. Does anyone have some sample code they would be willing to share?
Thank you.
But I haven't been able to find an example of this event online.
There's a ImageSourceUpdateRegion sample in Win2D-UWP-Samples. It registers the CompositionTarget.SurfaceContentsLost event in UserControl_Loaded. You could check this sample to learn how to use this event for your UWP app.
I'm following the article https://support.hockeyapp.net/kb/client-integration-cross-platform/how-to-integrate-hockeyapp-with-xamarin trying to add some more information into hockeyapp's crash data.
Collect crash reports: If your app crashes, a crash log is written to the device's storage. If the user starts the app again, they will be asked asked to submit the crash report to HockeyApp. This works for both beta and live apps, i.e. those submitted to the App Store. Crash logs contain viable information for you to help resolve the issue. Furthermore, you as a developer can add additional information to the report as well.
I found some example code at https://support.hockeyapp.net/kb/client-integration-ios-mac-os-x-tvos/how-to-add-application-specific-log-data-on-ios-or-os-x from Add custom information to HockeyApp crash report but it's in objective-c and swift, How can I do it in Xamarin / c#?
I assume that you want to use AppCenter instead of HockeyApp.
With AppCenter you need to tell what the AppCenter-client should watch for. If you want to use crashes and analytics your start would look like this:
AppCenter.Start("YOUR KEY", typeof(Analytics), typeof(Crashes));
If you want to report an exception you could easily do it with:
Crashes.TrackError(exception);
Additional information can be added with a dictionary:
var additionalInformation = new Dictionary<string, string>();
additionalInformation.Add("TITLE", "VALUE");
Crashes.TrackError(exception, additionalInformation);
Ok, so without much notification given, adding market place listings to your vendor profile is no longer possible. The 'create new listing' button is greyed out.
I need to make changes to an existing marketplace listing but that gives errors. We are forced into the new SDK.
So I went ahead and enabled the apps market SDK, filled out all details including images of all sizes, add a COB extension for the contextual gadget and saved the whole thing.
A minute later I return to make a modification and dang... error: "We are looking into this.".
#Google: HELP !
UPDATE : I can reliably reproduce the error as explained here.
Enable Google Apps Marketplace SDK in your project
click on the gear icon, you will be directed to the old API Console
Fill out all details
Add a COB extension (Contextual gadget)
Save everything
Close the API console
Go back to your cloud console -> Google Apps Marketplace SDK
Click on the gear icon again
ERROR
Tested with several google accounts on different computeres and multiple projects on the cloud console.
#jonathanberi could we have a status on this issue, please? We are experiencing the exact same issue and we are unable to publish our app (which is ready) because of this bug. We have tried both creating a new Google Apps console project from scratch as well as modifying a draft of a yet to be published page with the same result. Is any information that we could provide to help?
You must fill out parameter name and a paramter value or your cloud console will return errors and you will not be able to recover from this.
Ouch, that were 3 useless weeks....
I am developing a simple application in Cocoa, and I want to detect whether any application is running in full screen mode. Is this possible?
Through runningApplications API, I can get various informations but there is no specific property related to full screen mode. Does any one know how to detect it? Is there any carbon event or API for this?
I ran into this in the spring and spent forever trying to get it to work. I ended up packaging my code up into a little GitHub project, but I completely forgot to share it here.
https://github.com/shinypb/FullScreenDetector
Hope this is useful for someone.
Anyways after trying out so many options and digging into the NSWorkspace i have found way through which we can achieve this their is notification
"NSWorkspaceActiveSpaceDidChangeNotification"
Apple doc says "Posted when a Spaces change has occurred." so by using we can register for it. along with this we need to use the NSWindow's property "isOnActiveSpace" , so by this we can detect when application enters full screen mode and exits from it.
You want to key-value observe -[NSApplication currentSystemPresentationOptions]. When the active app is in full-screen mode, that property will include NSApplicationPresentationFullScreen.