Skip to content

Commit 8a2ed9f

Browse files
authored
docs(analytics): clarify logInAppPurchase API documentation for iOS usage (#18087)
1 parent 20364f9 commit 8a2ed9f

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

packages/firebase_analytics/firebase_analytics/lib/src/firebase_analytics.dart

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,9 +1209,11 @@ class FirebaseAnalytics extends FirebasePluginPlatform {
12091209
///
12101210
/// This event signifies that an item(s) was purchased by a user.
12111211
///
1212-
/// This API supports manually logging in-app purchase events on iOS.
1213-
/// This is especially useful in cases where purchases happen outside the native
1214-
/// billing systems (e.g. custom payment flows).
1212+
/// This API is intended for manually logging in-app purchase events on iOS,
1213+
/// particularly for purchases that occur in WebView or non-native billing flows.
1214+
/// For StoreKit 2 transactions, use [logTransaction] instead.
1215+
///
1216+
/// Only available on iOS.
12151217
Future<void> logInAppPurchase({
12161218
String? currency,
12171219
bool? freeTrial,

0 commit comments

Comments
 (0)