logCustomEvent or logEvent?
introstas opened this issue · 1 comments
introstas commented
Hi, i get error in my app and your example app.
E/flutter (11719): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: MissingPluginException(No implementation found for method logCustomEvent on channel facebook_analytics_plugin)
I think need logEvent in package:facebook_analytics_plugin/facebook_analytics_plugin.dart or logCustomEvent in FacebookAnalyticsPlugin.java
/// Logs a custom Facebook event with the given [name] and event [parameters].
static Future logCustomEvent(
{@required String name, Map<String, dynamic> parameters}) async {
if (parameters == null) {
parameters = {};
}
await _channel.invokeMethod('**logEvent**', {"name": name, "parameters": parameters});
}
khal-it commented
sorry i didnt get what you mean?
could you send me a code snippet of your code ?