Remove references to deprecated v1 Android embedding
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java
- Domain
- mobile-dev
Research direction
Inspect the Android implementation and search the repository for references to the deprecated v1 Android embedding classes. Compare the findings with Flutter's v2 embedding requirements and verify that the plugin no longer references removed classes while preserving v2 support.
Written by the indexing model from the issue text.
Description
System info
Issue occurs on: Android
Plugin version: 0.4.0
Flutter doctor output: n/a
Remove references to deprecated v1 Android embedding
To ensure this plugin will work with users running the next stable version of Flutter remove references to the v1 embedding.
The v1 embedding was deprecated around 6 and a half years ago. In Flutter 3.22, the Flutter tool dropped support for building v1 apps entirely. Flutter plans to delete version one of it's Android embedding in the next stable release, per https://medium.com/flutter/whats-new-in-flutter-3-22-fbde6c164fe3 (in the "Removal of v1 Android embedding" section).
When that deletion happens, any apps using plugins that still have references to the removed classes will fail to build when updating to the next stable version (probably Flutter 3.26).
As a part of this deprecation, the Flutter Android team is doing community outreach by filing bugs and submitting some pull requests to update plugins to minimize the impact this removal has on the community.
Some example PRs:
- Flutter team maintained plugins: https://github.com/flutter/packages/pull/6494
android_alarm_manager_plushttps://github.com/fluttercommunity/plus_plugins/pull/2864
Consequences:
- This change should have no impact on users of this plugin that are building apps using the v2 embedding (we don't have a percentage to share, but this is the vast majority of users).
- It will remove support for users that are still using the v1 embedding on versions of Flutter older than
3.22.
If this change doesn't land, this plugin will instead be broken for all apps building on the next stable version of Flutter and beyond.
Is there a way to support both v1 and v2 embedding apps in the next stable version of Flutter?
No.
This is the PR where we are removing the deprecated engine classes: https://github.com/flutter/engine/pull/52022
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 936
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from fluttercommunity/flutter_webview_plugin
-
Difficulty 1/5 Under an hour Newbie friendliness 70/100
-
Difficulty 4/5 3-5 days Newbie friendliness 32/100
fluttercommunity/flutter_webview_plugin#973 · 3 comments · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
fluttercommunity/flutter_webview_plugin#972 · 4 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
fluttercommunity/flutter_webview_plugin#971 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
fluttercommunity/flutter_webview_plugin#970 · 1 reaction ·
All issues in fluttercommunity/flutter_webview_plugin
Similar issues
-
[BUG] Re-subscribing the Mono returned by listTools/listResources/listResourceTemplates/listPrompts/listRoots duplicates the resultsPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
modelcontextprotocol/java-sdk#1174 · 1 reaction ·
Maintainers usually reply within 2 days
-
module: core
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
bigbluebutton/bigbluebutton#26028 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
MetricsHub/metricshub-community#1390 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
apache/rocketmq-dashboard#6331 ·
Maintainers usually reply within 5 days
-
status: team-only type: dependency-upgrade
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
spring-projects/spring-boot#52143 · 1 comment ·
Maintainers usually reply within 1 day