Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
80cee598
Unverified
Commit
80cee598
authored
Mar 28, 2023
by
stuartmorgan
Committed by
GitHub
Mar 28, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't rethrow Dart plugin registration exceptions (#122111)
Don't rethrow Dart plugin registration exceptions
parent
c0ddbf12
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
9 deletions
+0
-9
flutter_plugins.dart
packages/flutter_tools/lib/src/flutter_plugins.dart
+0
-1
dart_plugin_registrant_test.dart
...ard/build_system/targets/dart_plugin_registrant_test.dart
+0
-2
dart_plugin_test.dart
...es/flutter_tools/test/general.shard/dart_plugin_test.dart
+0
-6
No files found.
packages/flutter_tools/lib/src/flutter_plugins.dart
View file @
80cee598
...
...
@@ -703,7 +703,6 @@ const String _dartPluginRegisterWith = r'''
'`{{pluginName}}` threw an error:
$err
. '
'The app may not function as expected until you remove this plugin from pubspec.yaml'
);
rethrow
;
}
''';
...
...
packages/flutter_tools/test/general.shard/build_system/targets/dart_plugin_registrant_test.dart
View file @
80cee598
...
...
@@ -257,7 +257,6 @@ void main() {
" '`path_provider_linux` threw an error:
\
$err
. '
\n
"
" 'The app may not function as expected until you remove this plugin from pubspec.yaml'
\n
"
' );
\n
'
' rethrow;
\n
'
' }
\n
'
'
\n
'
' } else if (Platform.isMacOS) {
\n
'
...
...
@@ -385,7 +384,6 @@ void main() {
" '`path_provider_linux` threw an error:
\
$err
. '
\n
"
" 'The app may not function as expected until you remove this plugin from pubspec.yaml'
\n
"
' );
\n
'
' rethrow;
\n
'
' }
\n
'
'
\n
'
' } else if (Platform.isMacOS) {
\n
'
...
...
packages/flutter_tools/test/general.shard/dart_plugin_test.dart
View file @
80cee598
...
...
@@ -807,7 +807,6 @@ void main() {
" '`url_launcher_android` threw an error:
\
$err
. '
\n
"
" 'The app may not function as expected until you remove this plugin from pubspec.yaml'
\n
"
' );
\n
'
' rethrow;
\n
'
' }
\n
'
'
\n
'
' } else if (Platform.isIOS) {
\n
'
...
...
@@ -818,7 +817,6 @@ void main() {
" '`url_launcher_ios` threw an error:
\
$err
. '
\n
"
" 'The app may not function as expected until you remove this plugin from pubspec.yaml'
\n
"
' );
\n
'
' rethrow;
\n
'
' }
\n
'
'
\n
'
' } else if (Platform.isLinux) {
\n
'
...
...
@@ -829,7 +827,6 @@ void main() {
" '`url_launcher_linux` threw an error:
\
$err
. '
\n
"
" 'The app may not function as expected until you remove this plugin from pubspec.yaml'
\n
"
' );
\n
'
' rethrow;
\n
'
' }
\n
'
'
\n
'
' } else if (Platform.isMacOS) {
\n
'
...
...
@@ -840,7 +837,6 @@ void main() {
" '`awesome_macos` threw an error:
\
$err
. '
\n
"
" 'The app may not function as expected until you remove this plugin from pubspec.yaml'
\n
"
' );
\n
'
' rethrow;
\n
'
' }
\n
'
'
\n
'
' try {
\n
'
...
...
@@ -850,7 +846,6 @@ void main() {
" '`url_launcher_macos` threw an error:
\
$err
. '
\n
"
" 'The app may not function as expected until you remove this plugin from pubspec.yaml'
\n
"
' );
\n
'
' rethrow;
\n
'
' }
\n
'
'
\n
'
' } else if (Platform.isWindows) {
\n
'
...
...
@@ -861,7 +856,6 @@ void main() {
" '`url_launcher_windows` threw an error:
\
$err
. '
\n
"
" 'The app may not function as expected until you remove this plugin from pubspec.yaml'
\n
"
' );
\n
'
' rethrow;
\n
'
' }
\n
'
'
\n
'
' }
\n
'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment