Skip to content

Commit 015a737

Browse files
committed
fix: change verifyToken to verify
1 parent 467c403 commit 015a737

File tree

92 files changed

+178
-145
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+178
-145
lines changed

packages/cloud_firestore/cloud_firestore/lib/src/collection_reference.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class _JsonCollectionReference extends _JsonQuery
7777
_JsonCollectionReference(
7878
FirebaseFirestore firestore,
7979
CollectionReferencePlatform _delegate,
80-
) : super(firestore, _delegate);
80+
) : super(firestore, _delegate)
8181

8282
@override
8383
CollectionReferencePlatform get _delegate =>

packages/cloud_firestore/cloud_firestore/lib/src/document_change.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ abstract class DocumentChange<T extends Object?> {
3232

3333
class _JsonDocumentChange implements DocumentChange<Map<String, dynamic>> {
3434
_JsonDocumentChange(this._firestore, this._delegate) {
35-
DocumentChangePlatform.verifyExtends(_delegate);
35+
DocumentChangePlatform.verify(_delegate);
3636
}
3737

3838
final DocumentChangePlatform _delegate;

packages/cloud_firestore/cloud_firestore/lib/src/document_reference.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ abstract class DocumentReference<T extends Object?> {
9494
class _JsonDocumentReference
9595
implements DocumentReference<Map<String, dynamic>> {
9696
_JsonDocumentReference(this.firestore, this._delegate) {
97-
DocumentReferencePlatform.verifyExtends(_delegate);
97+
DocumentReferencePlatform.verify(_delegate);
9898
}
9999

100100
@override

packages/cloud_firestore/cloud_firestore/lib/src/document_snapshot.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ abstract class DocumentSnapshot<T extends Object?> {
5959

6060
class _JsonDocumentSnapshot implements DocumentSnapshot<Map<String, dynamic>> {
6161
_JsonDocumentSnapshot(this._firestore, this._delegate) {
62-
DocumentSnapshotPlatform.verifyExtends(_delegate);
62+
DocumentSnapshotPlatform.verify(_delegate);
6363
}
6464

6565
final FirebaseFirestore _firestore;

packages/cloud_firestore/cloud_firestore/lib/src/firestore.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ part of cloud_firestore;
1717
/// ```
1818
class FirebaseFirestore extends FirebasePluginPlatform {
1919
FirebaseFirestore._({required this.app})
20-
: super(app.name, 'plugins.flutter.io/firebase_firestore');
20+
: super(app.name, 'plugins.flutter.io/firebase_firestore') {
21+
FirebasePluginPlatform.verify(instance);
22+
}
2123

2224
static final Map<String, FirebaseFirestore> _cachedInstances = {};
2325

packages/cloud_firestore/cloud_firestore/lib/src/load_bundle_task.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ part of cloud_firestore;
22

33
class LoadBundleTask {
44
LoadBundleTask._(this._delegate) {
5-
LoadBundleTaskPlatform.verifyExtends(_delegate);
5+
LoadBundleTaskPlatform.verify(_delegate);
66
}
77

88
final LoadBundleTaskPlatform _delegate;

packages/cloud_firestore/cloud_firestore/lib/src/load_bundle_task_snapshot.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ part of cloud_firestore;
77
/// A [LoadBundleTaskSnapshot] is returned as the result or on-going process of a [LoadBundleTask].
88
class LoadBundleTaskSnapshot {
99
LoadBundleTaskSnapshot._(this._delegate) {
10-
LoadBundleTaskSnapshotPlatform.verifyExtends(_delegate);
10+
LoadBundleTaskSnapshotPlatform.verify(_delegate);
1111
}
1212
LoadBundleTaskSnapshotPlatform _delegate;
1313

packages/cloud_firestore/cloud_firestore/lib/src/query.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ class _JsonQuery implements Query<Map<String, dynamic>> {
196196
this.firestore,
197197
this._delegate,
198198
) {
199-
QueryPlatform.verifyExtends(_delegate);
199+
QueryPlatform.verify(_delegate);
200200
}
201201

202202
@override

packages/cloud_firestore/cloud_firestore/lib/src/query_snapshot.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ abstract class QuerySnapshot<T extends Object?> {
2525
/// It can contain zero or more [DocumentSnapshot] objects.
2626
class _JsonQuerySnapshot implements QuerySnapshot<Map<String, dynamic>> {
2727
_JsonQuerySnapshot(this._firestore, this._delegate) {
28-
QuerySnapshotPlatform.verifyExtends(_delegate);
28+
QuerySnapshotPlatform.verify(_delegate);
2929
}
3030

3131
final FirebaseFirestore _firestore;

packages/cloud_firestore/cloud_firestore/lib/src/transaction.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Transaction {
1414
final TransactionPlatform _delegate;
1515

1616
Transaction._(this._firestore, this._delegate) {
17-
TransactionPlatform.verifyExtends(_delegate);
17+
TransactionPlatform.verify(_delegate);
1818
}
1919

2020
/// Reads the document referenced by the provided [DocumentReference].

packages/cloud_firestore/cloud_firestore/lib/src/write_batch.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ part of cloud_firestore;
1212
/// nor can it be committed again.
1313
class WriteBatch {
1414
WriteBatch._(this._firestore, this._delegate) {
15-
WriteBatchPlatform.verifyExtends(_delegate);
15+
WriteBatchPlatform.verify(_delegate);
1616
}
1717

1818
final FirebaseFirestore _firestore;

packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/platform_interface_document_change.dart

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
// for details. All rights reserved. Use of this source code is governed by a
44
// BSD-style license that can be found in the LICENSE file.
55

6-
import 'package:plugin_platform_interface/plugin_platform_interface.dart';
7-
86
import 'package:cloud_firestore_platform_interface/cloud_firestore_platform_interface.dart';
7+
import 'package:plugin_platform_interface/plugin_platform_interface.dart';
98

109
/// An enumeration of document change types.
1110
enum DocumentChangeType {
@@ -42,8 +41,8 @@ class DocumentChangePlatform extends PlatformInterface {
4241
/// This is used by the app-facing [DocumentChange] to ensure that
4342
/// the object in which it's going to delegate calls has been
4443
/// constructed properly.
45-
static void verifyExtends(DocumentChangePlatform instance) {
46-
PlatformInterface.verifyToken(instance, _token);
44+
static void verify(DocumentChangePlatform instance) {
45+
PlatformInterface.verify(instance, _token);
4746
}
4847

4948
/// The type of change that occurred (added, modified, or removed).

packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/platform_interface_document_reference.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ abstract class DocumentReferencePlatform extends PlatformInterface {
3131
/// This is used by the app-facing [DocumentReference] to ensure that
3232
/// the object in which it's going to delegate calls has been
3333
/// constructed properly.
34-
static void verifyExtends(DocumentReferencePlatform instance) {
35-
PlatformInterface.verifyToken(instance, _token);
34+
static void verify(DocumentReferencePlatform instance) {
35+
PlatformInterface.verify(instance, _token);
3636
}
3737

3838
/// The Firestore instance associated with this document reference

packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/platform_interface_document_snapshot.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ class DocumentSnapshotPlatform extends PlatformInterface {
2626
/// This is used by the app-facing [DocumentSnapshot] to ensure that
2727
/// the object in which it's going to delegate calls has been
2828
/// constructed properly.
29-
static void verifyExtends(DocumentSnapshotPlatform instance) {
30-
PlatformInterface.verifyToken(instance, _token);
29+
static void verify(DocumentSnapshotPlatform instance) {
30+
PlatformInterface.verify(instance, _token);
3131
}
3232

3333
/// The [FirebaseFirestorePlatform] used to produce this [DocumentSnapshotPlatform].

packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/platform_interface_field_value_factory.dart

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
// for details. All rights reserved. Use of this source code is governed by a
44
// BSD-style license that can be found in the LICENSE file.
55

6-
import 'package:plugin_platform_interface/plugin_platform_interface.dart';
7-
8-
import 'package:cloud_firestore_platform_interface/src/method_channel/method_channel_field_value_factory.dart';
96
import 'package:cloud_firestore_platform_interface/cloud_firestore_platform_interface.dart';
7+
import 'package:cloud_firestore_platform_interface/src/method_channel/method_channel_field_value_factory.dart';
8+
import 'package:plugin_platform_interface/plugin_platform_interface.dart';
109

1110
/// An interface for a factory that is used to build a [FieldValuePlatform] according to
1211
/// Platform (web or mobile)
@@ -24,7 +23,7 @@ abstract class FieldValueFactoryPlatform extends PlatformInterface {
2423
/// Sets the default instance of [FieldValueFactoryPlatform] which is used to build
2524
/// [FieldValuePlatform] items
2625
static set instance(FieldValueFactoryPlatform instance) {
27-
PlatformInterface.verifyToken(instance, _token);
26+
PlatformInterface.verify(instance, _token);
2827
_instance = instance;
2928
}
3029

@@ -36,8 +35,8 @@ abstract class FieldValueFactoryPlatform extends PlatformInterface {
3635
/// This is used by the app-facing [FieldValueFactory] to ensure that
3736
/// the object in which it's going to delegate calls has been
3837
/// constructed properly.
39-
static void verifyExtends(FieldValueFactoryPlatform instance) {
40-
PlatformInterface.verifyToken(instance, _token);
38+
static void verify(FieldValueFactoryPlatform instance) {
39+
PlatformInterface.verify(instance, _token);
4140
}
4241

4342
/// Returns a special value that tells the server to union the given elements

packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/platform_interface_firestore.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ abstract class FirebaseFirestorePlatform extends PlatformInterface {
5757

5858
/// Sets the [FirebaseFirestorePlatform.instance]
5959
static set instance(FirebaseFirestorePlatform instance) {
60-
PlatformInterface.verifyToken(instance, _token);
60+
PlatformInterface.verify(instance, _token);
6161
_instance = instance;
6262
}
6363

packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/platform_interface_load_bundle_task.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ abstract class LoadBundleTaskPlatform<T> extends PlatformInterface {
1818
/// This is used by the app-facing [LoadBundleTask] to ensure that
1919
/// the object in which it's going to delegate calls has been
2020
/// constructed properly.
21-
static void verifyExtends(LoadBundleTaskPlatform instance) {
22-
PlatformInterface.verifyToken(instance, _token);
21+
static void verify(LoadBundleTaskPlatform instance) {
22+
PlatformInterface.verify(instance, _token);
2323
}
2424

2525
Stream<T> get stream;

packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/platform_interface_load_bundle_task_snapshot.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// found in the LICENSE file.
55

66
import 'package:plugin_platform_interface/plugin_platform_interface.dart';
7+
78
import '../../cloud_firestore_platform_interface.dart';
89

910
/// The interface a load bundle task snapshot must extend.
@@ -24,8 +25,8 @@ class LoadBundleTaskSnapshotPlatform extends PlatformInterface {
2425
/// This is used by the app-facing [LoadBundleTaskSnapshot] to ensure that
2526
/// the object in which it's going to delegate calls has been
2627
/// constructed properly.
27-
static void verifyExtends(LoadBundleTaskSnapshotPlatform instance) {
28-
PlatformInterface.verifyToken(instance, _token);
28+
static void verify(LoadBundleTaskSnapshotPlatform instance) {
29+
PlatformInterface.verify(instance, _token);
2930
}
3031

3132
final LoadBundleTaskState taskState;

packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/platform_interface_query.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
import 'dart:async';
77

8+
import 'package:cloud_firestore_platform_interface/cloud_firestore_platform_interface.dart';
89
import 'package:meta/meta.dart';
910
import 'package:plugin_platform_interface/plugin_platform_interface.dart';
10-
import 'package:cloud_firestore_platform_interface/cloud_firestore_platform_interface.dart';
1111

1212
Map<String, dynamic> _initialParameters = Map<String, dynamic>.unmodifiable({
1313
'where': List<List<dynamic>>.unmodifiable([]),
@@ -36,9 +36,9 @@ abstract class QueryPlatform extends PlatformInterface {
3636
/// This is used by the app-facing [Query] to ensure that
3737
/// the object in which it's going to delegate calls has been
3838
/// constructed properly.
39-
static void verifyExtends(QueryPlatform instance) {
39+
static void verify(QueryPlatform instance) {
4040
if (instance is! CollectionReferencePlatform) {
41-
PlatformInterface.verifyToken(instance, _token);
41+
PlatformInterface.verify(instance, _token);
4242
}
4343
}
4444

packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/platform_interface_query_snapshot.dart

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
// for details. All rights reserved. Use of this source code is governed by a
44
// BSD-style license that can be found in the LICENSE file.
55

6-
import 'package:plugin_platform_interface/plugin_platform_interface.dart';
7-
86
import 'package:cloud_firestore_platform_interface/cloud_firestore_platform_interface.dart';
7+
import 'package:plugin_platform_interface/plugin_platform_interface.dart';
98

109
/// A interface that contains zero or more [DocumentSnapshotPlatform] objects
1110
/// representing the results of a query.
@@ -28,8 +27,8 @@ class QuerySnapshotPlatform extends PlatformInterface {
2827
/// This is used by the app-facing [QuerySnapshot] to ensure that
2928
/// the object in which it's going to delegate calls has been
3029
/// constructed properly.
31-
static void verifyExtends(QuerySnapshotPlatform instance) {
32-
PlatformInterface.verifyToken(instance, _token);
30+
static void verify(QuerySnapshotPlatform instance) {
31+
PlatformInterface.verify(instance, _token);
3332
}
3433

3534
/// Gets a list of all the documents included in this [QuerySnapshotPlatform]

packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/platform_interface_transaction.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ abstract class TransactionPlatform extends PlatformInterface {
2626
/// This is used by the app-facing [Transaction] to ensure that
2727
/// the object in which it's going to delegate calls has been
2828
/// constructed properly.
29-
static void verifyExtends(TransactionPlatform instance) {
30-
PlatformInterface.verifyToken(instance, _token);
29+
static void verify(TransactionPlatform instance) {
30+
PlatformInterface.verify(instance, _token);
3131
}
3232

3333
/// Returns all transaction commands for the current instance.

packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/platform_interface_write_batch.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ abstract class WriteBatchPlatform extends PlatformInterface {
2727
/// This is used by the app-facing [WriteBatch] to ensure that
2828
/// the object in which it's going to delegate calls has been
2929
/// constructed properly.
30-
static void verifyExtends(WriteBatchPlatform instance) {
31-
PlatformInterface.verifyToken(instance, _token);
30+
static void verify(WriteBatchPlatform instance) {
31+
PlatformInterface.verify(instance, _token);
3232
}
3333

3434
/// Commits all of the writes in this write batch as a single atomic unit.

packages/cloud_firestore/cloud_firestore_platform_interface/test/platform_interface_tests/platform_interface_query_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ void main() {
4444
expect(query, isInstanceOf<QueryPlatform>());
4545
});
4646

47-
test('verifyExtends()', () {
47+
test('verify()', () {
4848
final query = TestQuery._();
49-
QueryPlatform.verifyExtends(query);
49+
QueryPlatform.verify(query);
5050
expect(query, isInstanceOf<QueryPlatform>());
5151
});
5252

packages/cloud_firestore/cloud_firestore_platform_interface/test/platform_interface_tests/platform_interface_transaction_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ void main() {
3434
expect(transaction, isInstanceOf<TransactionPlatform>());
3535
});
3636

37-
test('verifyExtends()', () {
37+
test('verify()', () {
3838
final transaction = TestTransaction._();
39-
TransactionPlatform.verifyExtends(transaction);
39+
TransactionPlatform.verify(transaction);
4040
expect(transaction, isInstanceOf<TransactionPlatform>());
4141
});
4242

packages/cloud_firestore/cloud_firestore_platform_interface/test/platform_interface_tests/platform_interface_write_batch_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ void main() {
3434
expect(batch, isInstanceOf<WriteBatchPlatform>());
3535
});
3636

37-
test('verifyExtends()', () {
37+
test('verify()', () {
3838
final batch = TestWriteBatch._();
39-
WriteBatchPlatform.verifyExtends(batch);
39+
WriteBatchPlatform.verify(batch);
4040
expect(batch, isInstanceOf<WriteBatchPlatform>());
4141
});
4242

packages/cloud_functions/cloud_functions/lib/src/firebase_functions.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ part of cloud_functions;
1111
class FirebaseFunctions extends FirebasePluginPlatform {
1212
FirebaseFunctions._({required this.app, String? region})
1313
: _region = region ??= 'us-central1',
14-
super(app.name, 'plugins.flutter.io/firebase_functions');
14+
super(app.name, 'plugins.flutter.io/firebase_functions') {
15+
FirebasePluginPlatform.verify(instance);
16+
}
1517

1618
// Cached and lazily loaded instance of [FirebaseFunctionsPlatform] to avoid
1719
// creating a [MethodChannelFirebaseFunctions] when not needed or creating an

packages/cloud_functions/cloud_functions_platform_interface/lib/src/platform_interface/platform_interface_firebase_functions.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ abstract class FirebaseFunctionsPlatform extends PlatformInterface {
4949

5050
/// Sets the [FirebaseFunctionsPlatform.instance]
5151
static set instance(FirebaseFunctionsPlatform instance) {
52-
PlatformInterface.verifyToken(instance, _token);
52+
PlatformInterface.verify(instance, _token);
5353
_instance = instance;
5454
}
5555

packages/cloud_functions/cloud_functions_platform_interface/lib/src/platform_interface/platform_interface_https_callable.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import 'dart:async';
77

88
import 'package:plugin_platform_interface/plugin_platform_interface.dart';
9+
910
import '../../cloud_functions_platform_interface.dart';
1011

1112
/// Interface for [HttpsCallable] implementations.
@@ -24,8 +25,8 @@ abstract class HttpsCallablePlatform extends PlatformInterface {
2425
/// This is used by the app-facing [HttpsCallable] to ensure that
2526
/// the object in which it's going to delegate calls has been
2627
/// constructed properly.
27-
static void verifyExtends(HttpsCallablePlatform instance) {
28-
PlatformInterface.verifyToken(instance, _token);
28+
static void verify(HttpsCallablePlatform instance) {
29+
PlatformInterface.verify(instance, _token);
2930
}
3031

3132
/// The [FirebaseFunctionsPlatform] instance.

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ part of firebase_analytics;
77
/// Firebase Analytics API.
88
class FirebaseAnalytics extends FirebasePluginPlatform {
99
FirebaseAnalytics._({required this.app})
10-
: super(app.name, 'plugins.flutter.io/firebase_analytics');
10+
: super(app.name, 'plugins.flutter.io/firebase_analytics') {
11+
FirebasePluginPlatform.verify(instance);
12+
}
1113

1214
/// Namespace for analytics API available on Android only. This is deprecated in favor of
1315
/// `FirebaseAnalytics.instance.setSessionTimeoutDuration()`.

packages/firebase_analytics/firebase_analytics_platform_interface/lib/src/platform_interface/platform_interface_firebase_analytics.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// found in the LICENSE file.
44

55
import 'dart:async';
6+
67
import 'package:firebase_core/firebase_core.dart';
78
import 'package:meta/meta.dart' show protected;
89
import 'package:plugin_platform_interface/plugin_platform_interface.dart';
@@ -53,7 +54,7 @@ abstract class FirebaseAnalyticsPlatform extends PlatformInterface {
5354

5455
/// Sets the [FirebaseAnalyticsPlatform.instance]
5556
static set instance(FirebaseAnalyticsPlatform instance) {
56-
PlatformInterface.verifyToken(instance, _token);
57+
PlatformInterface.verify(instance, _token);
5758
_instance = instance;
5859
}
5960

packages/firebase_app_check/firebase_app_check/lib/src/firebase_app_check.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ class FirebaseAppCheck extends FirebasePluginPlatform {
99
static Map<String, FirebaseAppCheck> _firebaseAppCheckInstances = {};
1010

1111
FirebaseAppCheck._({required this.app})
12-
: super(app.name, 'plugins.flutter.io/firebase_app_check');
12+
: super(app.name, 'plugins.flutter.io/firebase_app_check') {
13+
FirebasePluginPlatform.verify(instance);
14+
}
1315

1416
/// Cached instance of [FirebaseAppCheck];
1517
static FirebaseAppCheck? _instance;

0 commit comments

Comments
 (0)