Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Commit

Permalink
Merge branch 'release/1.0.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Wendt committed Jun 5, 2015
2 parents a9690d3 + 3d2f0cc commit 4325771
Show file tree
Hide file tree
Showing 41 changed files with 196 additions and 294 deletions.
4 changes: 2 additions & 2 deletions ExampleGame/Assets/HockeyAppUnityAndroid.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ExampleGame/Assets/HockeyAppUnityAndroid/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="net.hockeyapp.ExampleGameAndroid"
android:versionName="1.0.4"
android:versionCode="5"
android:versionName="1.0.5"
android:versionCode="6"
android:installLocation="preferExternal">
<supports-screens
android:smallScreens="true"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Author: Christoph Wendt
*
* Version: 1.0.4
* Version: 1.0.5
*
* Copyright (c) 2013-2015 HockeyApp, Bit Stadium GmbH.
* All rights reserved.
Expand Down Expand Up @@ -72,20 +72,20 @@ void OnEnable(){
#if (UNITY_ANDROID && !UNITY_EDITOR)
if(exceptionLogging == true)
{
System.AppDomain.CurrentDomain.UnhandledException += new System.UnhandledExceptionEventHandler(OnHandleUnresolvedException);
Application.RegisterLogCallback(OnHandleLogCallback);
System.AppDomain.CurrentDomain.UnhandledException += OnHandleUnresolvedException;
Application.logMessageReceived += OnHandleLogCallback;
}
#endif
}

void OnDisable(){

Application.RegisterLogCallback(null);
}

void OnDestroy(){

Application.RegisterLogCallback(null);
#if (UNITY_ANDROID && !UNITY_EDITOR)
if(exceptionLogging == true)
{
System.AppDomain.CurrentDomain.UnhandledException -= OnHandleUnresolvedException;
Application.logMessageReceived -= OnHandleLogCallback;
}
#endif
}

/// <summary>
Expand Down Expand Up @@ -398,12 +398,10 @@ protected virtual void HandleException(string logString, string stackTrace){
public void OnHandleLogCallback(string logString, string stackTrace, LogType type){

#if (UNITY_ANDROID && !UNITY_EDITOR)
if(LogType.Assert != type && LogType.Exception != type)
if(LogType.Assert == type || LogType.Exception == type || LogType.Error == type)
{
return;
HandleException(logString, stackTrace);
}

HandleException(logString, stackTrace);
#endif
}

Expand All @@ -415,13 +413,12 @@ public void OnHandleUnresolvedException(object sender, System.UnhandledException
return;
}

if(args.ExceptionObject.GetType() != typeof(System.Exception))
if(args.ExceptionObject.GetType() == typeof(System.Exception))
{
return;
System.Exception e = (System.Exception)args.ExceptionObject;
HandleException(e.Source, e.StackTrace);
}

System.Exception e = (System.Exception)args.ExceptionObject;
HandleException(e.Source, e.StackTrace);
#endif
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
53 changes: 0 additions & 53 deletions ExampleGame/Assets/HockeyAppUnityAndroid/HockeySDK-3.0.2.jar.meta

This file was deleted.

Binary file not shown.
16 changes: 16 additions & 0 deletions ExampleGame/Assets/HockeyAppUnityAndroid/HockeySDK-3.5.0.jar.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified ExampleGame/Assets/HockeyAppUnityAndroid/hockeyappunity.jar
Binary file not shown.
45 changes: 4 additions & 41 deletions ExampleGame/Assets/HockeyAppUnityAndroid/hockeyappunity.jar.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified ExampleGame/Assets/TestScene.unity
Binary file not shown.
2 changes: 2 additions & 0 deletions ExampleGame/Assets/TestScene.unity.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions ExampleGame/Assets/TestUI.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions ExampleGame/Assets/TestUI/Ressources.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions ExampleGame/Assets/TestUI/Ressources/btn_active.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions ExampleGame/Assets/TestUI/Ressources/btn_normal.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4325771

Please sign in to comment.