Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter migration: roc-droid integration #98

Open
5 of 7 tasks
Tracked by #94
Izchomatik opened this issue Jul 4, 2024 · 0 comments · May be fixed by #123
Open
5 of 7 tasks
Tracked by #94

Flutter migration: roc-droid integration #98

Izchomatik opened this issue Jul 4, 2024 · 0 comments · May be fixed by #123
Assignees
Labels
flutter migration work in progress Pull request is still in progress and changing

Comments

@Izchomatik
Copy link

Izchomatik commented Jul 4, 2024

roc-droid Flutter migration child issue.

Add GUI model connection to backend services.

  • Move required android services to android/.../service - ?
  • Add Connector (android/.../connector)
  • Add Agent (lib/src/agent)
  • Add Platform Channels
  • Check functionality
  • Add unit tests - ?
  • Add documentation
@Izchomatik Izchomatik mentioned this issue Jul 4, 2024
11 tasks
@Izchomatik Izchomatik self-assigned this Aug 8, 2024
@Izchomatik Izchomatik added the work in progress Pull request is still in progress and changing label Aug 8, 2024
@gavv gavv self-assigned this Oct 5, 2024
gavv pushed a commit to Izchomatik/roc-droid that referenced this issue Oct 5, 2024
gavv added a commit to Izchomatik/roc-droid that referenced this issue Oct 5, 2024
gavv pushed a commit to Izchomatik/roc-droid that referenced this issue Oct 5, 2024
gavv added a commit to Izchomatik/roc-droid that referenced this issue Oct 5, 2024
Also fixes: roc-streaming#1, roc-streaming#16, roc-streaming#17, roc-streaming#66

- Initiate request for notification and microphone permissions
  and media projection on the dart side of AndroidBackend.

- Implement those requests in MainActivity.kt and rework
  AndroidConnector to redirect those requests to activity.

- Automatically stop media projection when both sender and receiver
  are stopped. Prevent service from stopping projection while we
  are starting sender and receiver.

- Implement synchronization and fix various races.

- Use foreground service instead of bound service, to keep it
  running when app closes.

- Forbid swiping away notification on lock screen.
  (We can forbid it only for lock screen).

- Stop sender and receiver when notification is swiped away.

- Add AndroidListener, to pass events from kotlin to dart.
  Implement in in AndroidBackend on dart side.

- Add AndroidSenderSettings, AndroidReceiverSettings, and pass them
  from model to kotlin.

- Hard-code ports in model instead of kotlin.

- Implement Backend.getLocalAddresses().

- Improve comments.

- Refactor android service code.

- Remove unused values from strings.xml.
gavv added a commit to Izchomatik/roc-droid that referenced this issue Oct 5, 2024
- Merge all kotlin files into on package

- Merge kotlin and java directories

- SenderReceiverService => StreamingService

- android_connector => android_bridge
  (because it now defines AndroidConnector + AndroidListener)

- android_bridge.dart => android_bridge.decl.dart
  (this file is never imported directly)
gavv added a commit to Izchomatik/roc-droid that referenced this issue Oct 5, 2024
Also fixes: roc-streaming#1, roc-streaming#16, roc-streaming#17, roc-streaming#66

- Initiate request for notification and microphone permissions
  and media projection on the dart side of AndroidBackend.

- Implement those requests in MainActivity.kt and rework
  AndroidConnector to redirect those requests to activity.

- Automatically stop media projection when both sender and receiver
  are stopped. Prevent service from stopping projection while we
  are starting sender and receiver.

- Implement synchronization and fix various races.

- Use foreground service instead of bound service, to keep it
  running when app closes.

- Forbid swiping away notification on lock screen.
  (We can forbid it only for lock screen).

- Stop sender and receiver when notification is swiped away.

- Add AndroidListener, to pass events from kotlin to dart.
  Implement in in AndroidBackend on dart side.

- Add AndroidSenderSettings, AndroidReceiverSettings, and pass them
  from model to kotlin.

- Hard-code ports in model instead of kotlin.

- Implement Backend.getLocalAddresses().

- Improve comments.

- Refactor android service code.

- Remove unused values from strings.xml.
gavv added a commit to Izchomatik/roc-droid that referenced this issue Oct 5, 2024
- Merge all kotlin files into on package

- Merge kotlin and java directories

- SenderReceiverService => StreamingService

- android_connector => android_bridge
  (because it now defines AndroidConnector + AndroidListener)

- android_bridge.dart => android_bridge.decl.dart
  (this file is never imported directly)

- screenshot => docs/screenshot/

- tag.py => script/make_tag.py
gavv added a commit that referenced this issue Oct 5, 2024
Also fixes: #1, #16, #17, #66

- Initiate request for notification and microphone permissions
  and media projection on the dart side of AndroidBackend.

- Implement those requests in MainActivity.kt and rework
  AndroidConnector to redirect those requests to activity.

- Automatically stop media projection when both sender and receiver
  are stopped. Prevent service from stopping projection while we
  are starting sender and receiver.

- Implement synchronization and fix various races.

- Use foreground service instead of bound service, to keep it
  running when app closes.

- Forbid swiping away notification on lock screen.
  (We can forbid it only for lock screen).

- Stop sender and receiver when notification is swiped away.

- Add AndroidListener, to pass events from kotlin to dart.
  Implement in in AndroidBackend on dart side.

- Add AndroidSenderSettings, AndroidReceiverSettings, and pass them
  from model to kotlin.

- Hard-code ports in model instead of kotlin.

- Implement Backend.getLocalAddresses().

- Improve comments.

- Refactor android service code.

- Remove unused values from strings.xml.
gavv added a commit that referenced this issue Oct 5, 2024
- Merge all kotlin files into on package

- Merge kotlin and java directories

- SenderReceiverService => StreamingService

- android_connector => android_bridge
  (because it now defines AndroidConnector + AndroidListener)

- android_bridge.dart => android_bridge.decl.dart
  (this file is never imported directly)

- screenshot => docs/screenshot/

- tag.py => script/make_tag.py
@Izchomatik Izchomatik linked a pull request Oct 25, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flutter migration work in progress Pull request is still in progress and changing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants