You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
**Hybrid composition* mode has [performance limitations](https://flutter.dev/docs/development/platform-integration/platform-views#performance) when working on Android versions prior to Android 10 while *Virtual displays* is performant on all supported Android versions
25
+
**Hybrid composition* has built-in keyboard support while *virtual display* has multiple
The mode is currently enabled by default. You should however make sure to set the correct `minSdkVersion` in `android/app/build.gradle`(if it was previously lower than 20):
34
+
The mode is currently enabled by default. You should however make sure to set the correct `minSdkVersion` in `android/app/build.gradle` if it was previously lower than 19:
39
35
40
36
```groovy
41
37
android {
42
38
defaultConfig {
43
-
minSdkVersion 20
39
+
minSdkVersion 19
44
40
}
45
41
}
46
42
```
47
43
44
+
### Using Virtual displays
48
45
49
-
### Using Hybrid Composition
50
-
51
-
1. Set the correct `minSdkVersion` in `android/app/build.gradle` (if it was previously lower than 19):
46
+
1. Set the correct `minSdkVersion` in `android/app/build.gradle` (if it was previously lower than 20):
52
47
53
48
```groovy
54
49
android {
55
50
defaultConfig {
56
-
minSdkVersion 19
51
+
minSdkVersion 20
57
52
}
58
53
}
59
54
```
60
55
61
-
2. Set `WebView.platform = SurfaceAndroidWebView();` in `initState()`.
56
+
2. Set `WebView.platform = AndroidWebView();` in `initState()`.
0 commit comments