[Request]: Add support for background activity launch
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by locating the android_intent_plus implementation and its Android launch entry point; the issue does not name files or tests. Read the Android 15 background activity launch requirements and the shown ActivityOptions API. Done means AndroidIntent exposes the requested mode and launching works for apps targeting Android 15 or higher.
Written by the indexing model from the issue text.
Description
Plugin
android_intent_plus
Use case
targeting Android 15 or higher will default to no longer implicitly granting background activity launch (BAL) privileges to PendingIntents they create. Explicit opt-in is required
due to this activity launch fails without any error, there should be way to opt in for BAL, native android allows it using:
val options = ActivityOptions.makeBasic()
options.setPendingIntentBackgroundActivityStartMode(
ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOW_ALWAYS
)
context.startActivity(intent, options.toBundle())
Proposal
final AndroidIntent intent = AndroidIntent(
action: '....',
data: '....',
/// Add option to pass
backgroundActivityStartMode: ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOWED
);
await intent.launch();
- Dominant language
- Dart
- Stars
- 1.9k
- Forks
- 1.3k
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 15
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
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/plus_plugins
-
[Bug]: (share_plus) iOS drops the subject when sharing a uriPossibly taken A pull request linked to this issue is open or already merged. Openbug triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
fluttercommunity/plus_plugins#3994 · 1 comment ·
Maintainers usually reply within 1 day
-
[Request]: network_info_plus: use ConnectivityManager for getWifiIP and getWifiGatewayIP from Android 7 (N), so ethernet works below Android 12Possibly taken @redge-munch claimed this today. Openenhancement triage
fluttercommunity/plus_plugins#3998 ·
Maintainers usually reply within 1 day
-
[package_info_plus]: Use Flutter's compile-time build name/number on web instead of version.jsonPossibly taken @Ortes claimed this 7 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
fluttercommunity/plus_plugins#3989 ·
Maintainers usually reply within 1 day
-
enhancement triage
Difficulty 4/5 3-5 days Newbie friendliness 55/100
fluttercommunity/plus_plugins#3976 · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
fluttercommunity/plus_plugins#3974 · 1 reaction ·
Maintainers usually reply within 1 day
All issues in fluttercommunity/plus_plugins
Similar issues
-
Android build configOpen
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
mill-road-winter-fair/mill_road_winter_fair_app#549 · 1 comment ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
linagora/twake-on-matrix#3446 ·
Maintainers usually reply within 3 days
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 86/100
Predidit/Kazumi#2623 · 2 comments ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
bggRGjQaUbCoE/PiliPlus#3200 ·
Maintainers usually reply within 1 day
-
p: pigeon team-ecosystem
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day