Skip to content

PlatformViewsController Trying to use platform views with API 19, required API level is: 20.Can you lower the api level? #23728

@hschenzhimin

Description

@hschenzhimin

I want to play video with surfaceview on Android 4.4.
I found that PlatformView cannot be used on 4.4, and it is OK above 5.0.

Can you lower this criterion?

public void onMethodCall(MethodCall call, Result result) {
        if (VERSION.SDK_INT < 20) {
            Log.e("PlatformViewsController", "Trying to use platform views with API " + VERSION.SDK_INT + ", required API level is: " + 20);
        } else {
        .....
        }

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: platform-viewsEmbedding Android/iOS views in Flutter appscustomer: crowdAffects or could affect many people, though not necessarily a specific customer.engineflutter/engine related. See also e: labels.platform-androidAndroid applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions