fluttercommunity / fluttercommunity/flutter_webview_plugin

I/ViewRootImpl: jank_removeInvalidNode all the node in jank list is out of time

Open
#494 11 comments 15 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.5k
Forks
938
PR merge metrics
No merged PRs in 30d

Description

## System info

Issue occurs on: iOS / Android / both
Plugin version: xxx
Flutter doctor output:

```
paste it here...
```

## Steps to Reproduce

class WebDetail extends StatelessWidget {
// Instance of WebView plugin
final flutterWebViewPlugin = FlutterWebviewPlugin();
String url, title;

WebDetail({Key key, @required this.title, @required this.url})
: super(key: key);
@protected

@override
Widget build(BuildContext context) {
print("allurl==$url");
return new WebviewScaffold(
url: url,
appBar: new AppBar(
leading: new IconButton(
icon: Icon(Icons.arrow_back),
onPressed: () {
Navigator.maybePop(context);
}),
actions: [
IconButton(
icon: const Icon(Icons.autorenew),
onPressed: () {
flutterWebViewPlugin.reload();
})
],
// ignore: unnecessary_brace_in_string_interps
title: new Text("${title}", style: TextStyle(color: Colors.white))),
withZoom: true,
withLocalStorage: true,
hidden: true,
initialChild: Container(
color: Colors.redAccent,
child: const Center(child: Text('Waiting.....'))),
);
}

1. ...
2. ...
3. ...

## Logs

I/ViewRootImpl: jank_removeInvalidNode all the node in jank list is out of time

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue from the provided WebDetail example on Android and capture the surrounding logs. Then trace how the Flutter WebView plugin handles this scenario; done means identifying whether the jank_removeInvalidNode message is caused by the plugin and documenting or fixing a reproducible plugin problem.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, flutter, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.