Skip to content

Commit 8495aee

Browse files
Xerus19573Copilot
andauthored
Update android/src/main/kotlin/id/oddbit/flutter/facebook_app_events/FacebookAppEventsPlugin.kt
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 145ce7b commit 8495aee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/kotlin/id/oddbit/flutter/facebook_app_events/FacebookAppEventsPlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class FacebookAppEventsPlugin: FlutterPlugin, MethodCallHandler {
6565
}
6666

6767
private fun handleSetUserData(call: MethodCall, result: Result) {
68-
val parameters = call.argument<Map<String, Any>>("parameters")
68+
val parameters = call.argument<Map<String, Any>>("parameters") ?: mapOf()
6969
val parameterBundle = createBundleFromMap(parameters)
7070

7171
AppEventsLogger.setUserData(

0 commit comments

Comments
 (0)