The error message implies you ar trying to use an interface like a class. Can you show where you are trying to use the interface?
Default constructor not found for type MyApp.IFirebaseEvents
Anonymous
Hi,
Why i am getting this when trying when trying to use Firebase Analytics with Xamarin Forms?
Default constructor not found for type MyApp.IFirebaseEvents
my interface is like this:
using System;
using System.Collections.Generic;
using System.Text;
namespace MyApp
{
public interface IFirebaseEvents
{
void LogEvent(string eventId);
void LogEvent(string eventId, string paramName, string value);
void LogEvent(string eventId, IDictionary<string, string> parameters);
void ScreenView(string screen);
}
}
Developer technologies | .NET | Xamarin
Developer technologies | .NET | Xamarin
A Microsoft framework for building cross-platform mobile apps using .NET and C# with native performance and user interfaces.
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.