do not implement UnhandledExceptionRaiser

This commit is contained in:
Kyle Spearrin 2017-06-08 15:13:58 -04:00
parent 67aa583709
commit 72b18eadf3
2 changed files with 2 additions and 1 deletions

View file

@ -38,7 +38,7 @@ namespace Bit.Android
public MainApplication(IntPtr handle, JniHandleOwnership transer) public MainApplication(IntPtr handle, JniHandleOwnership transer)
: base(handle, transer) : base(handle, transer)
{ {
AndroidEnvironment.UnhandledExceptionRaiser += AndroidEnvironment_UnhandledExceptionRaiser; //AndroidEnvironment.UnhandledExceptionRaiser += AndroidEnvironment_UnhandledExceptionRaiser;
if(!Resolver.IsSet) if(!Resolver.IsSet)
{ {

View file

@ -43,6 +43,7 @@ namespace Bit.Android
emailIntent.PutExtra(Intent.ExtraEmail, new String[] { "hello@bitwarden.com" }); emailIntent.PutExtra(Intent.ExtraEmail, new String[] { "hello@bitwarden.com" });
emailIntent.PutExtra(Intent.ExtraSubject, "bitwarden Crash Report"); emailIntent.PutExtra(Intent.ExtraSubject, "bitwarden Crash Report");
emailIntent.PutExtra(Intent.ExtraText, text); emailIntent.PutExtra(Intent.ExtraText, text);
//emailIntent.SetFlags(ActivityFlags.NewTask);
Application.Context.StartActivity(Intent.CreateChooser(emailIntent, "Send mail...")); Application.Context.StartActivity(Intent.CreateChooser(emailIntent, "Send mail..."));
} }