Skip to content

Commit

Permalink
Merge pull request #309 from MindscapeHQ/Pulse-release
Browse files Browse the repository at this point in the history
Pulse release
  • Loading branch information
QuantumNightmare authored Nov 22, 2016
2 parents b3bccbb + 0eaa35b commit 8c81fc8
Show file tree
Hide file tree
Showing 27 changed files with 153 additions and 100 deletions.
2 changes: 1 addition & 1 deletion Mindscape.Raygun4Net.AspNetCore/project.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"copyright": "Copyright (c) Raygun 2016",
"version": "5.3.2.0",
"version": "5.4.0",
"title": "Raygun4Net.AspNetCore",
"description": "Raygun provider for .NET Core projects",
"language": "en-US",
Expand Down
2 changes: 1 addition & 1 deletion Mindscape.Raygun4Net.AspNetCore/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class ExampleRaygunAspNetCoreClientProvider : DefaultRaygunAspNetCoreClie
{
public override RaygunClient GetClient(RaygunSettings settings, HttpContext context)
{
var client = base.GetClient(settings, context);
var client = base.GetClient(settings, context);
client.ApplicationVersion = "1.1.0";

var identity = context?.User?.Identity as ClaimsIdentity;
Expand Down
2 changes: 1 addition & 1 deletion Mindscape.Raygun4Net.Core.Signed.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="2.5">
<id>Mindscape.Raygun4Net.Core.Signed</id>
<version>5.3.1</version>
<version>5.4.0</version>
<title />
<authors>Raygun</authors>
<owners />
Expand Down
2 changes: 1 addition & 1 deletion Mindscape.Raygun4Net.Core.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="2.5">
<id>Mindscape.Raygun4Net.Core</id>
<version>5.3.1</version>
<version>5.4.0</version>
<title />
<authors>Raygun</authors>
<owners />
Expand Down
4 changes: 2 additions & 2 deletions Mindscape.Raygun4Net.Mvc.Signed.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="2.5">
<id>Mindscape.Raygun4Net.Mvc.Signed</id>
<version>5.3.1</version>
<version>5.4.0</version>
<title />
<authors>Raygun</authors>
<owners />
Expand All @@ -12,7 +12,7 @@
<projectUrl>https://github.com/MindscapeHQ/raygun4net</projectUrl>
<licenseUrl>https://raw.github.com/MindscapeHQ/raygun4net/master/LICENSE</licenseUrl>
<dependencies>
<dependency id="Mindscape.Raygun4Net.Core.Signed" version="5.3.1" />
<dependency id="Mindscape.Raygun4Net.Core.Signed" version="5.4.0" />
</dependencies>
</metadata>
<files>
Expand Down
4 changes: 2 additions & 2 deletions Mindscape.Raygun4Net.Mvc.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="2.5">
<id>Mindscape.Raygun4Net.Mvc</id>
<version>5.3.1</version>
<version>5.4.0</version>
<title />
<authors>Raygun</authors>
<owners />
Expand All @@ -12,7 +12,7 @@
<projectUrl>https://github.com/MindscapeHQ/raygun4net</projectUrl>
<licenseUrl>https://raw.github.com/MindscapeHQ/raygun4net/master/LICENSE</licenseUrl>
<dependencies>
<dependency id="Mindscape.Raygun4Net.Core" version="5.3.1" />
<dependency id="Mindscape.Raygun4Net.Core" version="5.4.0" />
</dependencies>
</metadata>
<files>
Expand Down
2 changes: 1 addition & 1 deletion Mindscape.Raygun4Net.Signed.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="2.5">
<id>Mindscape.Raygun4Net.Signed</id>
<version>5.3.1</version>
<version>5.4.0</version>
<title />
<authors>Raygun</authors>
<owners />
Expand Down
4 changes: 2 additions & 2 deletions Mindscape.Raygun4Net.WebApi.Signed.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="2.5">
<id>Mindscape.Raygun4Net.WebApi.Signed</id>
<version>5.3.1</version>
<version>5.4.0</version>
<title />
<authors>Raygun</authors>
<owners />
Expand All @@ -12,7 +12,7 @@
<projectUrl>https://github.com/MindscapeHQ/raygun4net</projectUrl>
<licenseUrl>https://raw.github.com/MindscapeHQ/raygun4net/master/LICENSE</licenseUrl>
<dependencies>
<dependency id="Mindscape.Raygun4Net.Core.Signed" version="5.3.1" />
<dependency id="Mindscape.Raygun4Net.Core.Signed" version="5.4.0" />
</dependencies>
</metadata>
<files>
Expand Down
4 changes: 2 additions & 2 deletions Mindscape.Raygun4Net.WebApi.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="2.5">
<id>Mindscape.Raygun4Net.WebApi</id>
<version>5.3.1</version>
<version>5.4.0</version>
<title />
<authors>Raygun</authors>
<owners />
Expand All @@ -12,7 +12,7 @@
<projectUrl>https://github.com/MindscapeHQ/raygun4net</projectUrl>
<licenseUrl>https://raw.github.com/MindscapeHQ/raygun4net/master/LICENSE</licenseUrl>
<dependencies>
<dependency id="Mindscape.Raygun4Net.Core" version="5.3.1" />
<dependency id="Mindscape.Raygun4Net.Core" version="5.4.0" />
</dependencies>
</metadata>
<files>
Expand Down
9 changes: 6 additions & 3 deletions XamarinComponent/raygun4net/component/Details.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
Raygun4Net is a small library that can listen to all unhandled exceptions in your Android and iOS applications and send the details to your [Raygun.io](https://raygun.io/) account. This allows you to see issues in your application as soon as your users find them. Then you can debug and release a new bug-free version faster than ever before.
Raygun4Net is a small library that can listen to all unhandled exceptions in your Android and iOS applications and send the details to your [Raygun.com](https://raygun.com/) account. This allows you to see issues in your application as soon as your users encounter them. Then you can debug and release a new bug-free version faster than ever before.

As you can see below, there is not much code required at all to integrate this Raygun provider into your application. Full documentation is provided when you install this component, and a step-by-step guide is available when you register an application on your [Raygun.io](https://raygun.io/) dashboard.
As you can see below, there is not much code required at all to integrate this Raygun provider into your application. Full documentation is provided when you install this component, and a step-by-step guide is available when you register an application on your [Raygun.com](https://raygun.com/) dashboard.

In the code below, attaching Crash Reporting and Pulse (Real User Monitoring) are each optional depending on which product(s) you're interested in using.

```csharp
using Mindscape.Raygun4Net;
...

// Place this code somewhere in the main entry point of your application.
RaygunClient.Attach("YOUR_APP_API_KEY");
// For Android, make sure to pass in the main entry activity to the AttachPulse method.
RaygunClient.Initialize("YOUR_APP_API_KEY").AttachCrashReporting().AttachPulse();
```
20 changes: 10 additions & 10 deletions XamarinComponent/raygun4net/component/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,42 @@ Usage

### Android

To send all unhandled exceptions in your application, use the static RaygunClient.Attach method using your app API key. The best place to put this is in the main/entry Activity of your application.
There is also an overload for the Attach method that lets you pass in a user-identity string which is useful for tracking affected users in your Raygun.io dashboard.
To send all unhandled exceptions in your application, use the following code using your app API key. The best place to put this is in the main/entry Activity of your application.
In the code below, attaching Crash Reporting and Pulse (Real User Monitoring) are each optional depending on which product(s) you're interested in using.

```csharp
RaygunClient.Attach("YOUR_APP_API_KEY");
RaygunClient.Initialize("YOUR_APP_API_KEY").AttachCrashReporting().AttachPulse(this);
```

### iOS

In the main entry point of the application, use the static RaygunClient.Attach method using your app API key. This will send all unhandled exceptions in your application.
There is also an overload for the Attach method that lets you pass in a user-identity string which is useful for tracking affected users in your Raygun.io dashboard.
In the main entry point of the application, use the following code with your app API key. This will send all unhandled exceptions in your application.
In the code below, attaching Crash Reporting and Pulse (Real User Monitoring) are each optional depending on which product(s) you're interested in using.

```csharp
static void Main (string[] args)
{
RaygunClient.Attach("YOUR_APP_API_KEY");
RaygunClient.Initialize("YOUR_APP_API_KEY").AttachCrashReporting().AttachPulse();

UIApplication.Main (args, null, "AppDelegate");
}
```

### Android & IOS

At any point after calling the Attach method, you can use RaygunClient.SharedClient to get the static instance. This can be used for manually sending messages or changing options such as the User identity string. There are various overloads for the Send method that allow you to optionally send tags, custom data and an alternate version number.
At any point after initializing Raygun, you can use RaygunClient.SharedClient to get the static instance. This can be used for manually sending messages or changing options such as the User identity string. There are various overloads for the Send method that allow you to optionally send tags, custom data and an alternative version number.

Where is my app API key?
====================

When sending exceptions to the Raygun.io service, an app API key is required to map the messages to your application.
When sending exceptions to the Raygun service, an app API key is required to map the messages to your application.

When you create a new application on your Raygun.io dashboard, your app API key is displayed at the top of the instructions page. You can also find the API key by clicking the "Application Settings" button in the side bar of the Raygun.io dashboard.
When you create a new application on your Raygun dashboard, your app API key is displayed at the top of the instructions page. You can also find the API key by clicking the "Application Settings" button in the side bar of the Raygun dashboard.

Samples
====================

Because of the API key requirement mentioned above, in order to run the samples you'll need to replace YOUR_APP_API_KEY in MainActivity (for Android) and Main.cs (for iOS) to be an api key you've generated in your Raygun.io dashboard.
Because of the API key requirement mentioned above, in order to run the samples you'll need to replace YOUR_APP_API_KEY in MainActivity (for Android) and Main.cs (for iOS) to be an api key you've generated in your Raygun dashboard.

Namespace
====================
Expand Down
7 changes: 3 additions & 4 deletions XamarinComponent/raygun4net/component/component.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%YAML 1.2
---
summary: Send exception messages in your Android and iOS applications to the Raygun.io cloud service.
summary: Send exception messages in your Android and iOS applications to the Raygun cloud service.
getting-started: GettingStarted.md
details: Details.md
license: License.md
Expand All @@ -11,13 +11,12 @@ publisher: Raygun
name: Raygun4Net
id: raygun4net
samples:
iOS Classic Sample: samples/Raygun.iOS.Sample/Raygun.iOS.Sample.sln
iOS Unified Sample: samples/Raygun.iOS.Unified.Sample/Raygun.iOS.Unified.Sample.sln
android Sample: samples/Raygun.Android.Sample/Raygun.Android.Sample.sln
publisher-url: https://raygun.io
publisher-url: https://raygun.com
libraries:
ios: lib/ios/Mindscape.Raygun4Net.Xamarin.iOS.dll
ios-unified: lib/ios-unified/Mindscape.Raygun4Net.Xamarin.iOS.Unified.dll
android: lib/android/Mindscape.Raygun4Net.Xamarin.Android.dll
version: 5.3.0
version: 5.4.0
...
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);

RaygunClient.Attach("YOUR_APP_API_KEY");
RaygunClient.Initialize("YOUR_APP_API_KEY").AttachCrashReporting().AttachPulse(this);

// Set our view from the "main" layout resource
SetContentView(Resource.Layout.Main);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
<AndroidSupportedAbis>armeabi%3barmeabi-v7a%3bx86</AndroidSupportedAbis>
<MandroidI18n />
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
<AndroidUseLatestPlatformSdk>False</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v4.4</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class Application
// This is the main entry point of the application.
static void Main(string[] args)
{
RaygunClient.Attach ("YOUR_APP_API_KEY");
RaygunClient.Initialize("YOUR_APP_API_KEY").AttachCrashReporting().AttachPulse();
// if you want to use a different Application Delegate class from "AppDelegate"
// you can specify it here.
UIApplication.Main(args, null, "AppDelegate");
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
using System;
using System.Collections.Generic;
using System.Linq;

#if __UNIFIED__
using Foundation;
using UIKit;
#else
using MonoTouch.Foundation;
using MonoTouch.UIKit;
#endif

namespace Raygun.iOS.Sample
{
[Register("AppDelegate")]
public partial class AppDelegate : UIApplicationDelegate
{
UIWindow window;
MyViewController viewController;

public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
window = new UIWindow(UIScreen.MainScreen.Bounds);

viewController = new MyViewController();
window.RootViewController = viewController;

window.MakeKeyAndVisible();

return true;
}
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;

#if __UNIFIED__
using Foundation;
using UIKit;
#else
using MonoTouch.Foundation;
using MonoTouch.UIKit;
#endif

using Mindscape.Raygun4Net;

namespace Raygun.iOS.Sample
{
public class Application
{
// This is the main entry point of the application.
static void Main(string[] args)
{
RaygunClient.Initialize("YOUR_APP_API_KEY").AttachCrashReporting().AttachPulse();
// if you want to use a different Application Delegate class from "AppDelegate"
// you can specify it here.
UIApplication.Main(args, null, "AppDelegate");
}
}
}
Loading

0 comments on commit 8c81fc8

Please sign in to comment.