Skip to content

Commit 78cfd2d

Browse files
committed
chore: implement logTransaction method with unimplemented error for Android
1 parent 6818083 commit 78cfd2d

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

packages/firebase_analytics/firebase_analytics/android/src/main/kotlin/io/flutter/plugins/firebase/analytics/FlutterFirebaseAnalyticsPlugin.kt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,4 +443,16 @@ class FlutterFirebaseAnalyticsPlugin : FlutterFirebasePlugin,
443443
)
444444
)
445445
}
446+
447+
override fun logTransaction(transactionId: String, callback: (Result<Unit>) -> Unit) {
448+
callback(
449+
Result.failure(
450+
FlutterError(
451+
"unimplemented",
452+
"logTransaction is only available on iOS.",
453+
null
454+
)
455+
)
456+
)
457+
}
446458
}

0 commit comments

Comments
 (0)