-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterplatform-webWeb applications specificallyWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-webOwned by Web platform teamOwned by Web platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-webTriaged by Web platform teamTriaged by Web platform team
Description
flutter/packages/flutter_tools/lib/src/web_template.dart
Lines 72 to 84 in 31209d0
| return <WebTemplateWarning>[ | |
| ..._getWarningsForPattern( | |
| RegExp('(const|var) serviceWorkerVersion = null'), | |
| 'Local variable for "serviceWorkerVersion" is deprecated. Use "{{flutter_service_worker_version}}" template token instead.', | |
| ), | |
| ..._getWarningsForPattern( | |
| "navigator.serviceWorker.register('flutter_service_worker.js')", | |
| 'Manual service worker registration deprecated. Use flutter.js service worker bootstrapping instead.', | |
| ), | |
| ..._getWarningsForPattern( | |
| '_flutter.loader.loadEntrypoint(', | |
| '"FlutterLoader.loadEntrypoint" is deprecated. Use "FlutterLoader.load" instead.', | |
| ), |
We should hold our users' hands more here. Linking to docs for each case seems like a great idea.
one4all-dev, tomgilder, hpelitebook745G2 and felipecastrosales
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterplatform-webWeb applications specificallyWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-webOwned by Web platform teamOwned by Web platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-webTriaged by Web platform teamTriaged by Web platform team