You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 7, 2023. It is now read-only.
<li>Download the notifier from <a href="Github">https://github.com/guicocoa/hoptoad-ios</a>.</li>
<li>Drag the Airbrake folder to your project and make sure "Copy Items" and "Create Groups" are selected</li>
<li>Add <code>SystemConfiguration.framework</code> and <code>libxml2.dylib</code> to your project</li>
<li>Add the path `/usr/include/libxml2` to Header Search Paths in your project's build settings under "All Configurations"</li>
</ol>
<h3>Running the notifier</h3>
<p>Import the notifier header file</p>
<pre>#import "ABNotifier.h"</pre>
<p>Call the main notifier method at the very beginning of your <code>application:didFinishLaunchingWithOptions:</code></p>
<pre>
[ABNotifier startNotifierWithAPIKey:@"key"
environmentName:ABNotifierAutomaticEnvironment
useSSL:YES
delegate:self];
</pre>
<h3>Debugging</h3>
<p>To test that the notifier is working inside your application, a simple test method is provided. This method raises an exception, catches it, and reports it as if a real crash happened. Add this code to your `application:didFinishLaunchingWithOptions:` to test the notifier:</p>