Skip to content

Conversation

mahibi
Copy link
Collaborator

@mahibi mahibi commented Sep 24, 2025

WIP

Simplify classes around call architecture e.g. by replacing classic observer patterns with kotlin flows.

... I just wanted to implement #1397 but came to the conclusion that the architecture should be simplified beforehand!

🖼️ Screenshots

🏚️ Before 🏡 After
B A

🚧 TODO

  • double check that no call features are broken ;)

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

was unused..

Signed-off-by: Marcel Hibbe <[email protected]>
Signed-off-by: Marcel Hibbe <[email protected]>
Classes related to calls are build with classic observer patterns. This is quite hard to debug and to keep an overview.

This PR tries to simplify the architecture, e.g. by replacing observer patterns with kotlin flows.

Signed-off-by: Marcel Hibbe <[email protected]>
@mahibi mahibi added this to the 23.0.0 milestone Sep 24, 2025
@mahibi mahibi self-assigned this Sep 24, 2025
@mahibi mahibi added the 2. developing Work in progress label Sep 24, 2025
Copy link
Contributor

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/5402.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

Copy link
Contributor

Codacy

Lint

TypemasterPR
Warnings99100
Errors00

SpotBugs

CategoryBaseNew
Bad practice66
Correctness1111
Dodgy code6262
Internationalization33
Malicious code vulnerability33
Performance44
Security11
Total9090

Lint increased!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant