-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#33599Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: platform-viewsEmbedding Android/iOS views in Flutter appsEmbedding Android/iOS views in Flutter appsc: API breakBackwards-incompatible API changesBackwards-incompatible API changesc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.platform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionwaiting for PR to land (fixed)A fix is in flightA fix is in flight
Description
Steps to Reproduce
After I upgraded Flutter sdk from 2.10 to 3.0 I started getting logs like this in runtime:
Platform views cannot be displayed below API level 23. You can prevent this issue by setting 'minSdkVersion: 23' in build.gradle.
AndroidView had previously min api level 20, but was changed to 23 in this PR.
Can you please provide a way to use platform views without forcing min api level 23+?
Expected results:
Min supported api level should not be incremented without any warnings in release notes.
Actual results:
I didn't find any mentions of it in release notes. Nor how to handle it besides incrementing min api level.
It's a major breaking change and in our case we need to use platform views but have to stay with min api 21.
ollym, jakubkarlicek, Stefkovic, dominikchrastek, javiergomezacebo and 8 more
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: platform-viewsEmbedding Android/iOS views in Flutter appsEmbedding Android/iOS views in Flutter appsc: API breakBackwards-incompatible API changesBackwards-incompatible API changesc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.platform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionwaiting for PR to land (fixed)A fix is in flightA fix is in flight