File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
packages/firebase_analytics/firebase_analytics/lib Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 22// Use of this source code is governed by a BSD-style license that can be
33// found in the LICENSE file.
44
5- import 'dart:io' ;
6-
75import 'package:firebase_analytics_platform_interface/firebase_analytics_platform_interface.dart' ;
86import 'package:firebase_core/firebase_core.dart' ;
97import 'package:firebase_core_platform_interface/firebase_core_platform_interface.dart'
Original file line number Diff line number Diff line change @@ -1223,7 +1223,7 @@ class FirebaseAnalytics extends FirebasePluginPlatform {
12231223 bool ? subscription,
12241224 num ? value,
12251225 }) {
1226- if (! Platform .isIOS ) {
1226+ if (defaultTargetPlatform != TargetPlatform .iOS ) {
12271227 throw UnimplementedError ('logInAppPurchase() is only supported on iOS.' );
12281228 }
12291229 return _delegate.logEvent (
You can’t perform that action at this time.
0 commit comments