Skip to content

Commit ef19773

Browse files
committed
[docs] clarify Android Blockly asset loading semantics
Signed-off-by: Viwat Vchirawongkwin <viwat.v@chula.ac.th>
1 parent e297bb9 commit ef19773

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎app/lib/blocks/blockly_webview.dart‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ const Duration _firstSnapshotTimeout = Duration(seconds: 15);
3131
/// Loads the sealed host through the platform path that can read its relative
3232
/// bundled resources.
3333
///
34-
/// Android's high-target-SDK WebView defaults file access off. Its public
35-
/// [WebViewController.loadFile] adapter enables that setting before loading
36-
/// the exact `/android_asset` document; `loadFlutterAsset` does not. WKWebView
37-
/// continues to resolve the ordinary Flutter asset path directly.
34+
/// Android loads the exact `/android_asset` document through
35+
/// [WebViewController.loadFile]. The adapter requests file access concurrently
36+
/// with navigation; Android asset URLs are exempt from that general filesystem
37+
/// setting. WKWebView resolves the ordinary Flutter asset path directly.
3838
@visibleForTesting
3939
Future<void> loadBlocklyAssetForPlatform({
4040
required TargetPlatform platform,

0 commit comments

Comments
 (0)