[Bug]: build warning on Android for flatDir
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- android
- Domain
- build-system, mobile
Research direction
Start by examining the two flatDir occurrences identified in the linked Capacitor repository code search, along with their surrounding Android build configuration. Verify the appropriate fileTree replacement and check that a new Capacitor project builds without the flatDir warning.
Written by the indexing model from the issue text.
Description
Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 8.5.0
@capacitor/core: 8.5.0
@capacitor/android: 8.5.0
@capacitor/ios: 8.5.0
Installed Dependencies:
@capacitor/core: 8.5.0
@capacitor/cli: 8.5.0
@capacitor/android: 8.5.0
@capacitor/ios: 8.5.0
[success] iOS looking great! 👌
[success] Android looking great! 👌
Other API Details
npm: 11.13.0
node: v24.16.0
pod: 1.16.2
Platforms Affected
- iOS
- Android
- Web
Current Behavior
There's a warning about flatDir which I think can be easily solved.
Expected Behavior
No warning in the build
Project Reproduction
Any new capacitor project
Additional Information
You can find the two offending ones here:
https://github.com/search?q=repo%3Aionic-team%2Fcapacitor+flatdir&type=code)
They should be replaced with fileTree as far as I understand.
- Dominant language
- TypeScript
- Stars
- 16.7k
- Forks
- 1.3k
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 10
Contributor 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 ionic-team/capacitor
-
triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ionic-team/capacitor#8616 ·
-
triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ionic-team/capacitor#8601 ·
-
SystemBars: safe area CSS injection throws "Cannot read properties of null" on startup (Android 16) Opentriage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ionic-team/capacitor#8530 · 2 comments ·
-
triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ionic-team/capacitor#8529 ·
-
needs reproduction
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ionic-team/capacitor#8472 · 2 comments · 1 reaction ·
All issues in ionic-team/capacitor
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fullcalendar/fullcalendar#8106 ·