-
Notifications
You must be signed in to change notification settings - Fork 29.5k
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: assetsPackaging, accessing, or using assetsPackaging, accessing, or using assetsc: regressionIt was better in the past than it is nowIt was better in the past than it is nowd: stackoverflowGood question for Stack OverflowGood question for Stack Overflowengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team
Description
Is there an existing issue for this?
- I have searched the existing issues
- I have read the guide to filing a bug
Steps to reproduce
- run flutter build web.
- copy build/web dir to android phone.
- use a webview load web/index.html
Expected results
show the main.dart screen.
Actual results
inspect the device, found error "Fetch API cannot load file:///xxx/assets/FontManifest.json. URL scheme “file” is not supported"
& blank screen.
build web under flutter 3.7.0 everything is ok.
flutter 3.10.x error & not work.
Code sample
Code sample
[Paste your code here]Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]Flutter Doctor output
Doctor output
[Paste your output here]Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: assetsPackaging, accessing, or using assetsPackaging, accessing, or using assetsc: regressionIt was better in the past than it is nowIt was better in the past than it is nowd: stackoverflowGood question for Stack OverflowGood question for Stack Overflowengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team