Comments (2)
Here's how I do it.
Add the following code to the beginning of FinishedLaunching() - I have an ifdef block to make sure it doesn't get executed on simulator builds:
Setup.EnableCrashReporting(() =>
{
Crashlytics.SharedInstance.DebugMode = true;
Crashlytics.StartWithAPIKey("replace_with_your_crashlytics_api_key");
AppDomain.CurrentDomain.UnhandledException += (sender, e) =>
{
Setup.CaptureManagedInfo(e.ExceptionObject);
Setup.CaptureStackFrames(e.ExceptionObject);
Setup.ThrowExceptionAsNative(e.ExceptionObject);
};
TaskScheduler.UnobservedTaskException += (sender, e) =>
{
Setup.CaptureManagedInfo(e.Exception);
Setup.CaptureStackFrames(e.Exception);
Setup.ThrowExceptionAsNative(e.Exception);
};
}, Path.GetFileNameWithoutExtension(typeof(AppDelegate).Module.Name));
The source code for 'Setup' is available here: https://gist.github.com/joeisapro/829665aa232029b48e16 . It's based on HockeyApp setup code.
Once this is done, you have to make changes to Xamarin Studio to upload your dSyms automatically. Refer to this post on the Xamarin forums: https://forums.xamarin.com/discussion/comment/132204/#Comment_132204
Hope this helps. Let me know how you make out!
from monotouch.fabric.
Thanks for your response. I integrated your code and all looks fine, but I'm a little confused in settings to upload dSyms ¯_(ツ)_/¯ I'll try correctly configure unloading again on this weekend
from monotouch.fabric.
Related Issues (9)
- Crashlytics logs about other crash handlers HOT 3
- Add-in availability HOT 18
- TwitterKit.Twitter.SharedInstance.Application Missing HOT 2
- Setup.CaptureManagedInfo failing on iOS HOT 2
- Session is always NULL in my case. HOT 2
- Problem trying to add library HOT 2
- Problem in compiling Xamarin.iOS project with Xamarin.Forms HOT 8
- Strip wrapper exceptions HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monotouch.fabric.