Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/goto-bus-stop/playground-flutter-service
https://github.com/goto-bus-stop/playground-flutter-service
Last synced: about 22 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/goto-bus-stop/playground-flutter-service
- Owner: goto-bus-stop
- License: other
- Created: 2018-10-09T16:42:08.000Z (about 6 years ago)
- Default Branch: default
- Last Pushed: 2018-10-09T18:14:29.000Z (about 6 years ago)
- Last Synced: 2024-10-24T16:26:12.014Z (21 days ago)
- Language: Dart
- Size: 106 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# playground_flutter_service
Trying to make a Dart WebSocket run in an Android foreground service.
## Goals
1. Create a Service in a Flutter plugin.
1. Call into Dart from a Service.
1. Create a WebSocket connection in Dart, inside a Service.
1. Use a MethodChannel to display incoming messages in a notification.
1. Keep some state in Dart that is shown when the UI opens.Any of those may be impossible at this stage, I don't know!
It likely involves learning about some Dart VM stuff like isolates, and some Android stuff like…Services, to start with…I'm only interested in doing this for Android right now because I don't own any Apple devices.
## License
[Apache-2.0](./LICENSE.md)