1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-08-10 20:23:27 +02:00

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");