Missing attribute support for `<property>` manifest items.
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
調査の方向性
The payload names no files or classes. Start by finding how the existing Application-level <property> support generates manifest entries, then how the Activity attribute creates <activity> nodes and where the merge duplicates them. Reproduce with the steps in the issue. Done means a C#-side way to declare a property on an activity produces one merged <activity> entry, and a maintainer agrees on the attribute API first.
索引モデルが issue の本文から書いたものです。
説明
Android framework version
net11.0-android (Preview)
Affected platform version
Net 10, 11
Description
Activity and Application supports many attributes that generates manifest items, like [Activity], [IntentFilter] etc. Android introduced a new manifest item for activities and application, https://developer.android.com/guide/topics/manifest/property-element a few versions back. Currently, it's only possible to set elements in nodes in manifest and not for nodes. The merging tool duplicates activity entries if you attempt to set it in the manifest file, and no attribute exists that allow the generator to create those entries for
A use case for this is support multi instance mode in the system ui, as explained here https://developer.android.com/develop/adaptive-apps/guides/support-desktop-windowing#multitasking_and_multi-instance https://developer.android.com/develop/ui/views/layout/support-multi-window-mode#multi-instance . Setting it in application scope will affect all activities, including those the user will not want to be created multiple times. Setting it in activity scope is currently not supported, thus this issue is created.
Steps to Reproduce
- Create a new Android application.
- Try adding an activity element in the manifest with the same name as the c# activity.
- Add a property element, like https://developer.android.com/develop/ui/views/layout/support-multi-window-mode#multi-instance .
- When build is complete, the generated manifest has 2 entries with the same activity name.
Did you find any workaround?
No response
Relevant log output
- 主要言語
- C#
- スター
- 2.1k
- フォーク
- 579
- 平均マージ
- 1日 17時間
- マージ済み PR(30日)
- 249
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dotnet/android のほかの issue
-
Area: App+Library Build
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Area: Mono.Android
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
dotnet/android#9192 · コメント 4 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
agentic-workflows needs-triage
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
メンテナーはふだん 1 日以内に返信
-
Automatically include NativeAOT debug symbols in Android App Bundles for Google Play対応中かも @simonrozsival が 1 日前に担当しました。 オープンArea: App+Library Build needs-triage
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
メンテナーはふだん 1 日以内に返信
-
.NET11 RC2 AndroidTypeMapImplementation trimmable doesn't generate java callable wrappers for classes marked with Register attribute対応中かも @simonrozsival が 1 日前に担当しました。 オープンneeds-triage
難易度 4/5 3〜5日 初心者へのやさしさ 46/100
dotnet/android#13205 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
KnifeLemon/Filee#363 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
area-Native untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
dotnet/machinelearning#7837 ·
メンテナーはふだん 2 日以内に返信
-
[CI] .trgen-ignore required for several grammars.対応中かも @kaby76 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
antlr/grammars-v4#5073 ·
メンテナーはふだん 1 日以内に返信
-
[Enhancement]: Add a search box to the Time Zone dropdown対応中かも @idumlupinar が今日担当しました。 オープンStatus: New
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
dnnsoftware/Dnn.Platform#7579 ·
メンテナーはふだん 2 日以内に返信