Skip to content

Commit a81ed0a

Browse files
authored
Use case integ (#20)
* [WIP] Run melos test successfully * [CI] Change deps and cwd * [TEST] test libs [TEST] test serde [TEST] test mocked com socket client [TEST] lib init in flutter * [FEAT] Use name property [FIX] Remove `ConfirmButton` binder public kindness * [FEAT] Use fvm * [WIP] Move to fvm - [BUILD] Dart 3.3.0 - [FIX] FRB fix 2.0.0-dev.27 * [BUILD] Success Dart bind * [BUILD] Update deps * [FEAT] Add request method * [BUILD] Build Android binary ! [REFACT] Separate client and server code [REFACT] Duplicate and edit on the fly base code to client module * [FIX] Build for linux with new architecture * [BUILD] Update version to 0.1.2 - Prepare packages for publish * [BUILD] Version 0.1.2
1 parent e03ea4d commit a81ed0a

178 files changed

Lines changed: 15029 additions & 3644 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.fvm/flutter_sdk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/home/matt/fvm/versions/stable

.fvm/fvm_config.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"flutterSdkVersion": "stable"
3+
}

.fvm/release

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
stable

.fvm/version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.19.2

.fvm/versions/stable

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/home/matt/fvm/versions/stable

.fvmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"flutter": "stable"
3+
}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,6 @@ build/
9595
/platform-build
9696
EOF
9797
.dart_tool
98+
99+
# FVM Version Cache
100+
.fvm/

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,8 @@
1010
## 0.1.1+2
1111

1212
- Success CI/CD
13+
14+
## 0.1.2
15+
16+
- Add Widgets to registry
17+
- Fix publishing issues

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[workspace]
2-
members = ["packages/codde_protocol/native", "packages/codde_protocol/native/codde_protocol_derive"]
3-
resolver = "2"
2+
# members = ["packages/codde_protocol/native", "packages/codde_protocol/native/codde_protocol_derive"]
3+
# resolver = "2"

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ With one code structure and a dozen of lines, you can receive data from socket,
2020

2121
```python
2222

23-
import codde_pi_protocol as cp
23+
import codde_protocol
2424
import time
2525

26-
server = cp.CoddePiServer.use_socket('localhost:12345')
26+
server = CoddePiServer.use_socket('localhost:12345')
2727

2828
def action(*args):
29-
widget: cp.ToggleButton = args[0]
29+
widget: ToggleButton = args[0]
3030
print("value received : ", widget.value)
31-
server.callback(1, cp.ServerStatus.Idle, cp.ConfirmResult(True))
31+
server.callback(1, ServerStatus.Idle, ConfirmResult(True))
3232

3333
if __name__ == "__main__":
3434
print('open server...')
@@ -45,7 +45,7 @@ if __name__ == "__main__":
4545

4646
Protocols:
4747

48-
- [x] Socket
48+
- [x] WebSocket
4949
- [ ] Bluetooth
5050
- [ ] UART
5151
- [ ] HTTP

0 commit comments

Comments
 (0)