Skip to content

Commit 264f8f0

Browse files
committed
More crash reporting. New builds.
1 parent 2beed27 commit 264f8f0

5 files changed

Lines changed: 12 additions & 6 deletions

File tree

Android/BabbyJotzApplication.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,14 @@ public override void OnCreate() {
2424
if (!prefs.Get(PreferenceKey.DoNotLogCrashReports)) {
2525
// Handle the events and Save the Managed Exceptions to HockeyApp.
2626
AppDomain.CurrentDomain.UnhandledException += (sender, e) => {
27-
cloudStore.LogException("UnhandledException", e);
27+
var ex = e.ExceptionObject as Exception;
28+
if (ex != null) {
29+
cloudStore.LogException("UnhandledException", ex);
30+
}
2831
HockeyApp.ManagedExceptionHandler.SaveException(e.ExceptionObject);
2932
};
3033
TaskScheduler.UnobservedTaskException += (sender, e) => {
31-
cloudStore.LogException("UnobservedTaskException", e);
34+
cloudStore.LogException("UnobservedTaskException", e.Exception);
3235
HockeyApp.ManagedExceptionHandler.SaveException(e.Exception);
3336
};
3437
}

Android/Properties/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.0" package="com.bklimt.BabbyJotz" android:versionCode="6">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.0.1" package="com.bklimt.BabbyJotz" android:versionCode="7">
33
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="19" />
44
<application android:label="Babby Jotz" android:icon="@drawable/ic_launcher">
55
<!-- This metadata tag is required to use Google Play Services. -->

BabbyJotz.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Global
6969
{7465C510-48E8-4464-8AC7-7203308AD767}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
7070
EndGlobalSection
7171
GlobalSection(MonoDevelopProperties) = preSolution
72-
StartupItem = iOS\BabbyJotz.iOS.csproj
72+
StartupItem = Android\BabbyJotz.Android.csproj
7373
Policies = $0
7474
$0.TextStylePolicy = $1
7575
$1.FileWidth = 120

iOS/BabbyJotz.iOS.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<MtouchLink>None</MtouchLink>
3737
<ConsolePause>false</ConsolePause>
3838
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
39+
<MtouchI18n>
40+
</MtouchI18n>
41+
<MtouchArch>i386</MtouchArch>
3942
</PropertyGroup>
4043
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
4144
<DebugSymbols>true</DebugSymbols>

iOS/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
<key>CFBundleIdentifier</key>
88
<string>com.bklimt.BabbyJotz</string>
99
<key>CFBundleShortVersionString</key>
10-
<string>1.0</string>
10+
<string>1.0.1</string>
1111
<key>CFBundleVersion</key>
12-
<string>1.4</string>
12+
<string>1.5</string>
1313
<key>LSRequiresIPhoneOS</key>
1414
<true/>
1515
<key>MinimumOSVersion</key>

0 commit comments

Comments
 (0)