Example #1
0
        protected override void NativeTrackEvent(string eventName, Dictionary <string, string> parameters)
        {
            AppCenterAnalytics.TrackEvent(eventName, trimLongParameters(parameters));

            var convertedDictionary = convertDictionary(parameters);

            FirebaseAnalytics.LogEvent(new NSString(eventName), convertedDictionary);
        }
Example #2
0
        public override void Track(string eventName, Dictionary <string, string> parameters = null)
        {
            parameters = parameters ?? new Dictionary <string, string>();

            AppCenterAnalytics.TrackEvent(eventName, trimLongParameters(parameters));

            var convertedDictionary = convertDictionary(parameters);

            FirebaseAnalytics.LogEvent(new NSString(eventName), convertedDictionary);
        }
 public void LogEvent(string eventName, IDictionary <string, object> parameters)
 {
     FirebaseAnalytics.LogEvent(eventName, parameters?.ToNSDictionary());
 }