You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 90bea4e
Browse filesBrowse the repository at this point in the historyBrowse files
* refactor(app_check)!: remove deprecated activate provider parameters
webProvider, androidProvider, and appleProvider are replaced by providerWeb, providerAndroid, and providerApple.
* docs(app_check): correct provider samples for the new activate parameters
Debug providers take a named debugToken, and the samples now name the provider classes that replace the removed enums.
* style(app_check): match the CI Dart formatter
Apply the formatting diff from the Flutter 3.47.7 format job so the check stops rewriting these files.
Copy file name to clipboardExpand all lines: packages/firebase_app_check/firebase_app_check_platform_interface/lib/src/method_channel/method_channel_firebase_app_check.dart
+3-19Lines changed: 3 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -96,17 +96,7 @@ class MethodChannelFirebaseAppCheck extends FirebaseAppCheckPlatform {
96
96
97
97
@override
98
98
Future<void> activate({
99
-
WebProvider? webProvider,
100
-
@Deprecated(
101
-
'Use providerAndroid instead. '
102
-
'This parameter will be removed in a future major release.',
103
-
)
104
-
AndroidProvider? androidProvider,
105
-
@Deprecated(
106
-
'Use providerApple instead. '
107
-
'This parameter will be removed in a future major release.',
108
-
)
109
-
AppleProvider? appleProvider,
99
+
WebProvider? providerWeb,
110
100
AndroidAppCheckProvider? providerAndroid,
111
101
AppleAppCheckProvider? providerApple,
112
102
WindowsAppCheckProvider? providerWindows,
@@ -115,18 +105,12 @@ class MethodChannelFirebaseAppCheck extends FirebaseAppCheckPlatform {
Copy file name to clipboardExpand all lines: packages/firebase_app_check/firebase_app_check_platform_interface/lib/src/method_channel/utils/provider_to_string.dart
+6-53Lines changed: 6 additions & 53 deletions
Original file line number
Diff line number
Diff line change
@@ -2,62 +2,15 @@
2
2
// for details. All rights reserved. Use of this source code is governed by a
3
3
// BSD-style license that can be found in the LICENSE file.
Copy file name to clipboardExpand all lines: packages/firebase_app_check/firebase_app_check_platform_interface/lib/src/platform_interface/platform_interface_firebase_app_check.dart
+2-19Lines changed: 2 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ abstract class FirebaseAppCheckPlatform extends PlatformInterface {
55
55
///
56
56
/// ## Platform Configuration
57
57
///
58
-
/// **Web**: Provide the reCAPTCHA v3 Site Key using `webProvider`, which can be
58
+
/// **Web**: Provide the reCAPTCHA v3 Site Key using `providerWeb`, which can be
59
59
/// found in the Firebase Console.
60
60
///
61
61
/// **Android**: The default provider is "play integrity". Use `providerAndroid`
@@ -80,26 +80,9 @@ abstract class FirebaseAppCheckPlatform extends PlatformInterface {
80
80
/// first be registered in the Firebase Console under
81
81
/// *App Check → Apps → Manage debug tokens*.
82
82
///
83
-
/// ## Migration Notice
84
-
///
85
-
/// The `androidProvider` and `appleProvider` parameters will be deprecated
86
-
/// in a future release. Use `providerAndroid` and `providerApple` instead,
87
-
/// which support the new provider classes including `AndroidDebugProvider`
88
-
/// and `AppleDebugProvider` for passing debug tokens directly.
89
-
///
90
83
/// For more information, see [the Firebase Documentation](https://firebase.google.com/docs/app-check)
91
84
Future<void> activate({
92
-
WebProvider? webProvider,
93
-
@Deprecated(
94
-
'Use providerAndroid instead. '
95
-
'This parameter will be removed in a future major release.',
96
-
)
97
-
AndroidProvider? androidProvider,
98
-
@Deprecated(
99
-
'Use providerApple instead. '
100
-
'This parameter will be removed in a future major release.',
0 commit comments