Has anyone used https://github.com/soundnRg/Crasher successfully?
I have created an Application class
[Application]
[Crasher( UseCustomData = true, CustomDataProviders = new[] { typeof(
FMobileDataReportProvider ) } )]
[GoogleFormReporterSettings(
"1QFCaT40v8_G4F0_UZMQ4t7i51l0mHJKkpmYjLwdCZxQ" )]
public class FMobileApplication : Application
and an implementation class for ICustomReportDataProvider
public class FMobileDataReportProvider : ICustomReportDataProvider
{
public IDictionary<string, string> GetReportData( Context context )
{
return ( new Dictionary<string, string>
{
{ "CustomReportProvider", "Data from
FMobileDataReportProvider" }
} );
}
}
but it's throwing an exception in the CrasherAttribute class here
public Type[] CustomDataProviders
{
get { return _customDataProviders; }
set
{
*if (!value.All(type =>
type.IsAssignableFrom(typeof(ICustomReportDataProvider))))*
Any thoughts?
Cheers.
--
Gonçalo Oliveira
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid