include crypto providers with crash reprot email

This commit is contained in:
Kyle Spearrin 2017-06-06 23:09:19 -04:00
parent b5f5b0b4aa
commit 007125a071

View file

@ -246,6 +246,18 @@ namespace Bit.Android.Services
private void SendEmail(string text)
{
text += "\n\n";
var providers = Security.GetProviders();
foreach(var provider in providers)
{
text += ("provider: " + provider.Name + "\n");
var services = provider.Services;
foreach(var service in provider.Services)
{
text += ("- algorithm: " + service.Algorithm + "\n");
}
}
var emailIntent = new Intent(Intent.ActionSend);
emailIntent.SetType("plain/text");